Reputation: 23
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:
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.
Upvotes: 1
Views: 415
Reputation: 943
A few answers for your points:
-std=c++17
to the CXX_FLAGS
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)
Upvotes: 0