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

changing the port on rosserial_embeddedlinux node results in segmentation fault?

asked 2014-09-14 13:58:20 -0500

imbakes gravatar image

running the HelloRos example in rosserial_embeddedlinux package on Raspberry Pi, Raspbian.

if default port is used, compiles and runs OK

when adding port number to path like so: nh.initNode(192.168.1.101:114411)

results in immediate segmentation fault..

how can the port number be added to the initNode call?

Quoted from UPenn Publisher example:

NodeHandle.initNode() accepts arguments like:

/dev/ttyUSB1 uses the designated serial port for messages to rosserial_python 192.168.1.2 connects to rosserial_python at the specified IP address on the default port 11411 192.168.1.2:12345 connects to rosserial_python at the specified IP address on the specified port number

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-14 04:03:55 -0500

krl101 gravatar image

I think your port number is to big, as far as i know port is an 16 bit number and will stop at 65535.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-09-14 13:58:20 -0500

Seen: 433 times

Last updated: Dec 14 '18