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 managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    $ cd /opt/ros/electric/stacks/perception_pcl

    $ sudo -s

    enter your password, then rename the packages

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

  2. Now, we download the latest pcl source code for ROS:

    # cd ..

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error operator = in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  3. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/perception_pcl

    $ sudo -s

    enter your password, then rename the packages

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    $ cd /opt/ros/electric/stacks/perception_pcl

    $ sudo -s

    enter your password, then rename the packages

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

  3. Now, we download the latest pcl source code for ROS:

    # cd ..

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error operator = in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/perception_pcl

    $ sudo -s

    enter your password, then rename the packagespassword.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

  3. Now, we download the latest pcl source code for ROS:

    # cd ..

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error operator = in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/perception_pcl/opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # cd ..

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error operator = in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error operator =...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

  5. Enjoy it!

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Now we need to create a few empty files to get rid of rosmake complains:

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd pcl

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd flann

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd cmipack

    # gedit ROS_NOBUILD

  5. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

  6. Enjoy it!

I managed to get the latest PCL (1.3.1) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipack

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann

    # make

    wait for make to finish its job, then

    # cd ..

    # cd pcl

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete compilation. The last package is pcl_ros,

    # cd ..

    # cd pcl_ros

    # make

  4. Now we need to create a few empty files to get rid of rosmake complains:

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd pcl

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd flann

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd cmipack

    # gedit ROS_NOBUILD

    save it and then close gedit.

  5. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

  6. Enjoy it!

I managed to get the latest PCL (1.3.1) (1.4) run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. If you have installed perception_pcl stack (ros-electric-perception-pcl), you should disable the packages, otherwise skip to step 2:

    # cd perception_pcl

    # mv pcl pcl_

    # mv pcl_ros pcl_ros_

    # mv flann flann_

    # mv cmipack cmipack_

    # cd ..

  3. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # cd cmipackmv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make to finish its job, then

    # cd ..

    # cd flann../flann_14

    # make

    wait for make to finish its job, then

    # cd ..

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for compelete complete compilation. The last package is pcl_rospcl_ros_14,

    # cd ..

    # cd pcl_ros../pcl_ros_14

    # make

  4. Now we need to create a few empty files to get rid of rosmake complains:complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd pcl

    # gedit ROS_NOBUILD

    save gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_ros_14. Repeat it and then close gedit,

    # cd ..

    # cd flann

    # gedit ROS_NOBUILD

    save it and then close gedit,

    # cd ..

    # cd cmipack

    # gedit ROS_NOBUILD

    save it and then close gedit.for three other folders.

  5. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl"/>package="pcl_14"/>

    < depend package="pcl_ros"/>package="pcl_ros_14"/>

    < depend package="eigen"/>

  6. Enjoy it!

I managed to get the latest PCL (1.4) to run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # mv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make to finish its job, then

    # cd ../flann_14

    # make

    wait for make to finish its job, then

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for complete compilation. The last package is pcl_ros_14,

    # cd ../pcl_ros_14

    # make

  3. Now we need to create a few empty files to get rid of rosmake complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_ros_14. Repeat it for three other folders.

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl_14"/>

    < depend package="pcl_ros_14"/>

    < depend package="eigen"/>

  5. Enjoy it!

I managed to get the latest PCL (1.4) to run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # mv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make make to finish its job, then

    # cd ../flann_14

    # make

    wait for make make to finish its job, then

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" respectively in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for complete compilation. The last package is pcl_ros_14,

    # cd ../pcl_ros_14

    # make

  3. Now we need to create a few empty files to get rid of rosmake complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_ros_14. Repeat it for three other folders.

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl_14"/>

    < depend package="pcl_ros_14"/>

    < depend package="eigen"/>

  5. Enjoy it!

I managed to get the latest PCL (1.4) to run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # mv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make to finish its job, then

    # cd ../flann_14

    # make

    wait for make to finish its job, then

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" respectively in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for complete compilation. The last package is pcl_ros_14,

    # cd ../pcl_ros_14

    # gedit manifest.xml

    modify "pcl" to "pcl_14" in the manifest file, save and close. then,

    # make

  3. Now we need to create a few empty files to get rid of rosmake complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_ros_14. Repeat it for three other folders.

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl_14"/>

    < depend package="pcl_ros_14"/>

    < depend package="eigen"/>

  5. Enjoy it!

I managed to get the latest PCL (1.4) to run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):

  1. First enter the stack folder as super user:

    $ cd /opt/ros/electric/stacks/

    $ sudo -s

    enter your password.

  2. Now, we download the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # mv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make to finish its job, then

    # cd ../flann_14

    # make

    wait for make to finish its job, then

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" respectively in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for complete compilation. The last package is pcl_ros_14,

    # cd ../pcl_ros_14

    # gedit manifest.xml

    modify "pcl" to "pcl_14" in the manifest file, save and close. then,

    # make

  3. Now Now, we need to create a few empty files to get rid of rosmake complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_ros_14pcl_14. Repeat it for three other folders.

  4. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl_14"/>

    < depend package="pcl_ros_14"/>package="pcl_ros"/>

    < depend package="eigen"/>

  5. Enjoy it!

I managed These are steps to get install the latest PCL (1.4) to run with ROS electric. Here is the procedure I followed step by step (you need internet connection during this installation):pcl version on top of ros electric.

  1. first, install rosinstall,

First enter the stack folder as super user:sudo apt-get install python-setuptools sudo easy_install -U rosinstall

  1. second, create an overlay,

rosinstall ~/ros /opt/ros/diamondback echo "source ~/ros/setup.bash" >> ~/.bashrc

  1. Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

$ cd /opt/ros/electric/stacks/inside the file perception_pcl_unstable.rosinstall should be something like this,

  • svn: local-name: perception_pcl uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable
  • resource ~/ros/setup.bash,

