18 SafetyZone(std::unique_ptr<Prism> &&outer_border);
21 SafetyZone(std::unique_ptr<Prism> &&outer_border, std::vector<std::unique_ptr<Prism>> &&obstacles);
26 void enableSafetyZone(
const bool enable);
28 bool safetyZoneEnabled(
void);
31 bool isPointValid(
const Point3d &point);
34 bool isPointValid(
const double px,
const double py,
const double pz);
38 bool isPointValid(
const Point2d &point);
41 bool isPointValid(
const double px,
const double py);
46 bool isPathValid(
const Point3d &start,
const Point3d &end);
50 bool isPathValid(
const Point2d &start,
const Point2d &end);
52 Prism getBorder()
const;
54 const std::map<int, std::unique_ptr<Prism>> &getObstacles()
const;
56 Prism getObstacle(
const int index)
const;
58 int addObstacle(std::unique_ptr<Prism> obstacle);
60 void deleteObstacle(
const int id);
66 std::unique_ptr<Prism> outer_border_;
67 std::map<int, std::unique_ptr<Prism>> obstacles_;
68 mutable std::mutex mutex_safety_zone_;
69 int next_obstacle_id_ = 0;
70 bool safety_zone_enabled_ =
false;
73 int _discretization_steps_ = 20;
All mrs_lib functions, classes, variables and definitions are contained in this namespace.
Definition attitude_converter.h:24