A set of predefined signals and plots are configured in the flightLogSignalMapping
object. Depending on your log file type, you can map
specific signals to the provided signal names using mapSignal
. You
can also call info
to view the
table for your log type and see whether you have already mapped a signal to that plot
type.
Specify the SignalName
as the input to mapSignal
. Signals with the format SignalName#
support mapping multiple signals of the same type. Replace #
with incremental integers for each signal name when calling mapSignal
.
The predefined signals have specific names and required fields when mapping the signal.
Predefined Signals
Signal Name | Description | Fields | Units |
---|
Accel# | Raw accelerometer reading from IMU sensor | [ax ay az] | m/s2 |
Airspeed# | Airspeed reading of pressure differential, indicated air speed, and temperature | [PressDiff, AirSpeed, Temp] | Pa, m/s, ℃ |
AttitudeEuler | Attitude of UAV in Euler (ZYX) form | [Roll, Pitch, Yaw] | radians |
AttitudeRate | Angular velocity along each body axis | [xRotRate, yRotRate, zRotRate] | rad/s |
AttitudeTargetEuler | Target attitude of UAV in Euler (ZYX) form | [TargetRoll, TargetPitch, TargetYaw] | radians |
Barometer# | Barometer readings for absolute pressure, relative pressure, and temperature | [PressAbs, PressAltitude, Temp] | Pa, m, ℃ |
Battery | Voltage readings for battery and remaining battery capacity (%) | [Volt1,Volt2, ... Volt16, RemainingCapacity | V, % |
GPS# | GPS readings for latitude, longitude, altitude, ground speed, course angle, and number of satellites visible | [lat, long, alt, groundspeed, courseAngle, satellites] | degree, degree, m, m/s, degree, n/a |
Gyro# | Raw body angular velocity readings from IMU sensor | [GyroX, GyroY, GyroZ] | rad/s |
LocalNED | Local NED coordinates estimated by the UAV | [xNED, yNED, zNED] | meters |
LocalNEDTarget | Target location in local NED coordinates | [xTarget, yTarget, zTarget] | meters |
LocalNEDVel | Local NED velocity estimated by the UAV | [vx vy vz] | m/s |
LocalNEDVelTarget | Target velocity in local NED coordinates | [vxTarget, vyTarget, vzTarget] | m/s |
Mag# | Raw magnetometer reading from IMU sensor | [x y z] | Gs |