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: Encoder MODSERIAL mbed
Fork of DEMO by
Diff: main.cpp
- Revision:
- 5:9651c3f7602b
- Parent:
- 4:836d7f9ac0ca
- Child:
- 6:9943f69ff668
diff -r 836d7f9ac0ca -r 9651c3f7602b main.cpp
--- a/main.cpp Thu Nov 02 11:29:50 2017 +0000
+++ b/main.cpp Thu Nov 02 11:47:56 2017 +0000
@@ -210,13 +210,17 @@
{
if (autodemo_done == 0)
{
- AutoSetpointRobotForward (); //verander de se
+ SetPx = 0.38 + 0.15;
+ SetPy = 0.30;
MeasureAndControl ();
- AutoSetpointRobotHome ();
+ SetPx = 0.38;
+ SetPy = 0.30;
MeasureAndControl ();
- AutoSetpointRobotDown ();
+ SetPx = 0.38;
+ SetPy = 0.30 - 0.30;
MeasureAndControl ();
- AutoSetpointRobotHome ();
+ SetPx = 0.38;
+ SetPy = 0.30;
MeasureAndControl ();
autodemo_done = true;
}
