
Example project
Dependencies: PM2_Libary Eigen
Revision 45:d9e6e89210f9, committed 2022-05-14
- Comitter:
- pmic
- Date:
- Sat May 14 17:32:16 2022 +0200
- Parent:
- 44:dd746bf0e81f
- Child:
- 46:41c9367da539
- Commit message:
- Final test
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sat May 14 16:07:06 2022 +0200 +++ b/main.cpp Sat May 14 17:32:16 2022 +0200 @@ -215,7 +215,7 @@ user_led = !user_led; // do only output via serial what's really necessary (this makes your code slow) - printf("%f, %f\r\n", wheel_speed_actual(0), wheel_speed_actual(1)); + //printf("%f, %f\r\n", wheel_speed_actual(0), wheel_speed_actual(1)); // read timer and make the main thread sleep for the remaining time span (non blocking) int main_task_elapsed_time_ms = std::chrono::duration_cast<std::chrono::milliseconds>(main_task_timer.elapsed_time()).count();