EPV accel
This commit is contained in:
parent
f1efa6523b
commit
84dbe1e37b
|
|
@ -466,6 +466,7 @@ int facilities_config() {
|
||||||
mreq->choice.attributes.choice.get.altitude = 1;
|
mreq->choice.attributes.choice.get.altitude = 1;
|
||||||
mreq->choice.attributes.choice.get.heading = 1;
|
mreq->choice.attributes.choice.get.heading = 1;
|
||||||
mreq->choice.attributes.choice.get.speed = 1;
|
mreq->choice.attributes.choice.get.speed = 1;
|
||||||
|
mreq->choice.attributes.choice.get.acceleration = 1;
|
||||||
mreq->choice.attributes.choice.get.gpsType = 1;
|
mreq->choice.attributes.choice.get.gpsType = 1;
|
||||||
mreq->choice.attributes.choice.get.clockType = 1;
|
mreq->choice.attributes.choice.get.clockType = 1;
|
||||||
mreq->choice.attributes.choice.get.clock = 1;
|
mreq->choice.attributes.choice.get.clock = 1;
|
||||||
|
|
@ -492,6 +493,7 @@ int facilities_config() {
|
||||||
mrep->data->choice.attributes.altitude &&
|
mrep->data->choice.attributes.altitude &&
|
||||||
mrep->data->choice.attributes.heading &&
|
mrep->data->choice.attributes.heading &&
|
||||||
mrep->data->choice.attributes.speed &&
|
mrep->data->choice.attributes.speed &&
|
||||||
|
mrep->data->choice.attributes.acceleration &&
|
||||||
mrep->data->choice.attributes.clockType &&
|
mrep->data->choice.attributes.clockType &&
|
||||||
mrep->data->choice.attributes.clock &&
|
mrep->data->choice.attributes.clock &&
|
||||||
mrep->data->choice.attributes.clockOffset &&
|
mrep->data->choice.attributes.clockOffset &&
|
||||||
|
|
@ -507,6 +509,7 @@ int facilities_config() {
|
||||||
epv.space.heading_conf = mrep->data->choice.attributes.heading->headingConfidence;
|
epv.space.heading_conf = mrep->data->choice.attributes.heading->headingConfidence;
|
||||||
epv.space.speed = mrep->data->choice.attributes.speed->speedValue;
|
epv.space.speed = mrep->data->choice.attributes.speed->speedValue;
|
||||||
epv.space.speed_conf = mrep->data->choice.attributes.speed->speedConfidence;
|
epv.space.speed_conf = mrep->data->choice.attributes.speed->speedConfidence;
|
||||||
|
epv.space.accel = mrep->data->choice.attributes.acceleration->longitudinalAccelerationValue;
|
||||||
|
|
||||||
epv.space.type = *mrep->data->choice.attributes.gpsType;
|
epv.space.type = *mrep->data->choice.attributes.gpsType;
|
||||||
epv.time.type = *mrep->data->choice.attributes.clockType;
|
epv.time.type = *mrep->data->choice.attributes.clockType;
|
||||||
|
|
|
||||||
|
|
@ -698,6 +698,7 @@ static int management_indication(void* responder, uint8_t* msg, uint32_t msg_len
|
||||||
epv.space.speed_conf = mi->choice.attributes.speed.speedConfidence;
|
epv.space.speed_conf = mi->choice.attributes.speed.speedConfidence;
|
||||||
epv.space.heading = mi->choice.attributes.heading.headingValue;
|
epv.space.heading = mi->choice.attributes.heading.headingValue;
|
||||||
epv.space.heading_conf = mi->choice.attributes.heading.headingConfidence;
|
epv.space.heading_conf = mi->choice.attributes.heading.headingConfidence;
|
||||||
|
epv.space.accel = mi->choice.attributes.acceleration.longitudinalAccelerationValue;
|
||||||
epv.space.altitude = mi->choice.attributes.altitude.altitudeValue;
|
epv.space.altitude = mi->choice.attributes.altitude.altitudeValue;
|
||||||
epv.space.altitude_conf = mi->choice.attributes.altitude.altitudeConfidence;
|
epv.space.altitude_conf = mi->choice.attributes.altitude.altitudeConfidence;
|
||||||
itss_space_unlock();
|
itss_space_unlock();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue