AutonomyLab / bebop_autonomy

ROS driver for Parrot Bebop Drones 1.0 & 2.0
http://wiki.ros.org/bebop_autonomy
BSD 3-Clause "New" or "Revised" License
152 stars 121 forks source link

Reading Optical Flow camera and ultrasonic data #100

Open donald2016 opened 7 years ago

donald2016 commented 7 years ago

I have coded my node to read the image from the bebop front camera. According to Mani's reply at 87, is "to calculate the Optical Flow" means using the front camera to find optical flow OR using the bottom camera and ultra-sonic sensor for Optical flow calculation?

Can I subscribe to the image from the bottom camera and the range from ultra sonic sensor?

mani-monaj commented 7 years ago

@donald2016

To calculate the optical flow, you can only subscribe to the front-facing camera's image stream since the firrmware/SDK do not provide any support to access the bottom camera.

Although the ultrasonic data is not directly available by the firmware/SDK, you can read the Altitude of the Bebop which is estimated from multiple sources such as ultrasound readings and barometer data.