Skip to content

Commit 4be7037

Browse files
authored
feat(mission_planner): inherit allow_goal_modification (#3396)
* feat(mission_planner): inherit allow_goal_modification Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * support set_route Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
1 parent db7b5dd commit 4be7037

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

planning/mission_planner/src/mission_planner/mission_planner.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ void MissionPlanner::on_set_route(
189189
route.header.stamp = req->header.stamp;
190190
route.header.frame_id = map_frame_;
191191
route.uuid.uuid = generate_random_id();
192+
route.allow_modification = req->option.allow_goal_modification;
192193

193194
// Update route.
194195
change_route(route);
@@ -239,6 +240,7 @@ void MissionPlanner::on_set_route_points(
239240
route.header.stamp = req->header.stamp;
240241
route.header.frame_id = map_frame_;
241242
route.uuid.uuid = generate_random_id();
243+
route.allow_modification = req->option.allow_goal_modification;
242244

243245
// Update route.
244246
change_route(route);

0 commit comments

Comments
 (0)