Add start position to motion planning
This commit is contained in:
@@ -53,6 +53,7 @@ public:
|
|||||||
|
|
||||||
std::vector<geometry_msgs::msg::Pose> waypoints;
|
std::vector<geometry_msgs::msg::Pose> waypoints;
|
||||||
|
|
||||||
|
waypoints.push_back(move_group.getCurrentPose().pose);
|
||||||
for (auto p : goal->motion.path)
|
for (auto p : goal->motion.path)
|
||||||
waypoints.push_back(p.pose);
|
waypoints.push_back(p.pose);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user