Add useful debug info when trying to publish the wrong type (#581)
Add useful debug info when trying to publish the wrong type (#581)

* Add useful debug info when publishing a wrong type

Signed-off-by: Loy van Beek <31473628f8af3f531989374e6006d097cea995a3@gmail.com>
ros2/rclpy,ros2/rclpy