Aethelred-Von-Stick / optimus_pi

Software for rasberry pi robot.
MIT License
0 stars 0 forks source link

Read input from dualshock 4 #1

Closed Aethelred-Von-Stick closed 9 months ago

Aethelred-Von-Stick commented 1 year ago

We should be able to connect a ds4 to the pi via bluetooth and collect inputs in python.

Aethelred-Von-Stick commented 9 months ago

This has been done, but I wanted to put the robot into different modes with the controller. e.g. calibration mode, manual drive mode, arcade mode, different autonomous modes etc. I'll have to rethink how I'm doing this with pyPS4 controller as it doesn't look like different controller objects can be listening at the same time.

Aethelred-Von-Stick commented 9 months ago

This has been done, but I wanted to put the robot into different modes with the controller. e.g. calibration mode, manual drive mode, arcade mode, different autonomous modes etc. I'll have to rethink how I'm doing this with pyPS4 controller as it doesn't look like different controller objects can be listening at the same time.

This has been done using getattr in ModeSelect #7