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 roscar_ver_20190501_anglechange_copy ros_lib_kinetic roscar_ver_20190501_copy
Diff: main.cpp
- Revision:
- 3:6690a73cf982
- Parent:
- 2:8b3e4bfa29e5
- Child:
- 4:26006d815db0
--- a/main.cpp	Fri Aug 24 20:26:57 2018 +0000
+++ b/main.cpp	Fri Aug 24 20:30:13 2018 +0000
@@ -18,7 +18,7 @@
 }
 // */
 
-ros::Subscriber<std_msgs::> sub("cmd_vel", &handlerFunction);
+ros::Subscriber<std_msgs::Char> sub("cmd_vel", &handlerFunction);
 
 int main() {
     nh.initNode();