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
Some message types are not discovered when published using the Bazel build. This is not particular to Python, but also occurs for the C++ examples (so it does not appear to be a binding issue).
How to replicate
From terminal 1 run the C++ rover_publisher:
$ ./bazel-bin/python_ignition/rover_publisher
Publishing pose on topic [/pose], twist on topic [/twist]
Publishing pose on topic [/pose], twist on topic [/twist]
...
From terminal 2 run the C++ ign_topic_echo subscribing to /pose:
Some message types are not discovered when published using the Bazel build. This is not particular to Python, but also occurs for the C++ examples (so it does not appear to be a binding issue).
How to replicate
From terminal 1 run the C++
rover_publisher
:From terminal 2 run the C++
ign_topic_echo
subscribing to/pose
:$ /bazel-bin/python_ignition/ign_topic_echo -t /pose header { stamp { sec: 4 nsec: 513947250 } } name: "base_link" id: 9 position { x: 4.6053049700144255 y: 1.9470917115432527 } orientation { z: 0.19866933079506122 w: 0.98006657784124163 } ...
From terminal 2 run the C++
ign_topic_echo
subscribing to/twist
:In the second case no messages are displayed for the type
ignition.msgs.Twist
Using the Python tools we can verify that both messages are published:
The issue is apparent with other messages types as can be seen by using the multi-message publisher:
From terminal 1:
From terminal 2:
and then checking each topic in turn:
# working $ ./bazel-bin/python_ignition/ign_topic_echo -t /double header { stamp { sec: 15 nsec: 21 } } data: 10 ...
# not working $ ./bazel-bin/python_ignition/ign_topic_echo -t /double_v
The issue does not occur when running the examples built using the CMake build.
The text was updated successfully, but these errors were encountered: