gazebosim / gz-transport

Transport library for component communication based on publication/subscription and service calls.
https://gazebosim.org
Apache License 2.0
29 stars 36 forks source link

`gz topic -p` publishes an empty message even when the input message to publish is invalid #442

Closed azeey closed 10 months ago

azeey commented 10 months ago

Environment

Description

Steps to reproduce

  1. In one terminal, run gz topic -e --json-output -t chatter
  2. In another, run gz toic -t chatter -m gz.msgs.Double -p "0.5"

The first terminal should print {} indicating an empty message was received[

mjcarroll commented 10 months ago

https://github.com/gazebosim/gz-msgs/pull/384

azeey commented 10 months ago

Thanks @mjcarroll!