pgsocks
31d7e57125
Implement simple SDK API
2023-02-21 15:08:56 -06:00
pgsocks
b415b9d591
Add simple drive function to API
...
The wheel speed function requires setting individual wheel speed. And
knowledge of the max and min values. The simple drive function can
accept x, y, and r speeds from -1 to 1, and will compute the wheel
speeds for the user to achieve the desired velocity.
2023-02-02 16:33:09 -06:00
pgsocks
60673a5283
Reorganize messages into module groups
2023-02-02 01:14:29 -06:00
pgsocks
35cc588ae9
Improve commenting and error checking
2023-02-02 01:14:29 -06:00
pgsocks
a283cad9ed
Refactor connection polling
2023-02-02 01:14:29 -06:00
pgsocks
6eb0d092e6
Read from multiple sockets
2023-02-02 01:14:29 -06:00
pgsocks
0cec23f7f7
Make two connections for SDK and device
2023-02-02 01:14:29 -06:00
pgsocks
51b8897d38
Make message poll wait indefinitely
2023-02-02 01:14:29 -06:00
pgsocks
e60aa4c2e3
Refactor for public API
2023-02-02 01:14:29 -06:00
pgsocks
8170b3aa90
Move messages to their own headers
2023-02-02 01:14:29 -06:00
pgsocks
dc1d5f77af
Add Set SDK Mode message
2023-02-02 01:14:29 -06:00
pgsocks
3a0656f4c4
Refactor set SDK connection message constructor
2023-02-02 01:14:29 -06:00
pgsocks
9ccc5cbca0
Refactor LED packet constructor
2023-02-02 01:14:29 -06:00
pgsocks
c1bb243211
Change Session to Client
2023-02-02 01:14:29 -06:00
pgsocks
d4e1817793
Add LED control packet
2023-02-02 01:14:29 -06:00
pgsocks
c721dc756c
Set SDK port back default removed seq_id bounds
2023-02-02 01:14:29 -06:00
pgsocks
71f01f93cf
Identical output to original Robomaster SDK
2023-02-02 01:14:29 -06:00
pgsocks
d47c817e0d
Initial Commit
2023-02-02 01:14:29 -06:00