anqixu / tello_driver

ROS driver for DJI/Ryze Tello drones
Apache License 2.0
98 stars 96 forks source link

> It looks like you have not downloaded + compiled h264_image_transport package. Check out the instructions [here](https://github.com/anqixu/tello_driver#installation). #11

Open huberth16 opened 4 years ago

huberth16 commented 4 years ago

It looks like you have not downloaded + compiled h264_image_transport package. Check out the instructions here.

Thank you for your answer. I have followed all the instructions. I had some problem to install rosdep install h264_image_transport but in the end I manage by copying the file in the directory he asked me.

However, I still get the same problem, look at this screenshot: tello1

In the picture you can see the installation was succesfull. But still get the same problem. I also have checked the files H264Packet.msg and it is in this adress:

root@huberth-PL62-7RC:/opt/ros/kinetic/share/image_transport# find /opt/ros/ -name H264Packet.msg /opt/ros/kinetic/share/h264_image_transport/msg/H264Packet.msg /opt/ros/kinetic/share/ros/h264_image_transport/msg/H264Packet.msg

is it in the right place? I also see the log file and said this:

[rospy.client][INFO] 2019-12-25 12:12:19,264: init_node, name[/tello/tello_driver_node], pid[4907] [xmlrpc][INFO] 2019-12-25 12:12:19,264: XML-RPC server binding to 0.0.0.0:0 [xmlrpc][INFO] 2019-12-25 12:12:19,265: Started XML-RPC server [http://huberth-PL62-7RC:35635/] [rospy.init][INFO] 2019-12-25 12:12:19,265: ROS Slave URI: [http://huberth-PL62-7RC:35635/] [rospy.impl.masterslave][INFO] 2019-12-25 12:12:19,265: _ready: http://huberth-PL62-7RC:35635/ [xmlrpc][INFO] 2019-12-25 12:12:19,265: xml rpc node: starting XML-RPC server [rospy.registration][INFO] 2019-12-25 12:12:19,266: Registering with master node http://localhost:11311 [rospy.init][INFO] 2019-12-25 12:12:19,365: registered with master [rospy.rosout][INFO] 2019-12-25 12:12:19,365: initializing /rosout core topic [rospy.rosout][INFO] 2019-12-25 12:12:19,369: connected to core topic /rosout [rospy.simtime][INFO] 2019-12-25 12:12:19,371: /use_sim_time is not set, will not subscribe to simulated time [/clock] topic [rospy.core][INFO] 2019-12-25 12:12:19,385: signal_shutdown [atexit] [rospy.impl.masterslave][INFO] 2019-12-25 12:12:19,388: atexit

This is all the information I can find.

Please help me

In advance thank you for your help, your future reply is important for me. It is a wonderful project.

_Originally posted by @huberth16 in https://github.com/anqixu/tello_driver/issues/10#issuecomment-568888098_

huberth16 commented 4 years ago

In the end, I fixed it. For those who happen similar problem I share how I solve it:

  1. I started again the installation of Tello driver. 2.The step "rosdep install h264_image_transport" failed in my case, so I use the issue that " espetro " commented to try :

    rosdep update rosdep install --from-paths src -i

After, I still got a this error: image so I solve it by copy the file it needs in the asked locations.

  1. After it, I still got an error related to the H264Packet.msg and the importing of "av". I check if I have av by typing "import av" in the python interpreter, and I had not. Therefore I use pip install to get av.

At this point, I got an error in pip install av. I solved it by upgrading the FFmpeg version.

4 Later, I tried and now works perfectly. 4

I hope this information can help someone.

anqixu thank you so much for this project.