- Feb 03, 2017
- Feb 02, 2017
-
-
burneykb authored
-
burneykb authored
-
Jake Drahos authored
There might be some lingering old uses of "xyzcontrol" instead of "xyzparam", but whatever.
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
burneykb authored
-
burneykb authored
-
burneykb authored
cmHandler ready for cmToStr() and strToCm() functions
-
burneykb authored
-
- Feb 01, 2017
-
-
dawehr authored
-
bbartels authored
-
dawehr authored
-
dawehr authored
see cb_setparam, cb_getparam
-
dawehr authored
- Realised that controller value may get confused with the actual value of the PID terms in the controller. To avoid this confusion in the future I have refactored things referencing the PID constant to now be called "control_parameter" - There are quite a few instances of variables that changed. - Sorry Jake
-
- Jan 31, 2017
-
-
Jake Drahos authored
-
Jake Drahos authored
Hopefully there are no copy-paste bugs
-
Jake Drahos authored
-
Jake Drahos authored
-
dawehr authored
-
dawehr authored
I was not copying the float value into the array correctly. Hopefully I have it right now... will check with eric when he gets back from making tea.
-
- Jan 30, 2017
-
-
Joseph Bush authored
- the desired format is in the comment above the funciton - format should be controller ID, controller value ID, controller value - should now be sending the data in the correct format
-
GroundStation authored
-
bbartels authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
Jake Drahos authored
-
dawehr authored
changed getcontrol to respond with the same message ID that was received from groundstation in the original getcontrol command
-
dawehr authored
- FIXME: there are still a few issues making it so that setting and getting setpoints may not work
-
dawehr authored
- added some comments in commands.c/h about usage of the file - added a MAX_CONTROLLER_ID and MAX_CONTROL_VAL_ID to the enums in commands.h - implemented cb_set_control in callbacks.c to work with the new parameter struct - changes the parameter_struct to now contain an array of pid_controllers instead of a bunch of random PID_t members - the new parameter_struct array can now be accessed by controller ID as defined in commands.h
-
- 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.
-
Jake authored
-