![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
NHK2017 octopus robot
Dependencies: 2017NHKpin_config mbed FEP ikarashiMDC PID jy901 omni HMC6352 omni_wheel
Fork of KANI2017v2 by
bot/wheel_unit/wheel_unit.h
- Committer:
- number_key
- Date:
- 2017-09-13
- Revision:
- 23:37bb9afe9fdc
- Child:
- 26:7258d5ad0bff
File content as of revision 23:37bb9afe9fdc:
#ifndef WHEEL_UNIT_H #define WHEEL_UNIT_H #include "mbed.h" #include "pin_config.h" #include "omni.h" #include "ikarashiMDC.h" const int RS485_BAUD = 38400; class WheelUnit : Omni { public: WheelUnit(DigitalOut* RS485Controller, Serial* RS485); void moveXY(float X, float Y, float moment); void moveCircular(float r, float radian, float moment); private: //ikarashiMDC wheels[4]; ikarashiMDC wheels[4]; protected: }; #endif