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: ros_lib_kinetic
Diff: HLComms.cpp
- Revision:
- 14:54c3759e76ed
- Parent:
- 13:a373dfc57b89
- Child:
- 17:bbaf3e8440ad
diff -r a373dfc57b89 -r 54c3759e76ed HLComms.cpp
--- a/HLComms.cpp Wed Aug 29 10:47:02 2018 +0000
+++ b/HLComms.cpp Wed Aug 29 16:31:42 2018 +0000
@@ -109,7 +109,7 @@
stringstream(tokens[8]) >> input.psi[2][2];
stringstream(tokens[9]) >> input.duration;
- if(input.psi[0][0] < 0.0) input.psi[0][0] = 0.0;
+ /*if(input.psi[0][0] < 0.0) input.psi[0][0] = 0.0;
if(input.psi[0][1] < 0.0) input.psi[0][1] = 0.0;
if(input.psi[0][2] < 0.0) input.psi[0][2] = 0.0;
if(input.psi[1][0] < 0.0) input.psi[1][0] = 0.0;
@@ -118,7 +118,7 @@
if(input.psi[2][0] < 0.0) input.psi[2][0] = 0.0;
if(input.psi[2][1] < 0.0) input.psi[2][1] = 0.0;
if(input.psi[2][2] < 0.0) input.psi[2][2] = 0.0;
- if(input.duration < 0.0) input.duration = 0.0;
+ if(input.duration < 0.0) input.duration = 0.0;*/
/*if( input.psi[2][0] > 0.14 ) {
if(IS_PRINT_OUTPUT) printf("Hi\n\r");
}*/