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

hjed's profile - activity

2014-11-24 05:47:18 -0500 received badge  Famous Question (source)
2014-05-30 23:44:05 -0500 received badge  Notable Question (source)
2014-05-30 23:44:05 -0500 received badge  Popular Question (source)
2014-04-19 02:53:02 -0500 commented answer Segfault whilst reading message

Thanks, this is a very good fix for the problem

2014-04-19 02:52:23 -0500 received badge  Scholar (source)
2014-04-19 02:40:34 -0500 received badge  Supporter (source)
2014-04-18 19:41:44 -0500 asked a question Segfault whilst reading message

Hi we've been writting some code to subscribe to the /joint_states topic produced by the husky simulator. However we found that even though all the arrays in /joint_states should be the same length, we are getting an empty array for velocity at random intervals. Which causes a seg fault as there appears to be no way to detect it. (checking if msg->velocity == NULL won't compile). So two questions, is there a way to stop these invalid messages? And if there isn't what is the best way to detect the empty array (gdb says its a boost shared vector).

Thanks, Harry

2014-03-13 19:11:46 -0500 asked a question roscd, rosdepends: No such package/stack 'beginner_tutorials'

Hi

I am new to ROS and was following the beginner tutorials, however when I get to the
"rospack depends1 beginner_tutorials" line I get the error "No such package/stack 'beginner_tutorials" This same error occurs when I try roscd. After googling this problem everyone seems to have solved it by running "source ~/catkin_ws/devel/setup.bash" however this does not resolve the problem for me.

Thanks in advance for any help.