Skip to content

INAV MSP frames changelog

Paweł Spychalski edited this page Dec 30, 2016 · 26 revisions

INAV 1.6 MSP API Version 1.24

MSP_NAV_POSHOLD

Basic position hold settings. Mostly, but not only, for multirotor

Frame IDs:

  • MSP_NAV_POSHOLD, Frame ID 12
  • MSP_SET_NAV_POSHOLD, Frame ID 13
Length Setting Notes
1 nav_user_control_mode dictionary
2 nav_max_speed
2 nav_max_climb_rate
2 nav_manual_speed
2 nav_manual_climb_rate
1 nav_mc_bank_angle
1 nav_use_midthr_for_althold ON/OFF
2 nav_mc_hover_thr
8 reserved

INAV 1.5 MSP API Version 1.23

For iNav 1.5 and later, the MSP_STATUS/sensor field reports sensor failure. This updates MSP_SENSOR (see http://www.multiwii.com/wiki/index.php?title=Multiwii_Serial_Protocol) in a backwards compatible manner to report additional sensors and sensor health. The sensor field is reported as:

Bit Usage
0 Set if ACC present
1 Set if BARO present
2 Set if MAG present
3 Set if GPS present
4 Set if SONAR present
5 Reserved for OPFLOW (not implemented)
6 Set if PITOT present
15 Set on sensor failure

The sensor hardware failure indication is backwards compatible with versions prior to 1.5 (and other Multiwii / Cleanflight derivatives).

MSP_SENSOR_CONFIG

Frame IDs:

  • MSP_SENSOR_CONFIG, Frame ID 96
  • MSP_SET_SENSOR_CONFIG, Frame ID 97
length setting Notes
1 acc_hardware
1 baro_hardware
1 mag_hardware
1 pitot_hardware
1 Reserved for rangefinder not yet implemented
1 Reserved for OpFlow not yet implemented

INAV 1.4 MSP API Version 1.22

MSP_INAV_PID

Frame IDs:

  • MSP_INAV_PID, Frame ID 6
  • MSP_SET_INAV_PID, Frame ID 7
length setting Notes
1 async_mode
2 acc_task_frequency
2 attitude_task_frequency
1 mag_hold_rate_limit
1 MAG_HOLD_ERROR_LPF_FREQ not implemented yet as configurable
2 yaw_jump_prevention_limit
1 gyro_lpf
1 acc_soft_lpf_hz
4 reserved reserved for further usage

MSP_FILTER_CONFIG

Compatible with Betaflight

Frame IDs:

  • MSP_FILTER_CONFIG Frame ID 92
  • MSP_SET_FILTER_CONFIG Frame ID 93
length setting Notes
1 gyro_soft_lpf_hz
2 dterm_lpf_hz
2 yaw_lpf_hz
2 gyro_soft_notch_hz Betaflight masterConfig.gyro_soft_notch_hz_1
2 gyro_soft_notch_cutoff_hz Betaflight masterConfig.gyro_soft_notch_cutoff_1
2 not used Betaflight pidProfile.dterm_notch_hz
2 not used Betaflight pidProfile.dterm_notch_cutoff
2 not used Betaflight masterConfig.gyro_soft_notch_hz_2
2 not used Betaflight masterConfig.gyro_soft_notch_cutoff_2

MSP_PID_ADVANCED

Compatible with Betaflight

Frame IDs:

  • MSP_PID_ADVANCED Frame ID 94
  • MSP_SET_PID_ADVANCED Frame ID 95
length setting Notes
2 rollPitchItermIgnoreRate
2 yawItermIgnoreRate
2 yaw_p_limit
1 not used Betaflight deltaMethod
1 not used Betaflight vbatPidCompensation
1 not used Betaflight setpointRelaxRatio
1 not used Betaflight dtermSetpointWeight
1 reserved
1 reserved
1 not used Betaflight itermThrottleGain
2 rate_accel_limit_roll_pitch divided by 10
2 rate_accel_limit_yaw divided by 10

INAV 1.3 MSP API 1.21

case MSP_ADVANCED_CONFIG:

Frame IDs:

  • MSP_ADVANCED_CONFIG, Frame ID 90
  • MSP_SET_ADVANCED_CONFIG, Frame ID 91
length setting Notes
1 gyro_sync_denom
1 not used Betaflight masterConfig.pid_process_denom
1 not used Betaflight masterConfig.motorConfig.useUnsyncedPwm
1 motor_pwm_protocol dictionary
2 motor_pwm_rate
2 servo_pwm_rate
1 gyro_sync boolean

##Change log:

  • 2016-11-20 - scaling of rate_accel_limit_roll_pitch and rate_accel_limit_yaw in MSP_PID_ADVANCED changed from 1000 to 10
  • 2016-12-11 - added MSP_STATUS update for iNav 1.5

WIKI TOPICS

Wiki Home Page

INAV Version Release Notes

7.1.0 Release Notes
7.0.0 Release Notes
6.0.0 Release Notes
5.1 Release notes
5.0.0 Release Notes
4.1.0 Release Notes
4.0.0 Release Notes
3.0.0 Release Notes
2.6.0 Release Notes
2.5.1 Release notes
2.5.0 Release Notes
2.4.0 Release Notes
2.3.0 Release Notes
2.2.1 Release Notes
2.2.0 Release Notes
2.1.0 Release Notes
2.0.0 Release Notes
1.9.1 Release notes
1.9.0 Release notes
1.8.0 Release notes
1.7.3 Release notes
Older Release Notes

QUICK START GUIDES

Getting started with iNav
Fixed Wing Guide
Howto: CC3D flight controller, minimOSD , telemetry and GPS for fixed wing
Howto: CC3D flight controller, minimOSD, GPS and LTM telemetry for fixed wing
INAV for BetaFlight users
launch mode
Multirotor guide
YouTube video guides
DevDocs Getting Started.md
DevDocs INAV_Fixed_Wing_Setup_Guide.pdf
DevDocs Safety.md

Connecting to INAV

Bluetooth setup to configure your flight controller
DevDocs Wireless Connections (BLE, TCP and UDP).md\

Flashing and Upgrading

Boards, Targets and PWM allocations
Upgrading from an older version of INAV to the current version
DevDocs Installation.md
DevDocs USB Flashing.md

Setup Tab
Live 3D Graphic & Pre-Arming Checks

Calibration Tab
Accelerometer, Compass, & Optic Flow Calibration

Alignment Tool Tab
Adjust mount angle of FC & Compass

Ports Tab
Map Devices to UART Serial Ports

Receiver Tab
Set protocol and channel mapping

Mixer

Mixer Tab
Custom mixes for exotic setups
DevDocs Mixer.md

Outputs

DevDocs ESC and servo outputs.md
DevDocs Servo.md

Modes

Modes
Navigation modes
Navigation Mode: Return to Home
DevDocs Controls.md
DevDocs INAV_Modes.pdf
DevDocs Navigation.md

Configuration

Sensor auto detect and hardware failure detection

Failsafe

Failsafe
DevDocs Failsafe.md

PID Tuning

PID Attenuation and scaling
Fixed Wing Tuning for INAV 3.0
Tune INAV PIFF controller for fixedwing
DevDocs Autotune - fixedwing.md
DevDocs INAV PID Controller.md
DevDocs INAV_Wing_Tuning_Masterclass.pdf
DevDocs PID tuning.md
DevDocs Profiles.md

GPS

GPS and Compass setup
GPS Failsafe and Glitch Protection

OSD and VTx

DevDocs Betaflight 4.3 compatible OSD.md
OSD custom messages
OSD Hud and ESP32 radars
DevDocs OSD.md
DevDocs VTx.md

LED Strip

DevDocs LedStrip.md

ADVANCED

Advanced Tuning

Fixed Wing Autolaunch
DevDocs INAV_Autolaunch.pdf

Programming

DevDocs Programming Framework.md

Adjustments

DevDocs Inflight Adjustments.md

Mission Control

iNavFlight Missions
DevDocs Safehomes.md

Tethered Logging

Log when FC is connected via USB

Blackbox

DevDocs Blackbox.md
INAV blackbox variables
DevDocs USB_Mass_Storage_(MSC)_mode.md

CLI

iNav CLI variables
DevDocs Cli.md
DevDocs Settings.md

VTOL

DevDocs MixerProfile.md
DevDocs VTOL.md

TROUBLESHOOTING

"Something" is disabled Reasons
Blinkenlights
Pixel OSD FAQs
TROUBLESHOOTING
Why do I have limited servo throw in my airplane

ADTL TOPICS, FEATURES, DEV INFO

AAT Automatic Antenna Tracker
Building custom firmware
Default values for different type of aircrafts
Features safe to add and remove to fit your needs.
Developer info
INAV MSP frames changelog
INAV Remote Management, Control and Telemetry
Lightweight Telemetry (LTM)
Making a new Virtualbox to make your own INAV
MSP Navigation Messages
MSP V2
OrangeRX LRS RX and OMNIBUS F4
Rate Dynamics
Target and Sensor support
UAV Interconnect Bus
Ublox 3.01 firmware and Galileo
DevDocs 1wire.md
DevDocs ADSB.md
DevDocs Battery.md
DevDocs Buzzer.md
DevDocs Channel forwarding.md
DevDocs Display.md
DevDocs Fixed Wing Landing.md
DevDocs GPS_fix_estimation.md
DevDocs LED pin PWM.md
DevDocs Lights.md
DevDocs OSD Joystick.md
DevDocs Servo Gimbal.md
DevDocs Temperature sensors.md

OLD LEGACY INFO

Supported boards
DevDocs Boards.md
Legacy Mixers
Legacy target ChebuzzF3
Legacy target Colibri RACE
Legacy target Motolab
Legacy target Omnibus F3
Legacy target Paris Air Hero 32
Legacy target Paris Air Hero 32 F3
Legacy target Sparky
Legacy target SPRacingF3
Legacy target SPRacingF3EVO
Legacy target SPRacingF3EVO_1SS
DevDocs Configuration.md
Request form new PRESET
DevDocs Introduction.md
Welcome to INAV, useful links and products
iNav Telemetry
DevDocs Rangefinder.md
DevDocs Rssi.md
DevDocs Runcam device.md
DevDocs Serial.md
DevDocs Telemetry.md
DevDocs Rx.md
DevDocs Spektrum bind.md

Clone this wiki locally