RoboManipal / Libraries

Set of personal libraries used by RoboManipal
Apache License 2.0
0 stars 0 forks source link

Cytron PS2 Controller Library #13

Closed akshatha-k closed 3 years ago

akshatha-k commented 5 years ago

Task Priority : HIGH

Task Description Library for a PS2 Controller to read joystick values and get desired angle and speed for bot motion.

Person assigned: @akshatha-k

Original Cytron PS2 Shield library reference: here

Must Haves

akshatha-k commented 5 years ago

Tried to solve the equations to map a square to a circle as the values not lying on the axis were reported to be higher , using the approach followed for a unit square to circle mapping here But the equations for the transformed co-ordinates were solutions of quadratic and bi-quadratic equations respectively. Hence, the code is mapped to modify all values greater than 127 to 127.

TheProjectsGuy commented 5 years ago

Compatibility issues