Skip to content

Stop timer before publisher to stop InvalidHandle error.

Cameron Matthew requested to merge fix-rclpy-topic-error into master

Closes #71 (closed). The timer associated with the node must be stopped before destroying the publisher. It is also better practice to destroy a publisher via the destroy_publisher method in the node rather than publisher.destroy().

Edited by Angus Stewart

Merge request reports