Control the robot via Joypad - CentralLabFacilities/mekabot GitHub Wiki
Set up tele-operation mode
Prerequisite
lsmod ath3k
,btusb
(both for bluetooth),joydev
(to get raw /dev/input/event0 to /dev/input/js0)- if bluetooth daemon is not running:
sudo bluetoothd -d -n
- mac adresses are paired correctly:
rosrun ps3joy sixpair
- m3rt server is running
Startup remote controlling for omnibase and (optional) zlift
- Make sure of the prerequisites. Then
rosrun ps3joy ps3joy.py
- Check whether
/dev/input/js*
appears - Start the mapping to ros node:
roslaunch ps3joy ps3.launch
(if it's notjs0
, edit the launch file) m3_demo_omnibase_joy.py
Voilà, the robot should now be controlable via the joypad!