Table of Contents

How to setup the SmartSoft Runtime Environment on a Pioneer P3DX robot

Standard Installation

see Installation on Robotino (except “Install_Robotino_API_and_daemons”)

Disable screen lock

sudo apt-get remove light-locker

Disable sleep service

Ref: [https://www.unixtutorial.org/disable-sleep-on-ubuntu-server/]

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

(undo by sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target)

Allow non-root-access to /dev/ttyUSB0 (pioneer) and /dev/ttyUSB1 (sick)

Ref: [https://askubuntu.com/questions/133235/how-do-i-allow-non-root-access-to-ttyusb0]

sudo usermod -a -G dialout $USER

Logout and login again, the command 'groups' should now list 'dialout' too. Now it is possible to start a SmartSoft system without root. (/dev/ttyUSB0 has owner group dialout)

Speed up ping times to the Intel NUC mini-pc by disabling WiFi power management 802.11

Ref: [https://unix.stackexchange.com/questions/269661/how-to-turn-off-wireless-power-management-permanently]

sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf 
[connection]
wifi.powersave = 2

SystemParams

Change SmartLaserLMS200Server to default values.

Change SmartPioneerBaseServer > Robot > sericalPort to “/dev/pioneer”.

(there should be a link on the pioneer from “/dev/pioneer” and “/dev/sick” to the correct “/dev/ttyUSB*”)

Change SmartPioneerBaseServer > Robot > robotType can be “p3atsh” or “p3dx” (probably about different manufacturers 'ActiveMedia Robotics' and 'MobileRobots, INC', try out, at least different wheel color and elevation)

Acknowledgments

Thomas Feldmeier.

DokuWiki Appliance - Powered by TurnKey Linux