I would like to know if it is possible to use the Ps3 controller to navigate the Rosbot around in gazebo? Using the teleop keyboard is tedious. Having a physical controller to use would be nice.
I am using Ubuntu 16.04 and Ros kinetic.
So far I have installed the drivers. I am getting the controller to publish data but currently it seems to just replace the mouse instead of moving the Rosbot around.
In my ~/ros_workspace/src/rosbot_description/src/rosbot_navigation folder I have made the ps3.launch
I am using the command: roslaunch rosbot_navigation ps3.launch
The ps3.launch file which reads
<?xml version="1.0"?>
<launch>
<node pkg="joy" type="joy_node" name="ps3_joy" output="screen" >
<param name="dev" type="string" value="/dev/input/js0" />
<param name="deadzone" value="0.12" />
</node>
<node pkg="diagnostic_aggregator" type="aggregator_node" name="diagnostic_aggregator" >
<!-- Load the file you made above -->
<rosparam command="load" file="$(find ps3joy)/diagnostics.yaml" />
</node>
</launch>
Any suggestions would be GREAT!
Thank you!
This last picture is after running roslaunch rosbot_navigation ps3.launch
I followed these to install the necessary components to get the Ps3 controller to work with ubuntu.
sudo apt-get install ros-kinetic-joystick-drivers
http://wiki.ros.org/ps3joy/Tutorials/PairingJoystickAndBluetoothDongle