Issues rendering Camera feed with Ros2 Rolling and Gazebo
Hello everyone.
I am using this post https://medium.com/creating-a-gazebo-... as guidance. My goal is to bring up a model in Gazebo/Ros and display the video feed received via Ros.
I am using Gazebo 11.4, Rolling and RViz2.
I launch Gazebo via Ros Launch File and I successfully get to load the model. If I run ros2 topic list, I get few results including: /fake_car/pi_camera/camera_info /fake_car/pi_camera/image_raw
Also, if I can see:
ros2 topic info /fake_car/pi_camera/image_raw -v Type: sensor_msgs/msg/Image
Publisher count: 1
Node name: camera Node namespace: /fake_car Topic type: sensor_msgs/msg/Image Endpoint type: PUBLISHER GID: 01.0f.c0.e4.74.50.04.00.01.00.00.00.00.00.3a.03.00.00.00.00.00.00.00.00 QoS profile: Reliability: BEST_EFFORT Durability: VOLATILE Lifespan: 2147483651294967295 nanoseconds Deadline: 2147483651294967295 nanoseconds Liveliness: AUTOMATIC Liveliness lease duration: 2147483651294967295 nanoseconds
Subscription count: 1
Node name: rviz Node namespace: / Topic type: sensor_msgs/msg/Image Endpoint type: SUBSCRIPTION GID: 01.0f.c0.e4.34.51.04.00.01.00.00.00.00.00.2e.04.00.00.00.00.00.00.00.00 QoS profile: Reliability: BEST_EFFORT Durability: VOLATILE Lifespan: 2147483651294967295 nanoseconds Deadline: 2147483651294967295 nanoseconds Liveliness: AUTOMATIC Liveliness lease duration: 2147483651294967295 nanoseconds
However, in RVIZ I don't get any image whatsoever. What am I missing?
Cheers, Anthares