Segmentation error with urg node

asked 2019-04-02 19:46:01 -0600

ashu gravatar image

updated 2019-04-02 22:43:05 -0600

I have been trying to connect a Hokuyo UST-10LX sensor that I`m pairing with a Kobuki using the ethernet port on my laptop in the following way -

sudo ifconfig enp0s25 192.168.0.20
roscore

And then using the following command to enable the ethernet tap

rosrun urg_node urg_node _ip_address:="192.168.0.10"

However, I keep getting segmentation fault(core dump) errors .I can ping the sensor successfully though.

The error is exactly as follows -

Segmentation fault(コアダンプ)

which basically just means segmentation fault(core dump). There`s nothing other than this to work with.

Can someone help me with this? I`m just starting out and seem to be stuck here.

edit retag flag offensive close merge delete

Comments

Can you please update your question with a full copy and paste of the error?

jayess gravatar imagejayess ( 2019-04-02 21:16:42 -0600 )edit

I`ve updated it but sadly thats all that its showing.

ashu gravatar imageashu ( 2019-04-02 22:44:48 -0600 )edit

Could you maybe get the backtrace from gdb then?

aPonza gravatar imageaPonza ( 2019-04-03 09:39:13 -0600 )edit

I gave up and installed a fresh copy of Ubuntu with ROS from scratch. The urg_node command was not working even without specifying any parameters.It kept giving segmentation fault error every time.Given that it was 2 year old install that my senior gave me, I guess it was better to resintall everything to start with. Everything is working well now.

ashu gravatar imageashu ( 2019-04-03 23:26:56 -0600 )edit