ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I also had this problem. What I basically did was a modification on the launching of the node ps3joy, changing it for the ps3.launch included in the launch folder of package ps3joy. Here is the launch file which worked for me:
> <launch>
>
> <!-- Turtlesim Node--> <node
> pkg="turtlesim" type="turtlesim_node"
> name="sim"/>
>
>
> <!-- PS3 joy node --> <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>
>
> <!-- Axes --> <param
> name="axis_linear" value="1"
> type="int"/> <param
> name="axis_angular" value="0"
> type="int"/> <param
> name="scale_linear" value="2"
> type="double"/> <param
> name="scale_angular" value="2"
> type="double"/>
>
> <node pkg="learning_ps3joy"
> type="turtle_teleop_ps3joy"
> name="teleop"/>
>
> </launch>
If you are naming the files and folders as is shown in the tutorial it should work.