Navio2 | C and Python sensor examples for developers
kandi X-RAY | Navio2 Summary
kandi X-RAY | Navio2 Summary
C++ and Python sensor examples for developers
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 Navio2
Navio2 Key Features
Navio2 Examples and Code Snippets
Community Discussions
Trending Discussions on Navio2
QUESTION
My friends and I are building an autonomous plane (UAV) and are interested in using ROS for our software stack. However, I had a few problems with ROS and support, and am wondering if anyone knew any solutions?
Our plane currently houses a Raspberry Pi 3 (I might replace this with something with a better processor, but still an ARM SBC with the same GPIO). We will be running regular Raspbian (Lite). We plan to use a Navio2, which is an autopilot HAT that runs the open source ArduPilot firmware/software. We are going to use a mixture of C++ and Python.
My main issues at the moment are:
- Limited RPi support - Kinetic is the latest version that runs on RPi. Also very limited documentation for RPi.
- Doesn't really make use of even C++11, and I'd like to use the latest C++ features.
- OpenCV 4 recently came out, and I'd like to make use of it. Does ROS support any version of OpenCV or is it just 3?
- Doesn't use Python 3. This is a big thing for me, and using Python 2 isn't an option for various reasons.
I have also looked at ROS2, which aims to solve many of the problems listed above, but it didn't seem mature enough for us yet.
...ANSWER
Answered 2018-Dec-29 at 00:16A few answers for your points:
- Melodic is supported on RPi 3 B+ now with Raspbian Lite. You might need to do a little apt-repo jockeying, but my team was able to get it without too much trouble.
- There's nothing stopping you from using C++17; just update your CMakeLists.txt files as appropriate to add
-std=c++17
to theCXX_FLAGS
- To the best of my knowledge, ROS Melodic at release supports OpenCV3. It might take a little while for OpenCV4 support to be made available -- I still need to check on the project to get the latest news.
- I haven't actually looked at the Python3 support yet. I think its being deferred to ROS2.
That said, I wouldn't say that ROS2's immaturity is a good reason to disqualify it -- I know it's going to take a long while before there's enough support and all pre-existing ROS packages are ported to it (that's why my team didn't want to consider it).
In any case, I'd still consider if any of the algorithms you're planning on implementing really need OpenCV4 features, or if using that version is simply a "nice to have." OpenCV3 isn't really that old, and from what I can gather, handles everything state-of-the-art without making the algorithms bend too much to the API.
Update 28-Dec-2018
Doing some cursory searching, it looks like ROS Melodic does have Python3 support (see this question): ROS has to be built from source with the environment variable ROS_PYTHON_VERSION=3
set (see also this)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Navio2
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