Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install_ros.sh failed #5

Open
jbourne15 opened this issue Mar 2, 2016 · 1 comment
Open

install_ros.sh failed #5

jbourne15 opened this issue Mar 2, 2016 · 1 comment

Comments

@jbourne15
Copy link

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

@jbourne15 jbourne15 changed the title install_ros.sh install_ros.sh failed Mar 3, 2016
@AndreasAntener
Copy link
Member

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

  • ada

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants