-
Notifications
You must be signed in to change notification settings - Fork 11
Description
For each drone, there should be a new field, "Software pilot" with "SimpleFlight" and "PX4" as options.
When PX4 is selected, expose the following settings
"LocalHostIp": "192.168.1.181", string, IP of the host machine, aka where unreal game is running at.(NOT WHERE PX4 IS), ideally this should be the same as there the frontend is running, but allow user to manually set it.
"VehicleType": "PX4Multirotor", string, if they selected PX4 softwarepilot, this is unchangeable, has to be this
The following are default, note that "ControlPortLocal" and "ControlPortRemote" are different for each drone.
"TcpPort": 4560,
"ControlPortLocal": 14540,
"ControlPortRemote": 14580,
The following must be present, otherwise PX4 will not work correctly, use them as default.
"Sensors":{
"Barometer":{
"SensorType": 1,
"Enabled": true,
"PressureFactorSigma": 0.0001825
}
},
"Parameters": {
"NAV_RCL_ACT": 0,
"NAV_DLL_ACT": 0,
"COM_OBL_ACT": 1,
"LPE_LAT": 47.641468,
"LPE_LON": -122.140165
}
note that "LPE_LAT": 47.641468, "LPE_LON": -122.140165, should be the same as cesium origin.