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: biquadFilter mbed MODSERIAL
Diff: main.cpp
- Revision:
- 7:9af8fe930b3c
- Parent:
- 6:075b5c7c6220
- Child:
- 8:8e7c928aadc6
--- a/main.cpp Thu Nov 02 17:13:34 2017 +0000 +++ b/main.cpp Thu Nov 02 17:42:08 2017 +0000 @@ -481,7 +481,7 @@ // Waar komen Pstx en Psty vandaan en waar staan ze voor? En is dit maar voor een paal? float Pst(){ - Pstx=Pex+Vex*T; + Pstx=Pex+Vex*T; // ASDJFASDKGJKASGJASDGJLSDAGHJGDJKJHFGHJUIK<KTBYNUMI<OIUNYBTVRTBYNUMI<UMNYBTVfadhsgfjhghagfryestrjsghdbf Psty=Pey+Vey*T; touwlengtes(); Pex=Pstx; @@ -535,7 +535,7 @@ void zakker(){ if(Move_done==true){ //misschien moet je hier als voorwaarden een delta is 1 zetten // hierdoor wacht dit programma totdat de beweging klaar is - dLod=sqrt(pow(Lou,2)+pow(277.85,2))-Lou; //dit is wat je motoren moeten doen om te zakken + dLod=sqrt(pow(Lou,2)+pow(287.85,2))-Lou; //dit is wat je motoren moeten doen om te zakken dLbd=sqrt(pow(Lbu,2)+pow(277.85,2))-Lbu; // dat laatste getal moet nog aangepast worden dLrd=sqrt(pow(Lru,2)+pow(277.85,2))-Lru; rotzo=dLod/omtrekklosje;