 |
Multi-robot Playground
|
Go to the documentation of this file.
54 #include "std_msgs/Bool.h"
55 #include "std_msgs/String.h"
56 #include "std_msgs/Float32.h"
57 #include "nav_msgs/Path.h"
58 #include "nav_msgs/OccupancyGrid.h"
59 #include "visualization_msgs/Marker.h"
60 #include "geometry_msgs/PoseStamped.h"
61 #include "multirobotsimulations/CustomPose.h"
80 void CreateMarker(visualization_msgs::Marker& input,
const char* ns,
const int&
id,
const int& seq);
82 nav_msgs::OccupancyGrid& cspace,
86 std::list<Vec2i>& outpath);
89 void PoseCallback(multirobotsimulations::CustomPose::ConstPtr msg);
int aDeltaTimeSec
Definition: IntegratedGlobalPlannerNode.h:101
int aId
Definition: IntegratedGlobalPlannerNode.h:99
tf::Vector3 aWorldPos
Definition: IntegratedGlobalPlannerNode.h:144
bool aHasAverageVelocity
Definition: IntegratedGlobalPlannerNode.h:104
SubGoalState aCurrentState
Definition: IntegratedGlobalPlannerNode.h:147
@ state_idle
Definition: IntegratedGlobalPlannerNode.h:70
std::vector< ros::Subscriber > aSubscribers
Definition: IntegratedGlobalPlannerNode.h:121
visualization_msgs::Marker aPathMarkerMsg
Definition: IntegratedGlobalPlannerNode.h:135
nav_msgs::Path aPathMsg
Definition: IntegratedGlobalPlannerNode.h:133
ros::Time last_time
Definition: IntegratedGlobalPlannerNode.h:141
~IntegratedGlobalPlannerNode()
Definition: IntegratedGlobalPlannerNode.h:74
std::list< Vec2i > aWaypoints
Definition: IntegratedGlobalPlannerNode.h:142
void GoalCallback(geometry_msgs::Pose::ConstPtr msg)
ros::Publisher aCurrentPathPublisher
Definition: IntegratedGlobalPlannerNode.h:128
SubGoalState
Definition: IntegratedGlobalPlannerNode.h:69
void CreateMarker(visualization_msgs::Marker &input, const char *ns, const int &id, const int &seq)
ros::Publisher aPathMarkerPublisher
Definition: IntegratedGlobalPlannerNode.h:126
void StopCallBack(std_msgs::String::ConstPtr msg)
void CSpaceCallback(nav_msgs::OccupancyGrid::ConstPtr msg)
IntegratedGlobalPlannerNode()
double aDistance
Definition: IntegratedGlobalPlannerNode.h:106
double aStuckTime
Definition: IntegratedGlobalPlannerNode.h:109
void PoseCallback(multirobotsimulations::CustomPose::ConstPtr msg)
void AverageVelocityCallback(std_msgs::Float32::ConstPtr msg)
bool aHasOcc
Definition: IntegratedGlobalPlannerNode.h:103
tf::Vector3 aCurrentGoal
Definition: IntegratedGlobalPlannerNode.h:145
tf::Vector3 aLastPos
Definition: IntegratedGlobalPlannerNode.h:143
std_msgs::String aStrMsg
Definition: IntegratedGlobalPlannerNode.h:134
double aRate
Definition: IntegratedGlobalPlannerNode.h:105
nav_msgs::OccupancyGrid aCspace
Definition: IntegratedGlobalPlannerNode.h:136
int aQueueSize
Definition: IntegratedGlobalPlannerNode.h:98
bool aHasPose
Definition: IntegratedGlobalPlannerNode.h:102
std::string aNamespace
Definition: IntegratedGlobalPlannerNode.h:111
double aAverageVelocity
Definition: IntegratedGlobalPlannerNode.h:110
Vec2i aOccPos
Definition: IntegratedGlobalPlannerNode.h:146
void ChangeState(const SubGoalState &newState)
double aStuckTimeThreshold
Definition: IntegratedGlobalPlannerNode.h:108
@ state_executing_path
Definition: IntegratedGlobalPlannerNode.h:71
ros::Publisher aFinishEventPublisher
Definition: IntegratedGlobalPlannerNode.h:127
std::vector< ros::Timer > aTimers
Definition: IntegratedGlobalPlannerNode.h:116
int aSeq
Definition: IntegratedGlobalPlannerNode.h:100
double aSubGoalReachThreshold
Definition: IntegratedGlobalPlannerNode.h:107
void DepthFirstSearchFreePath(nav_msgs::OccupancyGrid &cspace, Vec2i &occpos, Vec2i &source, Vec2i &closest, std::list< Vec2i > &outpath)