Skip to content

recordreplay_planner_node: add arg to enable_ostacle_detection

Description

Add option flag to enable obstacle detection for recordreplay_planner.

The default is set to false to avoid issue #546 (closed).

Notes for Reviewer

how to test

You can test with the way described here, or test with the following to check the recordreplay_planner works.

# run LGSVL
RMW_IMPLEMENTATION=rmw_cyclonedds_cpp /opt/lgsvl/simulator

# launch test
ros2 launch test_trajectory_following trajectory_recording.launch.py


# record path
ros2 action send_goal /planning/recordtrajectory recordreplay_planner_actions/action/RecordTrajectory "{record_path: "/tmp/path"}" --feedback

# In LGSVL, move the vehicle around, then stop the record. back to the initial position (F12), then replay path.

# replay path
ros2 action send_goal /planning/replaytrajectory recordreplay_planner_actions/action/ReplayTrajectory "{replay_path: "/tmp/path"}" --feedback

Merge request reports