Segmentation fault on ros.spin()

asked 2016-11-25 19:11:18 -0500

Miiller gravatar image

I installed ROS from source (ros_comm) on a Raspberry Pi 3 and I cannot launch the majority of modules. When using $ roslaunch ... ... on existing launch files I get constant process has died into restarting process errors. The following code throws me straight to a Segmentation fault. Applying subscribers before spinning doesn't really do anything.

#include <ros/ros.h>
int main(int argc, char **argv)
    ros::init(argc, argv, "my_node");

I tried reinstalling ros, but the issue remains. The installation goes, from what I can see in the logs, without any errors.

What could be the problem here?

edit retag flag offensive close merge delete