Team Virgo v3 / Orion_newPCB_test_LV

Dependencies:   mbed-rtos mbed QEI BNO055 MPU6050_DMP_Nucleo-I2Cdev virgo3_imuHandler_Orion_PCB MAX17048 Servo

Fork of Orion_newPCB_test by Team Virgo v3

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers kinematics.h Source File

kinematics.h

00001 #ifndef kinematics_H
00002 #define kinematics_H
00003 
00004 #include "mbed.h"
00005 #include "generalFunctions.h"
00006 #include "config.h"
00007 
00008 class kinematics
00009 {
00010 public:
00011 
00012     kinematics();    
00013     void VW_RPM(float velocity, float omega, float* left_rpm, float* right_rpm);
00014 
00015 private:
00016     float wheelDia, trackWidth;
00017     
00018     static float const min_rpm = 500;
00019     static float const max_rpm = 850;
00020 };
00021 
00022 
00023 #endif