Flight Platform

2022-06-23
No Rating

Properties

  • PushMode = 0: The device side will publish messages with a specific frequency.
  • PushMode = 1: The device side will not publish at regular intervals. If the Property changes, it will be published to the server immediately.
  • PushMode = 2: The device side will not publish at regular intervals. If the Property changes, the server is not notified and needs to obtain it itself.
PropertiesNameDescriptionPush ModeData Type
nicknameNickname of the deviceDevice nickname information stored in the aircraft device2text
mode_codeMode of the droneSee the form below.0int
geargearSee the form below.0int
batteryBattery InformationSee the form below.
horizontal_speedHorizontal speed0double
vertical_speedVertical speed0double
longitudeLongitude of current position0double
latitudeLatitude of current position0double
heightAbsolute heightHeight relative to the Earth's ellipsoidal plane.0double
elevationAltitude relative to takeoff point0double
attitude_pitchAngle of the pitch0double
attitude_rollAngle of the roll0double
attitude_headAngle of head facingThe angle between the aircraft's orientation and true north (meridian). 0 to 6 o'clock is positive and 6 to 12 o'clock is negative.0int
home_longitudeLongitude of home1double
home_latitudeLatitude of homedouble
home_altitudeAbsolute height of home
wind_speedWind speed
wind_directionCurrent wind direction
rtk_stateState of RTKSee the form below.
control_sourceCurrent control sourceIt can be a device, such as rm500, 210, or a browser. The device uses sn as the identifier, and the browser uses the self-generated uuid as the identifier.
height_restrictionFlight limit altitudeRestricted altitude relative to the take-off point2int
distance_restrictionFlight limit distanceRestricted distance of flight relative to take-off point2int
low_battery_warning_thresholdLow battery warningPercentage of low battery alarm set by the user1int
serious_low_battery_warning_thresholdSevere low battery warningPercentage of severe low battery alarms set by the user1int
firmware_versionFirmware version2text

Drone Status

codestatusremark
0Standby
1Preparing for tackeoff
2Ready to tackeoff
3Manual flight
4Automatic flight
5Waypoint mission
6Panoramic shot
7Active track
8ADS-B elude
9Automatic return to home
10Automatic landing
11Forced landing
12Three blades landing
13Upgrading
14Disconnected

gear

valuegearremark
0A
1P
2NAV
3FPV
4FARM
5S
6F
7M
8G
9T

battery

{
    "capacity_percent": 100, //Percentage of current power remaining.
    "remain_flight_time":300, //Remaining flight time. unit(s)
    "return_home_power":25,		//Percentage of power required for return to home.
    "landing_power":3,				//Percentage of power required for forced landing.
    "battery_temperature":23,	//Current battery temperature
    "batteries":[{
        "capacity_percent":50,		//The amount of energy in a single battery
        "index":0,  //0-left   1-right
        "sn": "",
        "type": 0,		
        "sub_type:0,          
        "firmware_version": "",
        "loop_times":10,
        "voltage": 200,
        "temperature": 40.0
	}]
}

rtk_state

{
    "is_fixed": 0,		
    "quality": 1,			//rtk signal quality
    "gps_number": 0,	//gps signal quality
    "glo_number": 0,	
    "bds_number": 0,
    "gal_number": 0,
}

Services

ServicesNameDescription