Hi,
I noticed that I can configure IP address and port number of the onboard controller. How does it work on the PC side? The Python demo code uses a port 55 (?) when creating the socket. On Linux this (below 1024) privileged port, that requires th process to be run by root. This is a bit unconvenient. Since UDP is connectionless: Do I have to configure this somewhere in the onbard computer, when I change to port on the PC side? (I admit that I have not tested this yet...)
Best,
Georg
UDP communication ports RMPX440LE
Re: UDP communication ports RMPX440LE
The RMP and computer must both communicate on the same port. You can set RMP_CMD_ETH_PORT_NUMBER to any port you want, but know that the RMP both sends and receives on that port and will not see any traffic on other ports.
After changing Ethernet settings (including port number), you must reboot the RMP for the changes to take effect.
After changing Ethernet settings (including port number), you must reboot the RMP for the changes to take effect.
Re: UDP communication ports RMPX440LE
Hi again,
after having my code running in principle, I tried to change the port using the python demo program. Unfortunately it does not allow me to enter non privileged ports. I did not try the ful range of port numbers, but I definiely canot sent port numbers bigger that 1024. I now use setiud flags to let the driver run as root, but do not really like this. Any ideas?
Best
Georg
after having my code running in principle, I tried to change the port using the python demo program. Unfortunately it does not allow me to enter non privileged ports. I did not try the ful range of port numbers, but I definiely canot sent port numbers bigger that 1024. I now use setiud flags to let the driver run as root, but do not really like this. Any ideas?
Best
Georg
Re: UDP communication ports RMPX440LE
Please download the linux version of the OCU. This has been fixed in that version.
http://rmp.segway.com/viewtopic.php?f=9&t=83
http://rmp.segway.com/viewtopic.php?f=9&t=83
Re: UDP communication ports RMPX440LE
Thanks, I will try that.
Best,
Georg
Best,
Georg
Re: UDP communication ports RMPX440LE
There will be a new version up shortly with a slight modification that supports 64-bit linux if you are using it. The version on there has been verified to work on 32-bit Ubuntu 12.04 LTS
Re: UDP communication ports RMPX440LE
The latest version compatible with 64-bit Ubuntu 12.04 LTS is located here, there are other minor corrections for the controller mapping so please use this even if you are already running in x86:
http://rmp.segway.com/viewtopic.p ... p=206#p206
http://rmp.segway.com/viewtopic.p ... p=206#p206
Who is online
Users browsing this forum: No registered users and 1 guest