PgSocks
6b4c891b36
Make preamble a const
...
The preamble is always 0x55. It should be a const in the header.
2 years ago
PgSocks
c4c5e394af
Add function to get size of message by command ID
2 years ago
PgSocks
77000b525f
Combine cmdid and cmdset into cmd code
2 years ago
PgSocks
6e10db0e07
Remove high and low byte union for message length
2 years ago
PgSocks
ca82982a76
Start on high level interface
2 years ago
PgSocks
138f758898
Remove comments
2 years ago
PgSocks
53b127232c
Remove code for shell command utility
2 years ago
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.
2 years ago
PgSocks
79682c1d04
Add strafing
2 years ago
PgSocks
be4c6f9bb5
Link SDL statically
2 years ago
PgSocks
a6cc1eca88
Control individual wheels
2 years ago
PgSocks
8a34d18eac
Control robot with WASD keys
2 years ago
PgSocks
2b0b5e7b4f
Add SDL to CMake
2 years ago
PgSocks
60673a5283
Reorganize messages into module groups
2 years ago
PgSocks
f0befa0b7b
Add heartbeat message
2 years ago
PgSocks
3a2afcc93a
Make ack bit and receiver byte parameters
2 years ago
PgSocks
1eca1b25e7
Add more messages
2 years ago
PgSocks
07a0d7eca7
Make shell command take run arguments
2 years ago
PgSocks
35cc588ae9
Improve commenting and error checking
2 years ago
PgSocks
638fcd3fe2
Check for invalid max socket fd before polling
2 years ago
PgSocks
a283cad9ed
Refactor connection polling
2 years ago
PgSocks
6eb0d092e6
Read from multiple sockets
2 years ago
PgSocks
0cec23f7f7
Make two connections for SDK and device
2 years ago
PgSocks
51b8897d38
Make message poll wait indefinitely
2 years ago
PgSocks
0699fa5906
Fix crc validation
2 years ago
PgSocks
ab22567f65
Fix warning
2 years ago
PgSocks
40325fd5f7
Fix warning
2 years ago
PgSocks
e60aa4c2e3
Refactor for public API
2 years ago
PgSocks
dab8e0029e
Make a struct for connections
2 years ago
PgSocks
8170b3aa90
Move messages to their own headers
2 years ago
PgSocks
dc1d5f77af
Add Set SDK Mode message
2 years ago
PgSocks
3a0656f4c4
Refactor set SDK connection message constructor
2 years ago
PgSocks
9ccc5cbca0
Refactor LED packet constructor
2 years ago
PgSocks
c1bb243211
Change Session to Client
2 years ago
PgSocks
d4e1817793
Add LED control packet
2 years ago
PgSocks
a1c9c2fc00
Improve commenting
2 years ago
PgSocks
c721dc756c
Set SDK port back default removed seq_id bounds
2 years ago
PgSocks
71f01f93cf
Identical output to original Robomaster SDK
2 years ago
PgSocks
d47c817e0d
Initial Commit
2 years ago