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.
Dependents: kinematics_controlv4 kinematics_control_copyfds Robot_control
Revision 1:03e2651b4a24, committed 2017-11-01
- Comitter:
- peterknoben
- Date:
- Wed Nov 01 11:46:48 2017 +0000
- Parent:
- 0:9c61094ffaac
- Child:
- 2:43a6498000e8
- Commit message:
- f
Changed in this revision
| Movement.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Movement.cpp Tue Oct 31 14:34:37 2017 +0000
+++ b/Movement.cpp Wed Nov 01 11:46:48 2017 +0000
@@ -20,7 +20,8 @@
direction[1]=-1;
}
else if(mode==3){
- //servo
+ direction[0]=0;
+ direction[1]=0;
}
else if(mode==4){
direction[0]=-1;
@@ -31,7 +32,8 @@
direction[1]=1;
}
else if(mode==6){
- //servo
+ direction[0]=0;
+ direction[1]=0;
}
else{
//Error, unavailable mode