All,
I just spent a while getting MavROS to work on the BeagleBone Black (BBB) so I thought I should share in case someone is running into the same problems.
Specs:
Using BeagleBone Black
came with debian installed
Using ROS Hydro
Using the BBB for low level boat control so no image processing needed.
Installations:
Before installing ROS I needed to get Internet working and get the clock to update.
Install ROS:
If you have problems finding the packages try:
sudo nano /etc/apt/sources.list
To:
run:
$sudo apt-get update
get APM. Note that I am using the AMProver2 code and installing it from my git account:
apt-get install git make gawk g++ arduino-core
cd ~
cd ardupilot/APMrover2
make configure
make linux
cd ~/catkin_ws
cd src
cd ..
catkin_make_isolated --install-space /opt/ros/hydro/ --install
<maybe rm -rf mavro_extras b/c you don't need to run and they require cv_bridge?>
catkin_make_isolated will error below should help fix
solves other errors <for all git repos switched to hydro repo using git checkout (branch name). find branch name using git branch -r>
cd ~/catkin_ws/src
cd geometry_experimental
rm-rf tf2_bullet
rm -rf camera_calibration_parsers
rm -rf camera_info_manager/
eigen3 error
apt-get install libeigen3-dev
POCO error
apt-get install libpoco-dev
SIP errors:
cd ~/install
tar xvfz sip-4.16.5.tar.gz
cd sip-4.16.5
python configure.py
make
make install
resource_retriever_utest error (potentionally other weird errors too)
apt-get install libgtest-dev
apt-get install libtinyxml-dev
bzip2 missing headers
apt-get install libbz2-dev
No Module named netifaces error
pip install netifaces
to run:
start roscore: roscore
in new window start autopilot: ~/ardupilot/APMrover2/APMrover2.elf -A tcp:*:6000:wait
in new window start mavros: /opt/ros/hydro/lib/mavros/mavros_node _fcu_url:=tcp://
192.168.7.2:6000
I hope that this is readable and doesn't get anyone into more trouble because this install is hard enough!