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

Usually, segfaults happen where you derererence an invalid pointer, or use an invalid array index.

In your case, you're not checking the bounds of range_msgs in publish_range_msg.