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

How do I compile ROS from source using a forked ros_comm

asked 2015-10-14 19:12:20 -0600

Aravind gravatar image

updated 2015-10-14 23:01:04 -0600

Mani gravatar image

I want to compile ROS from source. To do this, I can follow the instructions from http://wiki.ros.org/indigo/Installation/Source, specifically the lines

rosinstall_generator ros_comm --rosdistro indigo --deps --wet-only > indigo-ros_comm-wet.rosinstall 
wstool init -j8 src indigo-ros_comm-wet.rosinstall

However, I want to use my own forked version of ros_comm packages from https://github.com/asundaresan/ros_comm

It is not clear to me how I can build a bare-bones ROS from source using the above forked version. I'd be grateful for any pointers or instructions for the same. I could not find any.

Thanks, Aravind.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-10-14 21:59:29 -0600

Mani gravatar image

updated 2015-10-14 22:02:26 -0600

I haven't tried this solution myself. But this may work:

  1. Add --upstream option to rosinstall_generator ros_comm .. command:
rosinstall_generator ros_comm --upstream --rosdistro indigo --deps --wet-only > indigo-ros_comm-wet.rosinstall
  1. Modify indigo-ros_comm-wet.rosinstall and change the URI of ros_comm repo to your own fork. Make sure to change the version field to appropriate branch/tag of your fork.
    - git:
    local-name: ros_comm
    uri: https://github.com/asundaresan/ros_comm
    version: 1.11.15

To ensure maximum compatibility, it is a good practice to rebase your changes on top of the current stable version of ros_comm. 1.11.15 in this case.

edit flag offensive delete link more

Comments

Thanks! That works.

Aravind gravatar image Aravind  ( 2015-10-16 17:17:25 -0600 )edit

You are welcome.

Mani gravatar image Mani  ( 2015-10-17 15:04:14 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-14 19:12:20 -0600

Seen: 360 times

Last updated: Oct 14 '15