You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set-up a topic command that publishes a std_msgs/msg/Empty message. Here's the relevant snippet (under ros__parameters):
dock:
type: topic
interface_type: std_msgs/msg/Empty
topic_name: dock
deadman_buttons: [3] # X button
message_value: {}
The issue I'm having is that the empty mapping under message_value gets transformed into None when ROS loads the values from the YAML configuration file. Would there be another way of letting joy_teleop know that no fields have to be set for the message it will publish?
For the time being, I've modified my local repository to ignore the message_value field if it is None. I could send that as a PR, but I also wonder is this isn't something that should be fixed "upstream" (rclpy?) so that users can, in general, use empty dictionaries.
The text was updated successfully, but these errors were encountered:
I'm trying to set-up a topic command that publishes a
std_msgs/msg/Empty
message. Here's the relevant snippet (underros__parameters
):The issue I'm having is that the empty mapping under
message_value
gets transformed intoNone
when ROS loads the values from the YAML configuration file. Would there be another way of letting joy_teleop know that no fields have to be set for the message it will publish?For the time being, I've modified my local repository to ignore the message_value field if it is
None
. I could send that as a PR, but I also wonder is this isn't something that should be fixed "upstream" (rclpy?) so that users can, in general, use empty dictionaries.The text was updated successfully, but these errors were encountered: