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 Servo ros_lib_kinetic
Diff: Motors/Motor.h
- Revision:
- 10:51dd168b5a96
- Parent:
- 9:326b8f261ef0
--- a/Motors/Motor.h Sat Jan 04 21:35:25 2020 +0000 +++ b/Motors/Motor.h Mon Jan 06 20:38:07 2020 +0000 @@ -58,7 +58,7 @@ /*-------------------------------------------------------------------------------- -----------------------------------Functions--------------------------------------- --------------------------------------------------------------------------------*/ -void Check_for_obstacles(uint8_t TOFRange[4]); //Obstacle avoidance functionality +void Check_for_obstacles(float TOFRange[4]); //Obstacle avoidance functionality void update_power_levels(float vBatt); //Sends power level to the LED class for further processing void MotorKeySub(const std_msgs::UInt8 &keyPress); void servoKeySub(const std_msgs::UInt8 &ServoKeyPress); @@ -71,6 +71,6 @@ static int IncSize; //Increment size for servo movment in increments of 1 - 20 degrees - +extern float *TOFrangePtr[4]; #endif \ No newline at end of file