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 ros_lib_melodic
Revision 2:aeaa1c1e0d33, committed 2021-05-27
- Comitter:
- krogedal
- Date:
- Thu May 27 19:26:21 2021 +0000
- Parent:
- 1:7c355adbc977
- Child:
- 3:4b6080e86761
- Commit message:
- moved back to mbed 2.0, as this is required for ros melodic libs to work
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/mbed.bld Thu May 27 19:26:21 2021 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/ros_lib_melodic.lib Thu May 27 19:26:21 2021 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/garyservin/code/ros_lib_melodic/#fa426560b283
--- a/mbed-os.lib Thu May 27 18:53:26 2021 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://github.com/ARMmbed/mbed-os/#b1796dedeb8accde1cbaecf136fab96895e23d81
--- a/src/main.cpp Thu May 27 18:53:26 2021 +0000
+++ b/src/main.cpp Thu May 27 19:26:21 2021 +0000
@@ -37,8 +37,8 @@
#define PI 3.1415
#define ENCODER_PERIOD 0.05 //encoder sampling period in seconds (currently 1/20 sec)
#define ENCODER_CPR 980 //clicks per revolution
-#define L_MAX_SPEED 1
-#define R_MAX_SPEED 1
+#define L_MAX_SPEED 1.5
+#define R_MAX_SPEED 1.5
/* Functionality Summary
@@ -64,8 +64,8 @@
while (true) {
leftCtrl.setSpeed(0.5);
- ThisThread::sleep_for(3s);
+ //ThisThread::sleep_for(3s);
leftCtrl.setSpeed(1.2);
- ThisThread::sleep_for(3s);
+ //ThisThread::sleep_for(3s);
}
}