Skip to content
Snippets Groups Projects
  1. Feb 13, 2017
  2. Feb 05, 2017
  3. Feb 03, 2017
  4. Feb 02, 2017
  5. Feb 01, 2017
  6. Jan 31, 2017
  7. Jan 30, 2017
  8. Jan 29, 2017
    • Jake's avatar
      Restructured packet and command parsing · c9879e71
      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.
      c9879e71
    • Jake's avatar
      Compiling, but format is wrong · e2292305
      Jake authored
      See todos in format_command and parse_packet.
      e2292305
    • 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
    • Jake's avatar
      Implemented FindCommand · 5fab267f
      Jake authored
      5fab267f
    • 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
  9. Jan 28, 2017
  10. Jan 27, 2017
Loading