ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How can I read bluetooth data with ROS Noetic?

asked 2022-05-01 20:06:56 -0500

LuisEFA1998 gravatar image

I am working with a KUKA KR5 arc HW-2 manipulator in Gazebo, I created the URDF model and all the necessary drivers to be able to move it, what I would like to know is if it is possible to use an Xbox Series S controller to be able to move its joints. I understand that the new Xbox controls communicate via bluetooth but I really don't know how to obtain the data sent by their different buttons and triggers with ROS. Is there a package for that or a rospy or roscpp function that can be used to read what is being sent through a bluetooth channel?

If someone has managed to do something similar to what I'm looking for, I'd really appreciate it if you could guide me, it's for the development of a school project, it doesn't matter if a wired Xbox controller, PlayStation controller or any other bluetooth controller was used.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-02 17:00:24 -0500

Mike Scheutzow gravatar image

ROS categorizes such devices as joysticks. If you configure linux properly, the OS sees the bluetooth-controller as a serial port which sends a stream of characters.

Start your investigation here: http://wiki.ros.org/joystick_drivers

edit flag offensive delete link more

Comments

Thanks a lot bro, I'll check that ROS package.

LuisEFA1998 gravatar image LuisEFA1998  ( 2022-05-03 20:59:58 -0500 )edit

Question Tools

3 followers

Stats

Asked: 2022-05-01 20:06:56 -0500

Seen: 199 times

Last updated: May 02 '22