officinerobotiche / uNAV.X

Project MPLABX for drive uNAV on dsPIC33
http://rnext.it/project/unav/
MIT License
9 stars 2 forks source link

Split motion.h #31

Closed rbonghi closed 9 years ago

rbonghi commented 9 years ago

To be readable motion.h I would like to split motion.h in to files, the first one will be called motors.h with all command about motors (ex. motors, pid, etc etc) and second motion.h with all messages about movement (ex. twist, odometry, etc etc)

An a first list for motors.h:

  1. constraint_t
  2. motor_t
  3. pid_control_t
  4. parameter_motor_t
  5. enable_motor_t

For motion.h:

  1. emergency_t
  2. coordinate_t
  3. parameter_unicycle_t
  4. velocity_t -> to be called twist_t
katodo commented 9 years ago

Ok :+1:

bobboteck commented 9 years ago

Good idea!

rbonghi commented 9 years ago

In according with #27 and #44 the motion.h is split in two files motion.h and motor.h

rbonghi commented 9 years ago

946441d16b39298b4ee3565cc16c71526bcde83c Added information about temperature