TinyURDF 1.0.0
Loading...
Searching...
No Matches
world.h
Go to the documentation of this file.
1#ifndef INCLUDE_TINYURDF_CORE_WORLD_H_
2#define INCLUDE_TINYURDF_CORE_WORLD_H_
3
4// Copyright 2025 Wissem CHIHA
5
6#include <vector>
7#include <loguru/loguru.hpp>
8#include "core/model.h"
10#include "core/pose.h"
11
15template<typename... PropertyBase>
16class Entity : public ObjectBase
17{
18public:
19 void clear();
20private:
21 std::shared_ptr<Model> model;
22 Pose origin;
23};
24
28template<typename... PropertyBase>
29class World : public ObjectBase{
30public:
31 World();
32 void clear();
33private:
34 std::shared_ptr<std::string> name = nullptr;
35 std::vector<Entity<PropertyBase...>> models;
36};
37#endif // INCLUDE_TINYURDF_CORE_WORLD_H_
Base class for all subObjects in a world.
Definition world.h:17
void clear()
Definition object_base.h:8
Represents a pose, consisting of position and rotation.
Definition pose.h:12
Definition property_base.h:8
Base class for models enviroment defintions.
Definition world.h:29
World()
Definition world.cc:4
void clear()
Definition world.cc:10