Skip to content
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

Issues with Pairing Controller #448

Open
Leo-Gut28 opened this issue Jul 26, 2024 · 1 comment
Open

Issues with Pairing Controller #448

Leo-Gut28 opened this issue Jul 26, 2024 · 1 comment
Assignees
Labels
troubleshooting System not working as expected, may be user error.

Comments

@Leo-Gut28
Copy link

Robot Model

Turtlebot4 Standard

ROS distro

Humble

Networking Configuration

Simple Discovery

OS

Ubuntu 22.04

Built from source or installed?

Installed

Package version

1.0.0-1jammy.20240530.114115 (ros-humble-turtlebot4-desktop)

Expected behaviour

Controller light turns blue when home button is pressed

Actual behaviour

Light blinks white/light blue as if it the controller isn't paired

Error messages

ubuntu@ubuntu:~$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2024-07-26 17:57:46 UTC; 9min ago
       Docs: man:bluetoothd(8)
   Main PID: 1438 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 4422)
     Memory: 2.0M
        CPU: 541ms
     CGroup: /system.slice/bluetooth.service
             └─1438 /usr/lib/bluetooth/bluetoothd

Jul 26 17:57:47 ubuntu bluetoothd[1438]: Failed to set privacy: Rejected (0x0b)
Jul 26 17:57:51 ubuntu bluetoothd[1438]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down
Jul 26 17:58:21 ubuntu bluetoothd[1438]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Jul 26 17:58:52 ubuntu bluetoothd[1438]: profiles/input/device.c:control_connect_cb() connect to A0:5A:5D:7E:71:02: Function not implemented (38)
Jul 26 17:59:14 ubuntu bluetoothd[1438]: profiles/input/device.c:ioctl_is_connected() Can't get HIDP connection info
Jul 26 17:59:19 ubuntu bluetoothd[1438]: profiles/input/device.c:control_connect_cb() connect to A0:5A:5D:7E:71:02: Host is down (112)

To Reproduce

I ran into some issues so I had to reflash the SD card following the instructions here. I downloaded the 'turtlebot4_standard_humble_1.0.0.zip', and got the turtlebot4 up and running again. Controller didn't appear to be paired so i followed the instructions to connect the controller.

Other notes

It says that the controller is paired, I've tried removing it and then repairing but nothing seems to work.
Screenshot from 2024-07-26 11-13-11
Screenshot from 2024-07-26 11-08-57

@Leo-Gut28 Leo-Gut28 added the bug Something isn't working requiring changes to this package label Jul 26, 2024
@hilary-luo hilary-luo added troubleshooting System not working as expected, may be user error. and removed bug Something isn't working requiring changes to this package labels Aug 9, 2024
@hilary-luo hilary-luo assigned RustyCPR and smatarCPR and unassigned hilary-luo Aug 9, 2024
@RustyCPR
Copy link

RustyCPR commented Aug 9, 2024

Hi @Leo-Gut28

There are a few tickets that have addressed this issue.

  1. Can you try the instructions here: Raspberry Pi IP: "Unknown" #369 (comment)

  2. There is also a pairing script another customer created that helps with the BT pairing process, download the file and run it locally: Issue with Bluetooth Pairing of Controller and Robot #342 (comment)

If you are still seeing errors please share the full terminal outputs from the untrust / remove / trust / pair and connect commands being run in the terminal.

Regards,
Rusty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
troubleshooting System not working as expected, may be user error.
Projects
None yet
Development

No branches or pull requests

4 participants