JacSchn / 5G-Beamforming-from-Visual-and-Lidar-Rendering

Regent Scholarship Research with UWW where we are using machine learning in an autonomous driving lab to collect visual and lidar-based models to have optimal guidance of 60GHz Wireless Network.
GNU Lesser General Public License v2.1
2 stars 1 forks source link

Convenience Script for Connection Sony PS4 Controller to Nano #22

Open flynn248 opened 2 years ago

flynn248 commented 2 years ago

Jetpack v4.5.1 has an issue connecting to the Sony PS4 after its initial pairing. Currently, the quickest way to reconnect the controller is to use the $ bluetoothctl command. Next, use $ connect and then hit \ and an address will appear. Since we have only connected one bluetooth device to the Nano, this is the PS4 controller. Now, DO NOT hit enter yet. First, put the PS4 controller into bluetooth pairing mode by pressing and holding the Share and PS button. The LED will flicker rapidly. Now the device can be connected by hitting enter on the terminal. If sucessful, the LED on the controller will be a solid color and the terminal should say it successfully connected. It is then alright to $ exit the bluetoothctl session.

The convience script will handle the few steps that need to be done in the terminal automatically when it is launched. It will be important still that the controller is in pairing mode to avoid potential connection issues. This issue may have been fixed in Jetpack v4.6.0, however, there are other bugs related to that release and donkeycar, so we will not be upgrading to that version until those issues are resolved.