ardrone_autonomy | ROS driver for Parrot AR-Drone 1.0 and 2.0 quadrocopters | Robotics library
kandi X-RAY | ardrone_autonomy Summary
kandi X-RAY | ardrone_autonomy Summary
ROS Driver for Parrot AR-Drone 1.0 & 2.0 Quadrocopters.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ardrone_autonomy
ardrone_autonomy Key Features
ardrone_autonomy Examples and Code Snippets
Community Discussions
Trending Discussions on ardrone_autonomy
QUESTION
I'm working on a Jetson Nano board and I need to connect it with a parrot ar drone 2.0, so in order to do that I would like to use the ardrone_autonomy package, but I can't do that because jetson has Ubuntu 18, which only supports ROS Melodic, which doesn't have this package.
Here is what I tried:
- I built the package from this repository: https://github.com/dsapandora/ardrone_autonomy
But I obtained this error:
...ANSWER
Answered 2019-Aug-13 at 11:08I finally solved the problem, here are the complete steps, if there is someone else who is struggling with the same problems:
I downloaded the docker image using:
sudo docker pull ros:kinetic-robot-xenial
And then followed this steps to run the image: http://wiki.ros.org/docker/Tutorials/DockerThe I cloned the ardrone_autonomy package in a worksapce, from the above link:
mkdir -p catkin_ws/src
cd catkin_ws/src
git clone https://github.com/dsapandora/ardrone_autonomy.git
apt-get update
cd ../
rosdep install --from-paths src --ignore-src -r -y
catkin_make
- After the error with
bswap
appears, edit this file:devel/src/ardronelib/ARDroneLib/VP_SDK/VP_Os/linux/intrin.h
and replace:
static INLINE uint32_t _byteswap_ulong(uint32_t value)
{
__asm("bswap %0":
"=r" (value):
"0" (value));
return value;
}
with this:
static INLINE uint32_t _byteswap_ulong(uint32_t value)
{
int32_t tmp;
__asm __volatile(
"eor %1, %2, %2, ror #16\n"
"bic %1, %1, #0x00ff0000\n"
"mov %0, %2, ror #8\n"
"eor %0, %0, %1, lsr #8"
: "=r" (value), "=r" (tmp)
: "r" (value)
);
return value;
}
and comment this line: _BitScanReverse(&index, code);
- After you do this if you try to give it a
catkin_make
it should appear the last error which can be resolved "simply" (after you understand what is happening there :) ) just by replacing this line (from the same file as above):
"mov %0, %2, ror #8\n"
with:
"mov %0, %2\n"
and now should work just fine.
PS: Don't forget to source your workspace.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ardrone_autonomy
ROS Build farm (Indigo):
Travis (Jade/Indigo):
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page