pgsocks
c0f2b11db5
Use assigned address from SetSdkConnection instead of hard-coded address
2024-04-30 13:22:57 -05:00
pgsocks
11c3ac43fb
Add robot gimbal position push topic
2024-04-25 10:30:04 -05:00
pgsocks
23a07f99d9
Add robot position push topic
2024-04-25 09:52:58 -05:00
pgsocks
19861ca234
fixup! Integrate new message into robo easy
2024-04-11 13:38:27 -05:00
pgsocks
4d11e5b66f
Integrate new message into robo easy
2024-04-11 12:27:09 -05:00
pgsocks
72b9a2ba92
Start adding push message support
2024-04-10 13:49:18 -05:00
pgsocks
9de914dfa8
Fetch SDL2 in CMake
2023-08-10 10:45:53 -05:00
pgsocks
d4123f440e
Add video stream support
2023-08-07 12:02:21 -05:00
pgsocks
90552382db
Add blaster fire message
2023-05-23 10:15:34 -05:00
pgsocks
f2918b441d
Change name of Robot struct to include in C++
2023-03-15 14:51:00 -05:00
pgsocks
150c450210
Add joystick input
2023-02-22 10:54:52 -06:00
pgsocks
19993ced8e
Add mouse control for turret
2023-02-22 09:56:40 -06:00
pgsocks
2c42352c85
Add gimble control to simple robot API
2023-02-21 15:29:25 -06:00
pgsocks
0b238ce048
Add gimbal control message
2023-02-21 15:19:20 -06:00
pgsocks
2258812fc2
Increment major version
...
The low level API needed to change to accomodate the hight level API,
which is a major revision.
2023-02-21 15:08:56 -06:00
pgsocks
31d7e57125
Implement simple SDK API
2023-02-21 15:08:56 -06:00
pgsocks
af5a6efdb3
Add function to get module ID from command ID
...
The module ID is always the same for a given command ID,
so it can be easily mapped with a switch function.
2023-02-21 14:23:58 -06:00
pgsocks
6b4c891b36
Make preamble a const
...
The preamble is always 0x55. It should be a const in the header.
2023-02-21 14:23:58 -06:00
pgsocks
c4c5e394af
Add function to get size of message by command ID
2023-02-21 14:23:58 -06:00
pgsocks
77000b525f
Combine cmdid and cmdset into cmd code
2023-02-21 14:23:58 -06:00
pgsocks
6e10db0e07
Remove high and low byte union for message length
2023-02-21 14:23:58 -06:00
pgsocks
ca82982a76
Start on high level interface
2023-02-21 14:23:56 -06:00
pgsocks
138f758898
Remove comments
2023-02-21 13:59:27 -06:00
pgsocks
53b127232c
Remove code for shell command utility
2023-02-21 13:59:27 -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
79682c1d04
Add strafing
2023-02-02 01:14:29 -06:00
pgsocks
be4c6f9bb5
Link SDL statically
2023-02-02 01:14:29 -06:00
pgsocks
a6cc1eca88
Control individual wheels
2023-02-02 01:14:29 -06:00
pgsocks
8a34d18eac
Control robot with WASD keys
2023-02-02 01:14:29 -06:00
pgsocks
2b0b5e7b4f
Add SDL to CMake
2023-02-02 01:14:29 -06:00
pgsocks
60673a5283
Reorganize messages into module groups
2023-02-02 01:14:29 -06:00
pgsocks
f0befa0b7b
Add heartbeat message
2023-02-02 01:14:29 -06:00
pgsocks
3a2afcc93a
Make ack bit and receiver byte parameters
2023-02-02 01:14:29 -06:00
pgsocks
1eca1b25e7
Add more messages
2023-02-02 01:14:29 -06:00
pgsocks
07a0d7eca7
Make shell command take run arguments
2023-02-02 01:14:29 -06:00
pgsocks
35cc588ae9
Improve commenting and error checking
2023-02-02 01:14:29 -06:00
pgsocks
638fcd3fe2
Check for invalid max socket fd before polling
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
0699fa5906
Fix crc validation
2023-02-02 01:14:29 -06:00
pgsocks
ab22567f65
Fix warning
2023-02-02 01:14:29 -06:00
pgsocks
40325fd5f7
Fix warning
2023-02-02 01:14:29 -06:00
pgsocks
e60aa4c2e3
Refactor for public API
2023-02-02 01:14:29 -06:00
pgsocks
dab8e0029e
Make a struct for connections
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
a1c9c2fc00
Improve commenting
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