46 #ifndef WORLD_MODIFIER_H 47 #define WORLD_MODIFIER_H 49 #include <Box2D/Box2D.h> 50 #include <flatland_server/types.h> 51 #include <flatland_server/world.h> 52 #include <flatland_server/yaml_reader.h> 54 #include <yaml-cpp/yaml.h> 70 LaserRead(std::string name, b2Vec2 location,
double range,
double min_angle,
71 double max_angle,
double increment)
75 min_angle_(min_angle),
76 max_angle_(max_angle),
77 increment_(increment) {}
83 uint16_t category_bits_;
85 : is_hit_(
false), category_bits_(category_bits) {}
86 float ReportFixture(b2Fixture *fixture,
const b2Vec2 &point,
87 const b2Vec2 &normal,
float fraction)
override;
93 std::string layer_name_;
94 double wall_wall_dist_;
107 void CalculateNewWall(
double d, b2Vec2 vertex1, b2Vec2 vertex2,
108 b2EdgeShape &new_wall);
114 void AddWall(b2EdgeShape &new_wall);
121 void AddSideWall(b2EdgeShape &old_wall, b2EdgeShape &new_wall);
132 double wall_wall_dist,
bool double_wall,
Pose robot_ini_pose);
140 void AddFullWall(b2EdgeShape *wall);
144 #endif // WORLD_MODIFIER_H Definition: world_modifier.h:80
Definition: dummy_model_plugin.h:59
Definition: world_modifier.h:90
Definition: world_modifier.h:63