forked from ros-drivers/joystick_drivers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ros-drivers#110 from honeybee-robotics-forks/indig…
…o-devel Adding additional documentation to ps3joy
- Loading branch information
Showing
4 changed files
with
95 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
## Troubleshooting ## | ||
------------------------- | ||
#### Issues pairing the PS3 joystick #### | ||
When pairing your joystick via bluetooth, you may recieve the following message on | ||
your terminal: | ||
``` | ||
Current Bluetooth master: 00:15:83:ed:3f:21 | ||
Unable to retrieve local bd_addr from `hcitool dev`. | ||
Please enable Bluetooth or specify an address manually. | ||
``` | ||
This would indicate that your bluetooth is disabled. To enable your bluetooth, try the | ||
following: | ||
|
||
1. Check the status of your bluetooth by entering the following: | ||
``` | ||
sudo systemctl status bluetooth | ||
``` | ||
You may see something like this: | ||
|
||
``` | ||
● bluetooth.service - Bluetooth service | ||
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled) | ||
Active: inactive (dead) | ||
Docs: man:bluetoothd(8) | ||
``` | ||
|
||
If you do, that means your bluetooth service is disabled. Turn enable it enter | ||
``` | ||
sudo systemctl start bluetooth | ||
sudo systemctl status bluetooth | ||
``` | ||
After running these commands your bluetooth service should be up and running: | ||
|
||
``` | ||
● bluetooth.service - Bluetooth service | ||
Loaded: loaded (/lib/systemd/system/bluetooth.service; disabled; vendor preset: enabled) | ||
Active: active (running) since Thu 2017-06-29 16:21:43 EDT; 16s ago | ||
Docs: man:bluetoothd(8) | ||
Main PID: 27362 (bluetoothd) | ||
Status: "Running" | ||
CGroup: /system.slice/bluetooth.service | ||
└─27362 /usr/local/libexec/bluetooth/bluetoothd | ||
``` | ||
Retry the commands that were mentioned in step 2 for pairing the PS3 joystick. | ||
|
||
2. Run the following command: | ||
``` | ||
hciconfig hci0 reset | ||
``` | ||
followed by: | ||
``` | ||
sudo bash | ||
rosrun ps3joy sixpair | ||
``` |