calc Azimuth finished

This commit is contained in:
2023-08-09 15:34:03 +02:00
parent cf111426bd
commit 98f3cb93f0
6 changed files with 7 additions and 13 deletions
+1 -1
View File
@@ -29,8 +29,8 @@ void DirectionChangeSignal::action() {
Autopilot::Autopilot(MoveControl* moveControl, const ControlPadInput *input, Navigation* navigation)
: ManualControl(moveControl, input) {
this->setInputMode(ManualControl::InputMode::Digital);
this->setDirectionChangeCallback(this->directionChangeSignal);
this->directionChangeSignal = new DirectionChangeSignal(navigation);
this->setDirectionChangeCallback(this->directionChangeSignal);
this->navigation = navigation;
this->init();
}