KrisLibrary  1.0.0
RigidRobot2DCSpace.h
1 #ifndef RIGID_ROBOT_2D_CSPACE_H
2 #define RIGID_ROBOT_2D_CSPACE_H
3 
4 #include "Geometric2DCSpace.h"
5 #include "RigidBodyCSpace.h"
6 
10 {
11 public:
13  RigidRobot2DCSpace(const AABB2D& domain);
14  void InitConstraints();
15  void DrawWorkspaceGL() const;
16  void DrawRobotGL(const Config& q) const;
17  void DrawGL(const Config& q) const;
18 
19  virtual EdgePlannerPtr PathChecker(const Config& a,const Config& b);
20  virtual EdgePlannerPtr PathChecker(const Config& a,const Config& b,int obstacle);
21  virtual void Properties(PropertyMap&);
22 
23  Real visibilityEpsilon;
24  Geometric2DCollection obstacles;
26  AABB2D domain;
27 };
28 
29 #endif
Definition: Geometric2DCSpace.h:10
Vector Config
an alias for Vector
Definition: RobotKinematics3D.h:14
a translating and rotating 2D robot in a 2D workspace.
Definition: RigidRobot2DCSpace.h:9
The space of rigid body transforms SE(2). Still need to implement IsFeasible, PathChecker.
Definition: RigidBodyCSpace.h:58
A 2D axis-aligned bounding box.
Definition: AABB2D.h:13
A simple map from keys to values.
Definition: PropertyMap.h:27
virtual void Properties(PropertyMap &)
Returns properties of the space that might be useful for planners.
Definition: RigidRobot2DCSpace.cpp:84