Local_frame

Hello, I am currently creating missions for QGroundControl, PX4 and Gazebo. My issue is, that can’t code local_frame, because local frame raises an error, only global frames can be used.

Here is a sample of my code:

{
“fileType”: “Plan”,
“geoFence”: {
“circles”: ,
“polygons”: ,
“version”: 2
},
“groundStation”: “QGroundControl”,
“mission”: {
“cruiseSpeed”: 15,
“firmwareType”: 12,
“globalPlanAltitudeMode”: 1,
“hoverSpeed”: 5,
“items”: [
{
“AMSLAltAboveTerrain”: null,
“Altitude”: 3.0,
“AltitudeMode”: 1,
“autoContinue”: true,
“command”: 16,
“doJumpId”: 0,
“frame”: 0,
“params”: [
0,
0.1,
0,
null,
49.23320604306788,
18.61252020481685,
3.0
],
“type”: “SimpleItem”
},
{
“AMSLAltAboveTerrain”: null,
“Altitude”: 3.0,
“AltitudeMode”: 1,
“autoContinue”: true,
“command”: 16,
“doJumpId”: 1,
“frame”: 4,
“params”: [
0,
0.1,
0,
null,
1.5,
0.0,
3.0
],
“type”: “SimpleItem”
},
{
“AMSLAltAboveTerrain”: null,
“Altitude”: 3.0,
“AltitudeMode”: 1,
“autoContinue”: true,
“command”: 16,
“doJumpId”: 2,
“frame”: 4,
“params”: [
0,
0.1,
0,
null,
0.0,
0.0,
3.0
],
“type”: “SimpleItem”
}

image

It raises that frame:4 is invalid. Also another frame except 3,5,6 and 0, which are all global.

Any advice how to use LOCAL_FRAMES?

@Patrik_Velky Mission mode and mission in general is only supported in the global frame.

No way how to do it as LOCAL?