File tree Expand file tree Collapse file tree
src/OpenCOVER/plugins/hlrs/JSBSim Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -590,7 +590,6 @@ bool JSBSimPlugin::init()
590590 loadAircraft (" paraglider" );
591591 initJSB ();
592592 resetAircraftAttitude ();
593- reset ();
594593 udp = new UDPComm (host.c_str (), serverPort, localPort);
595594 if (!udp->isBad ())
596595 {
@@ -615,7 +614,7 @@ bool JSBSimPlugin::init()
615614
616615 coVRNavigationManager::instance ()->registerNavigationProvider (this );
617616
618- if (currentAircraft == nullptr )
617+ if (currentAircraft == nullptr )
619618 {
620619 loadAircraft (m_defaultAircraft);
621620 initJSB ();
@@ -734,7 +733,7 @@ void JSBSimPlugin::updateInputs()
734733 {
735734 if (a.type == THROTTLE && (a.engine == -1 || a.engine == i) && a.getChangedValue (value))
736735 {
737- std::cout << " SET THROTTLE on engine=" << i << " to value " << value *0.5 + 0.5 << std::endl;
736+ std::cout << " SET THROTTLE on engine=" << i << " to value " << value * 0.5 + 0.5 << std::endl;
738737 FCS ->SetThrottleCmd (i, value * 0.5 + 0.5 );
739738 break ;
740739 }
You can’t perform that action at this time.
0 commit comments