UAVenture / ros-setups

Scripts and documentation on how to setup a ROS system on various platforms, such as Odroid and Intel Edison.
17 stars 19 forks source link

install_ros.sh failed #5

Open jbourne15 opened 8 years ago

jbourne15 commented 8 years ago

After running this script I have noticed a couple of things that should be fixed.

  1. line 16: error message-unable to resolve host ubilinux fixed this by adding "ubilinux" into the /etc/hosts file
  2. line 58: error Can't check signiture: public key not found I don't know what this means but I thought I would bring it up
  3. line 68: error rosdeps failed to install python-rospkg, python-catkin-pkg, python-rosdep You mention that errors would appear after finishing. Just want to confirm that people are geting the same error as i am
  4. line 75: error failed to process package libmavconn. this error is preventing me to install ros and mavros

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

AndreasAntener commented 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