- Jan 30, 2017
-
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
- Jan 29, 2017
-
-
Jake authored
Prepared for parsing the new data formats. Data isn't formatted or parsed yet, though. No more memory leaks! Unfortunately each memory leak was replaced by a potential buffer overflow. Basically, the code was riddled with functions that accept a char ** data, which is malloced and then formatted. This was then leaked. Now, it accepts a char * data, which is allocated on the stack by the calling function. However, there is no bounds checking, because that is slightly more involved.
-
Jake authored
See todos in format_command and parse_packet.
-
dawehr authored
added the datatype parameter back into MessageType struct in commands.h because Jake actually does need it.
-
Jake authored
-
dawehr authored
- removed the "ID", datatype parameters from MessateType struct in commands.h - made equivalent changes in commands.c
-
dawehr authored
- removed every use of the "subtype" term - made the "type" term 16 bits - made sure that every reference to a message type is 16 bits and used correctly - simplified commands enum names - implemented setcontrol callback function that switch on the controller and P, I, D, setpoint value to be set and then set them - partly implemented getcontrol callback function - NOTE: setpoint is a double. this causes some problems.. - TODO: add setpoints for rate controllers - TODO: figure out what message ID I should send back when I get a getpid command
-
- Jan 28, 2017
-
-
dawehr authored
- Added a comment saying that we may not need the ID parameter on the MessageType Struct anymore. - Removed calls of the nature: "MessageTypes[TYPE_ID].ID" and replaced them with "TYPE_ID" because it is the same thing.. - Added function comments in callbacks.c - Simplified the callbacks.c by having a more generic setval, getval, respval callback function instead of a billion of them for each PID value.
-
dawehr authored
also added some more comments in both files
-
dawehr authored
-
dawehr authored
-
- Jan 27, 2017
- Jan 24, 2017
-
-
burneykb authored
-
burneykb authored
Ready to test the responses from quad->backend. Then create the correct response from backend->frontend and print nicely
-
burneykb authored
-
Jake Drahos authored
-
Jake Drahos authored
-
burneykb authored
-
burneykb authored
-
burneykb authored
-
burneykb authored
-
Jake Drahos authored
Height, Lat, and Long.
-
Jake Drahos authored
It's portable between quad and groundstation.
-
burneykb authored
-
burneykb authored
-
burneykb authored
-
burneykb authored
-
- Jan 23, 2017