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

emrainey's profile - activity

2017-08-25 07:50:53 -0500 received badge  Teacher (source)
2017-08-25 07:50:53 -0500 received badge  Necromancer (source)
2016-11-02 00:40:48 -0500 commented question How to fill a sensor_msgs/image without a memcpy ?

Ideally they would have a nodelet receiving the sensor_msgs::Image in a callback so the serialization would be skipped. However the initial copy from the driver is still wasted cycles. They aught to be able to create a custom allocator.

2016-03-11 16:31:24 -0500 answered a question ctrl-c shutdown of nodelet manager versus calling shutdown inside of nodelet manager

I did find something that works! You have to configure your node launch XML to indicate that the nodelet which will call exit(x) is required. Then when it detects a failure, it will kill the entire launch file.

<node pkg.... required="true">
...
</node>

then inside nodelet you can call "exit(err);" with some error in err. Well I did the following incase there's some other path:

ros::shutdown();
raise(SIGINT);
raise(SIGABRT);
exit(-1);

I really want it to exit.

2016-03-11 16:24:33 -0500 commented question ctrl-c shutdown of nodelet manager versus calling shutdown inside of nodelet manager

Great Question. I'm curious to know the answer too! None of the above seem to work as well as I would like.

2015-09-08 02:08:37 -0500 commented question library not found for -lpcl_io

I have the same problem. When I add "-L/usr/local/lib" in the link.txt it fixes it but this is not permanent as the changes are blown away next time I build apparently.