Revised for integration

Dependencies:   QEI2 chair_BNO055 PID VL53L1X_Filter

Embed: (wiki syntax)

« Back to documentation index

Wheelchair Class Reference

Wheelchair Class Reference

Wheelchair class Used for controlling the smart wheelchair. More...

#include <wheelchair.h>

Public Member Functions

 Wheelchair (PinName xPin, PinName yPin, Serial *pc, Timer *time, QEI *wheel, QEI *wheelS, VL53L1X **ToF)
 Create Wheelchair Object with x,y pin for analog dc output serial for printout, and timer.
void move (float x_coor, float y_coor)
 Move using the joystick.

Detailed Description

Wheelchair class Used for controlling the smart wheelchair.

Definition at line 39 of file wheelchair.h.


Constructor & Destructor Documentation

Wheelchair ( PinName  xPin,
PinName  yPin,
Serial *  pc,
Timer *  time,
QEI *  wheel,
QEI *  wheelS,
VL53L1X **  ToF 
)

Create Wheelchair Object with x,y pin for analog dc output serial for printout, and timer.

Definition at line 90 of file wheelchair.cpp.


Member Function Documentation

void move ( float  x_coor,
float  y_coor 
)

Move using the joystick.

Definition at line 121 of file wheelchair.cpp.