Commit Graph
14 Commits
Author SHA1 Message Date
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 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 f0befa0b7b Add heartbeat message 2023-02-02 01:14:29 -06:00
pgsocks 1eca1b25e7 Add more messages 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 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