for ros

Dependencies:   QEI chair_BNO055 pid ros_lib_kinetic

Dependents:   wheelchaircontrolrealtimeROS

Fork of wheelchaircontrol by ryan lin

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 *qei)
 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 37 of file wheelchair.h.


Constructor & Destructor Documentation

Wheelchair ( PinName  xPin,
PinName  yPin,
Serial *  pc,
Timer *  time,
QEI *  qei 
)

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

Definition at line 36 of file wheelchair.cpp.


Member Function Documentation

void move ( float  x_coor,
float  y_coor 
)

move using the joystick

Definition at line 54 of file wheelchair.cpp.