- Feb 01, 2017
-
-
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
- 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
-
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
-
-
dawehr authored
added the datatype parameter back into MessageType struct in commands.h because Jake actually does need it.
-
dawehr authored
Conflicts: groundStation/src/backend/commands.c quad/sw/modular_quad_pid/src/callbacks.c quad/sw/modular_quad_pid/src/initialize_components.c
-
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
there is now no such thing as a message sub type. There is only a message type. this simplifies the commands struct greatly. the commands.c file was aprox 1400 lines and now it is about 150...
-
dawehr authored
-
dawehr authored
-
dawehr authored
-
dawehr authored
-
dawehr authored
-
- Jan 27, 2017
-
-
jpbush authored
-
dawehr authored
-
dawehr authored
-
dawehr authored
-
jpbush authored
There are still more changes needed to have full functionality
-
jpbush authored
latitude functions are now y, and longitude functions are now x instead. I also recognize that setting an actual lat, lon set point in the future may be useful so I have retained those functions.
-
burneykb authored
-
dawehr authored
-
burneykb authored
-
dawehr authored
It now works on the quadcopter. Messages weren't being processed in protection loop before
-
- Jan 25, 2017
-
-
dawehr authored
-
dawehr authored
-
bbartels authored
- The regression test let to a refactor for the circ buffer
-
bbartels authored
-
bbartels authored
currently one test is failing
-
dawehr authored
Fixed issue with printf() hanging. Removed all printfs(). Don't use them! Fixed issue with mismatched checksums not getting consumed
-
- Jan 24, 2017