Skip to content
Snippets Groups Projects
  1. Jan 30, 2017
    • 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
      added the datatype parameter back into MessageType struct in commands.h... · fe49e94b
      dawehr authored
      added the datatype parameter back into MessageType struct in commands.h because Jake actually does need it.
      fe49e94b
    • dawehr's avatar
      Merge branch 'master' into commands-dev · c175e0c2
      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
      c175e0c2
    • dawehr's avatar
      removed the "data_type" struct from commands.h. · 0a1af382
      dawehr authored
      - removed the "ID", datatype parameters from MessateType struct in commands.h
      - made equivalent changes in commands.c
      0a1af382
    • 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
  6. Jan 24, 2017
Loading