« Previous | Next » 

Revision 7cb5de78

ID7cb5de78f535a69b8104606a6eac7994534f3f61
Parent 3ef02dd3
Child 14736c0c

Added by Ben Wasserman almost 3 years ago

Updated encoder node code with preliminary driver functionality.
Renamed encoder_state.msg to encoders_state.msg.
Added functions to encoders.cpp to send message of current encoder state.
Added function headers to encoders.h.
Added function to encoders.cpp to convert to different units.
Added additional global variables to store encoder state.
Updated encoder_state.msg and query_encoders.srv with additional fields for units.
Node is not completed. Still requires lowest level driver functionality. Needs constants for encoders and wheels. Needs initialization in main for encoders_state publisher. Needs implementation of encoders_set_mode, which should change what units the encoders node publishes the encoders_state message, and with which frequency.
I know this is bad practice, but I have not tried compiling my changes. I broke my computer's ability to compile ROS code, so this is untested. However, it should work. SORRY.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences