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 ros_lib_kinetic
Diff: definitions.h
- Revision:
- 1:1ac7d472cfa2
- Parent:
- 0:3a767f41cf04
- Child:
- 2:0537a8007a39
--- a/definitions.h Wed Jan 31 05:24:12 2018 +0000 +++ b/definitions.h Tue Feb 06 20:50:55 2018 +0000 @@ -89,7 +89,8 @@ extern struct fields control; extern struct fields rosInput; -extern int currentPosition; +extern volatile int currentPosition; +extern int prevPosition; extern bool stall; extern bool liftFlag; extern bool motorFlag; @@ -103,10 +104,12 @@ extern Ticker dynaInt; extern Ticker imuInt; extern Ticker rosInt; +extern Ticker liftInt; +extern Timer filter_hall1; extern PwmOut liftSpeed; extern DigitalOut liftDirection; -extern DigitalIn hallSensor1; -extern DigitalIn hallSensor2; +//extern DigitalIn hallSensor1; +//extern DigitalIn hallSensor2; extern DigitalOut LED; extern BNO055 IMU; extern DynamixelClass gimbal;