ar.drone

Bag file to run the image stream from ARDRONE - rostopic suggestion needed

南楼画角 提交于 2020-01-03 04:38:12
问题 I am new to ROS. I am working on a video feed from ARDRONE but I am not able to stream the video. Should I have to change the topics in publisher and subscriber to stream the video ??? It is mentioned that I have to use bag file to stream. My publisher and subscriber nodes are the following : def __init__(self): self.image_pub = rospy.Publisher("image_topic_2",Image,queue_size=10) self.bridge = CvBridge() self.image_sub = rospy.Subscriber("image_topic",Image,self.callback) def callback(self

Receive BLE signal from iBeacon to Bluno(arduino with BLE)

被刻印的时光 ゝ 提交于 2019-12-24 14:28:35
问题 I want to receive rssi signal and UUID from iBeacon to Bluno which the Arduino board has BLE. there are some questions for this. Are there any solutions to receive UUID and rssi from BLE to BLE? Is it possible to communicate two BLE device each other? I want some sites to reference for this problem. I also need to connect bluno with AR.Drone. Could you give me some advices for this? thank you for your help 回答1: The Bluno has the ability to act as an iBeacon (transmitter), but it doesn't have

Faster Real Time A.R Drone Video Streaming

寵の児 提交于 2019-12-11 05:36:16
问题 I've attempted ffplay tcp://192.168.1.1:5555 to video stream from the AR Drone 2.0; however, the delay is way too high. My second attempt was with the following: var arDrone = require('ar-drone'); var http = require('http'); console.log('Connecting png stream ...'); var pngStream = arDrone.createClient().getPngStream(); var lastPng; pngStream .on('error', console.log) .on('data', function(pngBuffer) { lastPng = pngBuffer; }); var server = http.createServer(function(req, res) { if (!lastPng) {

Get GPS data from Ar Drone 2.0

坚强是说给别人听的谎言 提交于 2019-12-10 11:23:31
问题 I need the real time GPS coordinates from the AR Drone 2.0 which has the flight recorder in it.And i couldn't find any method to get the values from GPS directly. Is there any way i could get the GPS data from the AR Drone 回答1: Here is what's working for me: var arDrone = require('ar-drone'); var droneClient = arDrone.createClient(); droneClient.config('general:navdata_demo', 'FALSE'); // get back all data the copter can send droneClient.config('general:navdata_options', 777060865); // turn

Ardrone Video Stream decoding in Android

情到浓时终转凉″ 提交于 2019-12-10 10:58:23
问题 I'm working on an image processing project for the Parrot AR.drone, using opencv4Android, i'm so new to the whole thing! , does anyone have an idea about how to read in video streams from the ARDrone using OpenCV, the samples shows how to get video input from a webcam only the video is encoded in H.264 format,and the drone adds a proprietary header (called PaVE) to every video frame, apparently that's why Android fails to load the video stream.. thanks 回答1: You need a PaVE parser that will

Drone's motion is unstable with ROS topics

我的梦境 提交于 2019-12-09 08:34:26
Drone's motion is not stable with rostopics...what can I do ? import rospy import time #import library untuk mengirim command dan menerima data navigasi dari quadcopter from geometry_msgs.msg import Twist from std_msgs.msg import String from std_msgs.msg import Empty from ardrone_autonomy.msg import Navdata #import class status untuk menentukan status ddari quadcopter from drone_status import DroneStatus COMMAND_PERIOD = 1000 class AutonomousFlight(): def __init__(self): self.status = "" rospy.init_node('forward', anonymous=False) self.rate = rospy.Rate(10) self.pubTakeoff = rospy.Publisher(

Drone's motion is unstable with ROS topics

那年仲夏 提交于 2019-12-08 03:32:57
问题 Drone's motion is not stable with rostopics...what can I do ? import rospy import time #import library untuk mengirim command dan menerima data navigasi dari quadcopter from geometry_msgs.msg import Twist from std_msgs.msg import String from std_msgs.msg import Empty from ardrone_autonomy.msg import Navdata #import class status untuk menentukan status ddari quadcopter from drone_status import DroneStatus COMMAND_PERIOD = 1000 class AutonomousFlight(): def __init__(self): self.status = ""

Get GPS data from Ar Drone 2.0

Deadly 提交于 2019-12-06 08:59:42
I need the real time GPS coordinates from the AR Drone 2.0 which has the flight recorder in it.And i couldn't find any method to get the values from GPS directly. Is there any way i could get the GPS data from the AR Drone Here is what's working for me: var arDrone = require('ar-drone'); var droneClient = arDrone.createClient(); droneClient.config('general:navdata_demo', 'FALSE'); // get back all data the copter can send droneClient.config('general:navdata_options', 777060865); // turn on GPS droneClient.on('navdata', function(navdata) { console.log(navdata.gps.latitude + ', ' + navdata.gps

Ardrone Video Stream decoding in Android

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 05:55:53
I'm working on an image processing project for the Parrot AR.drone, using opencv4Android, i'm so new to the whole thing! , does anyone have an idea about how to read in video streams from the ARDrone using OpenCV, the samples shows how to get video input from a webcam only the video is encoded in H.264 format,and the drone adds a proprietary header (called PaVE) to every video frame, apparently that's why Android fails to load the video stream.. thanks You need a PaVE parser that will strip the PaVE headers off the H.264 frames before you can decode them and feed them to OpenCV. There are some

Tracking objects from camera; PID controlling; Parrot AR Drone 2

浪子不回头ぞ 提交于 2019-12-05 10:07:47
问题 I am working on a project where I should implement object tracking technique using the camera of Parrot AR Drone 2.0. So the main idea is, a drone should be able to identify a specified colour and then follow it by keeping some distance. I am using the opencv API to establish communication with the drone. This API provides function: ARDrone::move3D(double vx, double vy, double vz, double vr) which moves the AR.Drone in 3D space and where vx: X velocity [m/s] vy: Y velocity [m/s] vz: Z