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

install navigation form sources

asked 2014-11-27 02:26:28 -0600

Alice63 gravatar image

updated 2014-11-27 20:48:24 -0600

Hello,I have installed the Groovy Ros-Comm from source. Now,I need the navigation package.So I download the navigation source code from Browse Software http://www.ros.org/browse/list.php . At the same time, I download all the packages that navigation depends ,and put them in the navigation.I compiled the navigation using rosmake.Than it shows as following:

error: /home/sxl/ros_catkin_ws1/src/navigation-groovy-devel/robot_pose_ekf/include/robot_pose_ekf/nonlinearanalyticconditionalgaussianodo.h:22:59: did not have pdf/analyticconditionalgaussian_additivenoise.h:
In fact,there is the file at bfl/src/.I have download the bfl and put it in the navigation package.

PS: I can not install navigation through sudo apt-get install navigation Please help me.How can I install navigation from source.What causes this error.How to solve it.Thank you very much.

  [ rosmake ] rosmake starting...                                                                                   
    [ rosmake ] No package specified.  Building stack ['navigation-groovy-devel']                                     
    [ rosmake ] Packages requested are: ['navigation-groovy-devel']                                                   
    [ rosmake ] Logging to directory /home/sxl/.ros/rosmake/rosmake_output-20141127-143344                            
    [ rosmake ] Expanded args ['navigation-groovy-devel'] to:
    ['bondcpp', 'bond', 'smclib', 'bondpy', 'test_bond', 'bfl', 'voxel_grid', 'flann', 'pcl_ros', 'nav_core', 'nodelet', 'move_base_msgs', 'pcl', 'dwa_local_planner', 'clear_costmap_recovery', 'move_slow_and_clear', 'base_local_planner', 'rotate_recovery', 'amcl', 'map_server', 'fake_localization', 'robot_pose_ekf', 'move_base', 'laser_geometry', 'nodelet_topic_tools', 'test_nodelet_topic_tools', 'test_nodelet', 'navfn', 'tf_conversions', 'kdl_conversions', 'eigen_conversions', 'tf', 'costmap_2d', 'carrot_planner', 'pcl_msgs']
    [rosmake-0] Starting >>> catkin [ make ]                                                                          
    [rosmake-1] Starting >>> bondcpp [ make ]                                                                         
    [rosmake-1] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
     No Makefile in package bondcpp                   
    [rosmake-2] Starting >>> eigen_conversions [ make ]                                                               
    [rosmake-1] Starting >>> kdl_conversions [ make ]                                                                                                                                       

            ………………                                                                                                           
    [rosmake-3] Starting >>> std_srvs [ make ]                                                                        
    [rosmake-3] Finished <<< std_srvs ROS_NOBUILD in package std_srvs
     No Makefile in package std_srvs                
    [rosmake-3] Starting >>> amcl [ make ]                                                                            
    [ rosmake ] Last 40 linesbot_pose_ekf: 4.3 sec ] [ costmap_2d: 4.2 sec ] [ actionli... [ 4 Active 69/82 Complete ]
    {-------------------------------------------------------------------------------
          vals = rospack.get_depends(package, implicit=True)
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
          s.update(self.get_depends(p, implicit))
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
          s.update(self.get_depends(p, implicit))
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
          s.update(self.get_depends(p, implicit))
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
          s.update(self.get_depends(p, implicit))
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 227, in get_depends
          s.update(self.get_depends(p, implicit))
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 221, in get_depends
          names = [p.name for p in self.get_manifest(name).depends]
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 159, in get_manifest
          return self._load_manifest(name)
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 198, in _load_manifest
          retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
        File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 190, in get_path
          raise ResourceNotFound(name, ros_paths=self._ros_paths)
      rospkg.common.ResourceNotFound: cmake_modules
      ROS path [0]=/home/sxl/ros_catkin_ws1/install_isolated/share/ros
      ROS path [1]=/home/sxl/ros_catkin_ws1/src/navigation-groovy-devel
      ROS path [2]=/home/sxl/ros_catkin_ws1/src/slam_gmapping
      ROS path [3]=/home/sxl/ros_catkin_ws1/src/navigation-1.8.3
      ROS path [4]=/home/sxl/ros_catkin_ws1/src/common_rosdeps
      ROS path [5]=/home/sxl ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-11-28 08:41:25 -0600

ahendrix gravatar image

You're doing so many things wrong.. I don't even..

  1. You don't state which version of ROS you're using or which OS you're using.
  2. Don't use rosbuild in a catkin workspace. At this point, almost all of ROS is using catkin; there shouldn't be any need to use rosbuild at all.
  3. Why are you checking out ros_comm from source? That's a pretty serious modification to ROS, and you don't give any reason for actually needing to do so. Downgrading the version of ros_comm that you're using to one from an older version of ROS is a highly likely to introduce bugs and incompatibilities.
  4. Groovy is no longer supported, You should probably be using a newer version of ROS.

As stated on the installation page, ROS packages are prefixed with ros- and the distro name. Try:

sudo apt-get install ros-hydro-navigation

Or, if you're still using Groovy:

sudo apt-get install ros-groovy-navigation
edit flag offensive delete link more

Comments

@ahendrix Because I have installed ros-groovy ros-comm on ubuntu12.04 on armel. You have ever told me that it no longer support armel. So I install ros-comm from source.But now I need the navigation package.I have downloaded the navigation and the relevant package.

Alice63 gravatar image Alice63  ( 2014-12-01 01:53:21 -0600 )edit

@ahendrix When I compile the navigation it shows there are not the file of bfl.In fact,I have downloaded the bfl packages,and put it in the navigation packages

Alice63 gravatar image Alice63  ( 2014-12-01 01:57:16 -0600 )edit

You REALLY need to mention things like your ROS version, OS and your architecture in the question; otherwise I assume that you're using a standard installation of a recent version of ROS on Ubuntu x86.

ahendrix gravatar image ahendrix  ( 2014-12-01 02:05:56 -0600 )edit

navigation is a dry (rosbuild) package on groovy, and bfl is a wet (catkin) package. You should have separate catkin and rosbuild workspaces. navigation and other dry packages should be in the rosbuild workspace, and bfl and other wet packages should be in the dry workspace.

ahendrix gravatar image ahendrix  ( 2014-12-01 02:08:53 -0600 )edit

You should build and source your wet (catkin) workspace before attempting to build your dry (rosbuild) workspace.

ahendrix gravatar image ahendrix  ( 2014-12-01 02:09:29 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-11-27 02:26:28 -0600

Seen: 745 times

Last updated: Nov 28 '14