cristicsordas / raspi_robot

0 stars 0 forks source link

Implement I2C driver for the PCA9685 controller #3

Closed cristicsordas closed 1 year ago

cristicsordas commented 1 year ago

Implementation of a linux driver for the PCA9685 controller. DoD: The commands for moving the wheels sent from a socket client should be correctly processed

cristicsordas commented 1 year ago

Implementation commits can be found here: 08700a4a0fc44f712919389077988b5f2b3dcf16 f725c811ea40a8bb40e91ce5861abaf656a1dff9 746cedf2bae8a85d5f705550cfc6e0ef6b60f67c 5e8e932c5a0f2f432a174d7c8b66c25b83a20048 42579d85fad3be24e89503705ff49c71b7ea18e7 af4c6412955debe09d303675455c060ae54f83ea 514c0e8b3649cd34e229134d02a69e9083e944d2

3879ba87211fdf51f0749572ce33783626867c74

Tested with the 4WD SmartCar Freenovo robot: command "1 2 0 2000" sent from the socket client : the left wheel moves forward command "1 2 1 2000" sent from the socket client : the left wheel moves backward command "1 3 0 2000" sent from the socket client : the right wheel moves forward command "1 0" stops the moving wheels command "1 6 0 2000 0 2000 0 2000 0 2000" sent from the socket client : all wheels move forward