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.
Diff: main.cpp
- Revision:
- 5:9f1549deeb9c
- Parent:
- 4:3f8406ea85e0
- Child:
- 6:134b145f5d54
--- a/main.cpp Mon May 02 10:03:00 2022 +0000
+++ b/main.cpp Mon May 02 10:08:14 2022 +0000
@@ -15,7 +15,7 @@
#define GEAR_RATIO 56.0f
#define VOLT_CMD 8.0f // unit(voltage)
-//AAAAAAAAAAAAAA
+
#define CONTROLLER 1 // 0 for transfer function 1 for control
@@ -117,8 +117,8 @@
#if CONTROLLER == 1
if(button_state == true){
pub_count++;
- VELOCITY_SPEED_A = -10.0f;
- VELOCITY_SPEED_B = -10.0f;
+// VELOCITY_SPEED_A = -10.0f;
+// VELOCITY_SPEED_B = -10.0f;
ReadVelocity();
control_speed();
if (pub_count >= 10){