Closed ssr-yuki closed 3 years ago
closes #35 . This PR adds a motor stop operation when ROS node dies or is killed.
Since both VescDriver and VescHwInterface send commands via VescInterface, its destructor is suit stopping a motor.
:heavy_check_mark: I have verified that a motor stops immediately after I enter Ctrl+C to kill vesc_hw_interface_node.
vesc_hw_interface_node
None.
Change Summary
closes #35 . This PR adds a motor stop operation when ROS node dies or is killed.
Details
Since both VescDriver and VescHwInterface send commands via VescInterface, its destructor is suit stopping a motor.
:heavy_check_mark: I have verified that a motor stops immediately after I enter Ctrl+C to kill
vesc_hw_interface_node
.Impacts
None.