-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create3 base movement and ps4 joypad #53
Comments
Check the Pairing your Controller troubleshooting documentation. You can use the teleop_twist_keyboard package to publish Twist commands to the robot base's cmd_vel topic.
|
I checked again pairing controller documentation but it still persists, The PS4 controller gets connected for less than a second and it gets disconnected. I tried forgetting/removing the device but still no resolution. How do I make use of the twist keyboard package? I executed the above command in one terminal and tried pressing the given buttons after executing the joystick command (below) in a different terminal. |
The controller battery may be low. Try leaving the controller plugged into the LoCoBot's NUC for a while. While the controller is charging, check if you can run the joystick package to ensure that that aspect of the controller is not faulty. For the teleop package, make sure that your Create 3 base is configured according to the ROS 2 tabs on the Create 3 setup page. If it is not, set the parameters correctly, save them, and restart the application. Then, check that the cmd_vel topic the base subscribes to is |
How do I check that the cmd_vel topic the base subscribes to is /locobot/mobile_base/cmd_vel? The base is connected to locbot hotspot. I verified it using arp-a command.
One device is my laptop, one is Bluetooth mouse. And the third one base, if my understanding is right. |
The base is connected to the NUC via its Ethernet interface You can the topic by running
Additionally, you can use |
Thanks! the base moved using keystroke. There is still problem with ps4 joypad Bluetooth connection. Same problem persists. |
How do I check joystick package to ensure that that aspect of the controller is not faulty, as mentioned above? I checked again the battery of the controller, charged it, and tried again. |
You can plug the controller directly into the LoCoBot's NUC when running the joystick control package. To the package, directly wiring the controller to the robot is the same as connection over Bluetooth. |
I tried wiring the controller as well. It is still not resolved. It shows 'ready to receive processed commands' and no command is accepted.
|
Does your controller light up when wired to the robot's computer? Check for messages on the
|
yes, the controller lights up. I checked it on the windows system, it is connected via Bluetooth without any problem. |
Below is another try with controller connected to NUC with wire. This is new development. After "Ready to receive processed joystick commands", there are new processed commands/ broadcast messages (?) produced in the prompt. xslocobot_robot.py-8] [INFO] [1698236579.996287582] [locobot.robot_manipulation]: Second thing: ros2 topic echo /locobot/commands/joy_raw What might be the issue here? Thanks |
Question
Hi,
I am trying to use a Sony PS4 wireless controller to move the base. However, I am unable to connect it via Bluetooth.
The controller gets connected for less than a second and instantly, it is disconnected.
I followed the instructions given in the documentation. I even tried installing some drivers, as suggested in some forums.
Also, is there any other way to move the base without using a joypad? I couldn't find a command which is particular for locobot 250s.
Can anyone please help me to resolve this?
Robot Model
locobot_wx250s with camera and rplidar
Operating System
Ubuntu 20.04
ROS Version
ROS 2 Galactic
Additional Info
No response
The text was updated successfully, but these errors were encountered: