mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 06:35:41 +08:00
#31 Squashed merge of commits relating to the plugin system and IContext redesign, from the 'interconnect' branch.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "blackcore/plane.h"
|
||||
#include "blackcore/interpolator.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "blackmisc/debug.h"
|
||||
#include "blackcore/plane.h"
|
||||
|
||||
namespace BlackCore {
|
||||
|
||||
@@ -15,13 +15,13 @@ namespace BlackCore {
|
||||
{
|
||||
m_interpolator = new CInterpolator();
|
||||
|
||||
bAssert(m_interpolator);
|
||||
bAssert(driver);
|
||||
Q_ASSERT(m_interpolator);
|
||||
Q_ASSERT(driver);
|
||||
}
|
||||
|
||||
void CPlane::addPosition(const CVectorGeo &position, double groundVelocity, double heading, double pitch, double bank)
|
||||
{
|
||||
bAssert(m_interpolator);
|
||||
Q_ASSERT(m_interpolator);
|
||||
|
||||
m_interpolator->pushUpdate(position, groundVelocity, heading, pitch, bank);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user