Open jbourne15 opened 8 years ago
Hi JB
I haven't done a fresh installation on the Edison for a while, it's quite possible that things changed and don't work the same way anymore. If you go through one command by one you should easily be able to determine the errors, we'd be happy to accept a pull request if you fixed something :)
About the dialect error: right, the "pixhawk" MAVLink dialect got removed. If your using PX4 or APM and are not sure if you need a specific MAVLink dialect, line 75 should look like this:
sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release -DMAVLINK_DIALECT=ardupilotmega --install-space /home/ros/indigo
HTH
After running this script I have noticed a couple of things that should be fixed.
This is the exact error I am getting when i run line 75-
CMake Error at cmake/Modules/MavrosMavlink.cmake:27 (message): Unknown MAVLink dialect: pixhawk, known dialects: test;ualberta;paparazzi;minimal;common;ardupilotmega;autoquad;python_array_test;ASLUAV;matrixpilot;slugs Call Stack (most recent call first): CMakeLists.txt:16 (include)
-- Configuring incomplete, errors occurred! <== Failed to process package 'libmavconn': Command '['/home/ros/indigo/env.sh', 'cmake', '/home/px4/ros_catkin_ws/src/mavros/libmavconn', '-DCATKIN_DEVEL_PREFIX=/home/px4/ros_catkin_ws/devel_isolated/libmavconn', '-DCMAKE_INSTALL_PREFIX=/home/ros/indigo', '-DCMAKE_BUILD_TYPE=Release', '-DMAVLINK_DIALECT=pixhawk', '-G', 'Unix Makefiles']' returned non-zero exit status 1
Reproduce this error by running: ==> cd /home/px4/ros_catkin_ws/build_isolated/libmavconn && /home/ros/indigo/env.sh cmake /home/px4/ros_catkin_ws/src/mavros/libmavconn -DCATKIN_DEVEL_PREFIX=/home/px4/ros_catkin_ws/devel_isolated/libmavconn -DCMAKE_INSTALL_PREFIX=/home/ros/indigo -DCMAKE_BUILD_TYPE=Release -DMAVLINK_DIALECT=pixhawk -G 'Unix Makefiles'
I am not sure how to proceed with ros and mavros installation onto my intel edison.
thanks for the help,
JB