Segmentation error with urg node

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

ashu gravatar image

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

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

And then using the following command to enable the ethernet tap

rosrun urg_node urg_node _ip_address:=""

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


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

jayess gravatar image jayess  ( 2019-04-02 21:16:42 -0500 )edit

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

ashu gravatar image ashu  ( 2019-04-02 22:44:48 -0500 )edit

Could you maybe get the backtrace from gdb then?

aPonza gravatar image aPonza  ( 2019-04-03 09:39:13 -0500 )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 image ashu  ( 2019-04-03 23:26:56 -0500 )edit