clydemcqueen / tello_ros

C++ ROS2 driver for DJI Tello drones
BSD 3-Clause "New" or "Revised" License
193 stars 65 forks source link

Camera does not work in rviz2 with Gazebo. #60

Closed emad555 closed 2 years ago

emad555 commented 3 years ago

The camera topic does not display any information in rviz2

clydemcqueen commented 3 years ago

I assume that you're running ros2 launch tello_gazebo simple_launch.py with Foxy + Gazebo 11. I can see the simulated camera in rviz2 with these settings (note the Best Effort setting): image

EddieMG commented 2 years ago

@emad555 I believe you run into the same problem as me, if you are using the Docker file, you may be encountering this issue.

I solved it by manually installing sudo apt install ros-foxy-gazebo-ros-pkgs. It seems its a common issue i.e..

@clydemcqueen Great work btw.

clydemcqueen commented 2 years ago

Ah, thanks for the insight @EddieMG

I will add <exec_depend>gazebo_ros_pkgs</exec_depend> to the package.xml file so rosdep picks it up.

cncowboy commented 6 months ago

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins/ can resolve this issue