ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version | answered 2016-09-23 01:41:25 -0600 Anonymous |
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.
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.
4 | No.4 Revision |
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.
5 | No.5 Revision |
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