ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Your first line (the one that works) is valid yaml. The second one isn't (I believe you can't put the value for a key on a different line).
Unfortunately I don't believe you can influence this. There is a way to configure PyYaml such that it uses the condensed version for lists, but I'm not sure that is being used in rostopic
/ the script that generates the auto-complete suggestions.
2 | No.2 Revision |
Your first line (the one that works) is valid yaml. The second one isn't (I believe you can't put the value for a key on a different line).
Unfortunately I don't believe you can influence this. There is a way to configure PyYaml such that it uses the condensed version for lists, but I'm not sure that is being used in rostopic
/ the script that generates the auto-complete suggestions.
Edit: note also that geometry_msgs/Twist
contains dictionaries, not plain arrays or lists. That is why you see the key-value
pairs in the auto-complete suggestion.