...
Code Block | ||
---|---|---|
| ||
#include "CompInterface.h" #include "CollisionAvoidanceFlightController.h" CompInterface comp; void setup() { reset(); } void loop() { comp.resetTick(); tick(); } |
HelloThis file is not generated by KIELER. It includes the interface header and the header of the SSCharts-generated FlightController, which will be output in c, not explicit for Arduino.
In the setup and loop methods the reset and tick functions of the FlightController are triggered, while before the tick function the instanced CompInterface is notified about a new tick.