Revision history [back]

Well, after a few minutes of doing nothing regarding ROS at all, it apparently finds the package now. Sorry, but I have no idea why it is working after the delay.

However, there is a segmentation fault now:

rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
Segmentation fault (core dumped)


After some research it appears that pointer bugs could be the reason. However, I simply copy-pasted the code in example.cpp from the tutorial. I guess I should make a new question regarding this problem.

Well, after a few minutes of doing nothing regarding ROS at all, it apparently finds the package now. Sorry, but I have no idea why it is working after the delay.

However, there is a segmentation fault now:

rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
Segmentation fault (core dumped)


After some research it appears that pointer bugs could be the reason. However, I simply copy-pasted the code in example.cpp from the tutorial. tutorial. Maybe its because I did not download narrow_stereo_textured/points2 into the same folder? I thought it would get the input by itself? I guess I should make a new question regarding this problem.

Well, after a few minutes of doing nothing regarding ROS at all, it apparently finds the package now. Sorry, but I have no idea why it is working after the delay.

Command line history:

784  catkin_make
785  cd ~/catkin_ws/
786  roscore
787  source devel/setup.bash
788  roscore
789  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2  ##did not work here##
790  cd ~/catkin_ws/
791  source devel/setup.bash
792  printenv | grep ROS
793  cd devel
794  ls -a
795  cd include/
796  ls -a
797  cd ..
798  cd src
799  ls -a
800  cd ..
801  printenv | grep ROS
802  rospack find my_pcl_tutorial
803  roscore
804  cd ~/catkin_ws/
805  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2 ##works, but segmentation error##


However, there is a segmentation fault now:

rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
Segmentation fault (core dumped)


After some research it appears that pointer bugs could be the reason. However, I simply copy-pasted the code in example.cpp from the tutorial. Maybe its because I did not download narrow_stereo_textured/points2 into the same folder? I thought it would get the input by itself? I guess I should make a new question regarding this problem.

Well, after a few minutes of doing nothing regarding ROS at all, it apparently finds the package now. Sorry, but I have no idea why it is working after the delay.

Command line history:

784  catkin_make
785  cd ~/catkin_ws/
786  roscore
787  source devel/setup.bash
788  roscore
789  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2  ##did not work here##
790  cd ~/catkin_ws/
791  source devel/setup.bash
792  printenv | grep ROS
793  cd devel
794  ls -a
795  cd include/
796  ls -a
797  cd ..
798  cd src
799  ls -a
800  cd ..
801  printenv | grep ROS
802  rospack find my_pcl_tutorial
803  roscore
804  cd ~/catkin_ws/
805  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2 ##works, but segmentation error##


However, there is a segmentation fault now:

rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
Segmentation fault (core dumped)


After some research it appears that pointer bugs could be the reason. However, I simply copy-pasted the code in example.cpp from the tutorial. Maybe its because I did not download narrow_stereo_textured/points2 into the same folder? I thought it would get the input by itself? I guess I should make a new question regarding this problem.

Well, after a few minutes of doing nothing regarding ROS at all, it apparently finds the package now. Sorry, but I have no idea why it is working after the delay.

Command line history:

784  catkin_make
785  cd ~/catkin_ws/
786  roscore
787  source devel/setup.bash
788  roscore
789  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2  ##did not work here##
790  cd ~/catkin_ws/
791  source devel/setup.bash
792  printenv | grep ROS
793  cd devel
794  ls -a
795  cd include/
796  ls -a
797  cd ..
798  cd src
799  ls -a
800  cd ..
801  printenv | grep ROS
802  rospack find my_pcl_tutorial
803  roscore
804  cd ~/catkin_ws/
805  rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2 ##works, but segmentation error##
##works