ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have done the changes as you said, but still not working. I got the following errors when I try to instal the packages through instalation scrpt

Install Internal ROS packages

make: * No targets specified and no makefile found. Stop.

make: * No targets specified and no makefile found. Stop.

2b) Install external ROS packages

===================

Run new bashrc file

======================================

2c) Install External ROS packages

./install_ros_pwh.sh: line 91: cd: /home/bojan/Desktop/PowRos/utils/gps_umd/gps_common: No such file or directory make: * No targets specified and no makefile found. Stop. mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. [rosbuild] Building package cereal_port CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/private.cmake:99 (message): [rosbuild] rospack found package "cereal_port" at "", but the current directory is "/home/bojan/Desktop/PowRos/utils/cereal_port". You should double-check your ROS_PACKAGE_PATH to ensure that packages are found in the correct precedence order. Call Stack (most recent call first): /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:177 (_rosbuild_check_package_location) CMakeLists.txt:12 (rosbuild_init)

-- Configuring incomplete, errors occurred! make: * [all] Error 1

Please any help¿

this is the instalation script after changing i made

echo "=====================================================" echo "1) Installing ROS (Fuerte)" echo "=====================================================" echo "=====================================================" echo "Setting up source list" echo "=====================================================" sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu lucid main" > /etc/apt/sources.list.d/ros-latest.list' echo "=====================================================" echo "Setting up keys" echo "=====================================================" wget http://packages.ros.org/ros.key -O - | sudo apt-key add - echo "=====================================================" echo "=====================================================" echo "Update repository list for Ubuntu" echo "====================================================="

sudo apt-get update

echo "=====================================================" echo "=====================================================" echo "Update Ubuntu" echo "====================================================="

sudo apt-get upgrade

echo "=====================================================" echo "=====================================================" echo "Installing ROS stacks (C Turtle base)" echo "=====================================================" sudo apt-get install ros-fuerte-desktop-full echo "=====================================================" echo "=====================================================" echo "Setup bashrc to contain ros-environment" echo "=====================================================" echo "source /opt/ros/fuerte/setup.bash" >> ~/.bashrc source ~/.bashrc echo "====================================================="

echo "=====================================================" echo "2) Checking out and install the UTS POW repository" echo " and all required ROS packages" echo "2a) Checking out and install the UTS POW code and data repository" echo "====================================================="

Download all files from UTS POW ROS (Fuerte) repo and some small data files for testing:

svn co https://develop.eng.uts.edu.au/projects/cas/CAS/svn/prince_wales_hosp/dev/ros/Fuerte ~/Desktop/PowRos

svn ~/Desktop/PowRos

echo "======================================" echo "Install Internal ROS packages" echo "======================================"

cd ~/Desktop/PowRos/utils/amcl_listener

cmake ./

make cd ~/Desktop/PowRos/utils/pow_analyzer

cmake ./

make

Install all External ROS packages required for POW project

echo "===========================================================" echo "2b) Install external ROS packages" echo "==========================================================="

svn co http://isr-uc-ros-pkg.googlecode.com/svn/stacks/lse_imu_drivers/trunk/lse_xsens_mti ~/Desktop/PowRos/utils/lse_xsens_mti

svn co http://isr-uc-ros-pkg.googlecode.com/svn/stacks/serial_communication/trunk/cereal_port ~/Desktop/PowRos/utils/cereal_port

git clone http://ram.umd.edu/git/ros/gps_umd.git ~/Desktop/PowRos/utils/gps_umd

git clone http://robotics.ccny.cuny.edu/git/ccny-ros-pkg/scan_tools.git ~/Desktop/PowRos/utils/scan_tools

Create the new ROS_PACKAGE_PATH

echo "export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:~/Desktop/PowRos" >> ~/.bashrc

source ~/Desktop/Workspace/setup.bash

echo "===================" echo "Run new bashrc file" echo "===================" source ~/.bashrc

echo "======================================" echo "2c) Install External ROS packages" echo "======================================"

cd ~/Desktop/PowRos/utils/gps_umd/gps_common

cmake ./

make

cd ~/Desktop/PowRos/utils/cereal_port

cmake ./

make

cd ~/Desktop/PowRos/utils/lse_xsens_mti

cmake ./

make

sudo apt-get install libgsl0-dev cd ~/Desktop/PowRos/utils/scan_tools/csm make

cd ~/Desktop/PowRos/utils/scan_tools/laser_scan_matcher

cmake ./

make

Installation complete

echo "===================================================================================" echo "Installation complete, follow instructions on the wiki:" echo "http://develop.eng.uts.edu.au/projects/cas/CAS/trac/wiki/PrinceWalesSoftwareROSFuerte" echo "==================================================================================="