Skip to content
Snippets Groups Projects
  1. Jan 30, 2017
    • dawehr's avatar
      Implemented getcontrol, setcontrol in callbacks.c · 00686bfd
      dawehr authored
      - FIXME: there are still a few issues making it so that setting and getting setpoints may not work
      00686bfd
    • dawehr's avatar
      Changed the parameter struct in modular_structs to have an array of PID_t types · 1ac62e75
      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
      1ac62e75
  2. Jan 29, 2017
    • dawehr's avatar
      - Made continuity changes throughout code base to match the new commands.c/h · 19fedcae
      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
      19fedcae
  3. Jan 28, 2017
  4. Jan 27, 2017
  5. Jan 25, 2017
    • dawehr's avatar
      Debugging communication · 42ba597d
      dawehr authored
      Fixed issue with printf() hanging. Removed all printfs(). Don't use them!
      Fixed issue with mismatched checksums not getting consumed
      42ba597d
  6. Jan 24, 2017
  7. Jan 21, 2017
  8. Jan 20, 2017
  9. Jan 04, 2017
  10. Dec 03, 2016
  11. Oct 18, 2016
  12. Oct 17, 2016
Loading