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: mbed
Diff: Floors/Floors.cpp
- Revision:
- 8:90e789413e0b
- Parent:
- 7:0d9cee90ab0d
- Child:
- 9:5e53bca2a4c2
--- a/Floors/Floors.cpp Sun Apr 14 17:07:02 2019 +0000 +++ b/Floors/Floors.cpp Tue Apr 16 16:16:08 2019 +0000 @@ -21,7 +21,10 @@ } void Floors::update(){ - srand(time(0)); // initializes random number generator + _current_pos = get_pos(); + _current_vel = get_velocity(); + + }