Initialise member variable
This commit is contained in:
parent
597df694e3
commit
1c7278b474
1 changed files with 2 additions and 1 deletions
|
@ -220,7 +220,8 @@ GPS::GPS ( SGPropertyNode *node) :
|
||||||
_num(node->getIntValue("number", 0)),
|
_num(node->getIntValue("number", 0)),
|
||||||
_computeTurnData(false),
|
_computeTurnData(false),
|
||||||
_anticipateTurn(false),
|
_anticipateTurn(false),
|
||||||
_inTurn(false)
|
_inTurn(false),
|
||||||
|
_desiredCourse(0.0)
|
||||||
{
|
{
|
||||||
string branch = "/instrumentation/" + _name;
|
string branch = "/instrumentation/" + _name;
|
||||||
_gpsNode = fgGetNode(branch.c_str(), _num, true );
|
_gpsNode = fgGetNode(branch.c_str(), _num, true );
|
||||||
|
|
Loading…
Add table
Reference in a new issue