Description of contribution in a few bullet points
Added a new slam_toolbox::Reset Service.
Upon calling of said service, the current map will be "cleaned" and reset back to the initial state.
A new clean map can then be generated from there.
slam_toolbox::Reset request also contains a boolean pause_new_measurements that if set to true, subsequent new scans will be ignored until a slam_toolbox::Pause is called to resume.
Tested with nodes: async_slam_toolbox_node, sync_slam_toolbox_node, localization_slam_toolbox_node
Description of documentation updates required from your changes
Added a new service with the default Service name: /slam_toolbox/reset and message type: slam_toolbox::Reset
Proposed API description: Reset current map back to the initial state
Future work that may be required in bullet points
Considerations for experimental nodes: map_and_localization_slam_toolbox_node, lifelong_slam_toolbox_node
Basic Info
Description of contribution in a few bullet points
slam_toolbox::Reset
Service.slam_toolbox::Reset
request also contains a booleanpause_new_measurements
that if set totrue
, subsequent new scans will be ignored until aslam_toolbox::Pause
is called to resume.async_slam_toolbox_node
,sync_slam_toolbox_node
,localization_slam_toolbox_node
Description of documentation updates required from your changes
/slam_toolbox/reset
and message type:slam_toolbox::Reset
Reset current map back to the initial state
Future work that may be required in bullet points
map_and_localization_slam_toolbox_node
,lifelong_slam_toolbox_node