$ sudo -ssource ~/ros/setup.bash

enter your password.

  1. Now, we download change directory and rosmake the latest pcl source code for ROS:

    # svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable/

    # cd perception_pcl_unstable

    # mv cminpack cminpack_14

    # mv flann flann_14

    # mv pcl pcl_14

    # mv pcl_ros pcl_ros_14

    # cd cminpack_14

    # make

    wait for make to finish its job, then

    # cd ../flann_14

    # make

    wait for make to finish its job, then

    # cd ../pcl_14

    # gedit manifest.xml Makefile

    modify "flann" and "cminpack" to "flann_14" and "cminpack_14" respectively in the manifest file and change rospack find pcl to rospack find pcl_14 wherever you find inside Makefile. Save and close the files, then

    # make

    it will automatically download the latest pcl in the trunk and make all libraries. Note: If the make process stops for the error ...operator =... in openni_grabber.cpp, follow these steps:

    # gedit build/pcl_trunk/io/src/openni_grabber.cpp

    add #define USE_ROS, save and close gedit. Run make again and wait for complete compilation.

  2. Now, we need to create a few empty files to get rid of rosmake complains. In all the folders inside the stack perception_pcl_unstable, create an empty file name as ROS_NOBUILD, for example:

    # gedit ROS_NOBUILD

    save it and then close gedit. This makes an empty file named as ROS_NOBUILD inside the folder pcl_14. Repeat it for three other folders.

  3. Add the following lines (package dependencies) to your package manifest.xml file:

    < depend package="pcl_14"/>

    < depend package="pcl_ros"/>

    < depend package="eigen"/>

  4. Enjoy it!

    package,

cd ~/ros/perception_pcl rosmake

These are steps to install the latest pcl version on top of ros ROS electric.

  1. first, install rosinstall,

sudo apt-get install python-setuptools sudo easy_install -U rosinstall

  1. second, create an overlay,

rosinstall ~/ros /opt/ros/diamondback echo "source ~/ros/setup.bash" >> ~/.bashrc

  1. Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

  • svn: local-name: perception_pcl uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable
  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  1. change directory and rosmake the package,

cd ~/ros/perception_pcl rosmake

click to hide/show revision 16
using rosinstall approach

These are steps to install the latest pcl version on top of ROS electric.

  1. first, install rosinstall,

sudo apt-get install python-setuptools sudo easy_install -U rosinstall

  1. second, create an overlay,

rosinstall ~/ros /opt/ros/diamondback echo "source ~/ros/setup.bash" >> ~/.bashrc

  1. Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

  • svn: local-name: perception_pcl uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable
  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  1. change directory and rosmake the package,

cd ~/ros/perception_pcl rosmake

These are steps to install the latest pcl version on top of ROS electric.

    • first, install rosinstall,

sudo apt-get install python-setuptools python-setuptools
sudo easy_install -U rosinstall

    • second, create an overlay,

rosinstall ~/ros /opt/ros/diamondback /opt/ros/diamondback
echo "source ~/ros/setup.bash" >> ~/.bashrc

    • Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

- svn:
       local-name: perception_pcl
       uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable

  • svn: local-name: perception_pcl uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable
  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

    • change directory and rosmake the package,

cd ~/ros/perception_pcl ~/ros/perception_pcl
rosmake

These are steps to install the latest pcl version on top of ROS electric.

  • first, install rosinstall,

sudo apt-get install python-setuptools
sudo easy_install -U rosinstall

  • second, create an overlay,

rosinstall ~/ros /opt/ros/diamondback/opt/ros/electric
echo "source ~/ros/setup.bash" >> ~/.bashrc

  • Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

- svn:
       local-name: perception_pcl
       uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable

  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  • change directory and rosmake the package,

cd ~/ros/perception_pcl
rosmake

These are steps to install the latest pcl version PCL on top of ROS electric.

  • first, install rosinstall,

sudo apt-get install python-setuptools
sudo easy_install -U rosinstall

  • second, create an overlay,

rosinstall ~/ros /opt/ros/electric
echo "source ~/ros/setup.bash" >> ~/.bashrc

  • Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

- svn:
       local-name: perception_pcl
       uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable

  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  • change directory and rosmake the package,

cd ~/ros/perception_pcl
rosmake

These are steps to install the latest PCL on top of ROS electric.

  • first, install rosinstall,

sudo apt-get install python-setuptools
sudo easy_install -U rosinstall

  • second, create an overlay,

rosinstall ~/ros /opt/ros/electric
echo "source ~/ros/setup.bash" >> ~/.bashrc

  • Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall
rosinstall ~/ros perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

- svn:
       local-name: perception_pcl
       uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable

  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  • change directory and rosmake the package,

cd ~/ros/perception_pcl
rosmake

These are steps to install the latest PCL on top of ROS electric.

  • first, install rosinstall,

sudo apt-get install python-setuptools
sudo easy_install -U rosinstall

  • second, create an overlay,

rosinstall ~/ros /opt/ros/electric
echo "source ~/ros/setup.bash" >> ~/.bashrc

  • Now create a .rosinstall file for perception_pcl_unstable,

roslocate info perception_pcl > perception_pcl_unstable.rosinstall
rosinstall ~/ros perception_pcl_unstable.rosinstall

inside the file perception_pcl_unstable.rosinstall should be something like this,

- svn:
       local-name: perception_pcl
       uri: http://svn.pointclouds.org/ros/trunk/perception_pcl_unstable

rosinstall ~/ros perception_pcl_unstable.rosinstall

  • resource ~/ros/setup.bash,

source ~/ros/setup.bash

  • change directory and rosmake the package,

cd ~/ros/perception_pcl
rosmake