Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: PX4 related configuration settings #29

Open
BohanZhang1 opened this issue May 2, 2024 · 0 comments
Open

UI: PX4 related configuration settings #29

BohanZhang1 opened this issue May 2, 2024 · 0 comments

Comments

@BohanZhang1
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant