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
Diff: ros_functions.cpp
- Revision:
- 3:527f0b949839
- Parent:
- 2:0537a8007a39
- Child:
- 4:89ebfa37663b
--- a/ros_functions.cpp Thu Feb 08 22:23:40 2018 +0000
+++ b/ros_functions.cpp Thu Feb 08 22:55:15 2018 +0000
@@ -6,7 +6,7 @@
#include <std_msgs/Float32MultiArray.h>
#include <prototypes.h>
-int h = 0;
+int h = 0; //variable used to reset the currentPosition value when switching input direction
void module_commandCB(const std_msgs::Float32MultiArray& command_data){