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

Jackal robot PS4 remote cannot pair using bluetooth with the robot?

asked 2016-07-22 20:09:26 -0500

Ashwin Mathur gravatar image

updated 2016-07-25 16:03:19 -0500

I just got a jackal robot with a PS4 remote. According to the instructions it should automatically pair with the jackal robot however the pairing doesnt happen.

However, when I connect the remote to the USB inside the robot it works. Almost seems like I need to reinitialize the remote. I tried following the commands:

sudo sixpair sudo sixad --boot-yes

I get the following error: No controller found on USB busses. Please connect your joystick via USB.

Any advice?


Trying ds4drv-pair command. I get the following error:

Scanning for PS4 controller Found controller with address: 'AC:FD:93:E2:C2:0A'

Traceback (most recent call last): File "/usr/bin/bluez-simple-agent", line 102, in <module> manager = dbus.Interface(bus.get_object("org.bluez", "/"), File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout)

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files

Traceback (most recent call last):

File "/usr/bin/bluez-test-device", line 17, in <module> manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager") File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object follow_name_owner_changes=follow_name_owner_changes) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__ self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name 'su', (bus_name, flags))) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout)

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files

edit retag flag offensive close merge delete

Comments

I don't have a fix, I just wanted to say that I also just received a jackal and the same thing happened to me. I ended up using a different controller connected to my laptop.

Airuno2L gravatar image Airuno2L  ( 2016-07-23 06:36:03 -0500 )edit

Did you receive it with a PS3 or PS4 controller?

tonybaltovski gravatar image tonybaltovski  ( 2016-07-23 17:51:02 -0500 )edit

I received it with a PS4 controller

Ashwin Mathur gravatar image Ashwin Mathur  ( 2016-07-23 21:27:01 -0500 )edit

Ashwin, did you get a chance to try re-pairing it with ds4drv-pair?

tonybaltovski gravatar image tonybaltovski  ( 2016-07-24 21:02:56 -0500 )edit

Airuno2L, did you also get a PS4 controller?

tonybaltovski gravatar image tonybaltovski  ( 2016-07-24 21:03:25 -0500 )edit

I got a PS4 controller but never got it working. Once I realized it wasn't working as described in the manual I threw it in storage and grabbed a controller I'm more familiar with. The manual is incorrect else where also, like it said the robot's IP was 192.168.1.1 but it was actually 192.168.1.11

Airuno2L gravatar image Airuno2L  ( 2016-07-25 07:22:07 -0500 )edit

Airuno2L, you are correct there are many discrepancies in the clearpath manual, but clearpath also sent us a "From the desk of the Robotsmiths" document which helped clear alot of the confusion created by the default clearpath manual. (Aside from the PS4 controller issue)

Ashwin Mathur gravatar image Ashwin Mathur  ( 2016-07-25 15:58:12 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-07-27 13:20:43 -0500

Ashwin Mathur gravatar image

updated 2016-07-29 23:13:50 -0500

Clearpath was able to assist me in solving this issue. Here are some of the things which could help solve your issue:

Firstly if you have sixad installed when you received your jackal then that needs to be removed using: sudo apt-get purge sixad

Unpair the controller: sudo bluez-test-device remove AC:FD:93:E2:C2:0A

Ensure that bluetooth is enabled: connmanctl enable bluetooth

Check to make sure bluetooth is enabled: sudo service bluetooth status

If bluetooth is not enabled start the bluetooth: sudo service bluetooth start

Also make sure the bluetootd is executable: ls -la /usr/sbin/bluetoothd

If not make it executable: sudo chmod +x /usr/sbin/bluetoothd

Restart the bluetooth: sudo service bluetooth restart

Finally, press the PS and share button simultaneously so the controller bluetooth is enabled for pairing and type: sudo ds4drv-pair

Hopefully that helps!!

edit flag offensive delete link more

Comments

Thanks for this. What do you mean by "search button" though?

Airuno2L gravatar image Airuno2L  ( 2016-07-29 06:41:42 -0500 )edit

Apologies Airuno2L, i meant to say share button.

Ashwin Mathur gravatar image Ashwin Mathur  ( 2016-07-29 23:14:16 -0500 )edit

Thanks for posting this Ashwin.

tonybaltovski gravatar image tonybaltovski  ( 2016-07-31 11:29:09 -0500 )edit
0

answered 2016-07-23 17:54:21 -0500

Does the light flash when you press the PS button? If not, try charging the controller. The sixad is only for PS3 controllers and should not be installed for a Jackal using the PS3 controller. If you believe that it lost its paring you can run ds4drv-pair which should repair it. All controllers are paired and tested prior to shipping the Jackal.

edit flag offensive delete link more

Comments

I tried the command and get the error shown above in my original question.

Ashwin Mathur gravatar image Ashwin Mathur  ( 2016-07-25 15:56:05 -0500 )edit

Question Tools

Stats

Asked: 2016-07-22 20:09:26 -0500

Seen: 2,192 times

Last updated: Jul 29 '16