Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos Motor LSM9DS1_Library_cal X_NUCLEO_53L0A1
Diff: RobotController.cpp
- Revision:
- 5:77c6821ae418
- Child:
- 8:bfa4bf23522c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RobotController.cpp Sun Apr 14 03:23:36 2019 +0000 @@ -0,0 +1,21 @@ +#include "RobotController.h" + +RobotController::RobotController(PinName leftWheelPwm, PinName leftWheelFwd, + PinName leftWheelRev, PinName rightWheelPwm, PinName rightWheelFwd, + PinName rightWheelRev, PinName leftEncoderIn, PinName rightEncoderIn) : + leftWheel(leftWheelPwm, leftWheelFwd, leftWheelRev), + rightWheel(rightWheelPwm, rightWheelFwd, rightWheelRev), + leftEncoder(leftEncoderIn), rightEncoder(rightEncoderIn) { +} + +float* RobotController::obstacleDetection() { + +} + +void RobotController::followTrajectory(float* trajectory) { + +} + +void RobotController::toOrigin(float* trajectory) { + +} \ No newline at end of file