Example #1
0
 private function getPwmData()
 {
     return array('motor' => $this->timesMap(4, 'uint8'), 'satMotors' => $this->timesMap(4, 'uint8'), 'gazFeedForward' => $this->buffer->getFloat32(), 'gazAltitude' => $this->buffer->getFloat32(), 'altitudeIntegral' => $this->buffer->getFloat32(), 'vzRef' => $this->buffer->getFloat32(), 'uPitch' => $this->buffer->getInt32(), 'uRoll' => $this->buffer->getInt32(), 'uYaw' => $this->buffer->getInt32(), 'yawUI' => $this->buffer->getFloat32(), 'uPitchPlanif' => $this->buffer->getInt32(), 'uRollPlanif' => $this->buffer->getInt32(), 'uYawPlanif' => $this->buffer->getInt32(), 'uGazPlanif' => $this->buffer->getFloat32(), 'motorCurrents' => $this->timesMap(4, 'uint16LE'), 'altitudeProp' => $this->buffer->getFloat32(), 'altitudeDer' => $this->buffer->getFloat32());
 }