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_kinetic
Revision 2:fcf8a7739eed, committed 2018-05-02
- Comitter:
- WeberYang
- Date:
- Wed May 02 06:12:23 2018 +0000
- Parent:
- 1:ebc1536af497
- Commit message:
- new car first version
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
| mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Apr 12 04:51:13 2018 +0000
+++ b/main.cpp Wed May 02 06:12:23 2018 +0000
@@ -1,4 +1,4 @@
-#include "mbed.h"
+#include "mbed.h"
#include <ros.h>
#include <ros/time.h>
#include <std_msgs/Empty.h>
@@ -531,7 +531,8 @@
motor_rpm_l = 0;
}
- Sendmessage(motor_rpm_r,motor_rpm_l);
+// Sendmessage(-motor_rpm_r,-motor_rpm_l);
+ Sendmessage(-motor_rpm_l,-motor_rpm_r);
old_seq = old_seq + 1;
--- a/mbed.bld Thu Apr 12 04:51:13 2018 +0000 +++ b/mbed.bld Wed May 02 06:12:23 2018 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/7130f322cb7e \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/cbbeb26dbd92 \ No newline at end of file