Skip to content

Commit

Permalink
gzsim SITL: use SIM_GZ_SHOME for GPS home position parsing from gzsim…
Browse files Browse the repository at this point in the history
… false by default
  • Loading branch information
haitomatic committed Jun 10, 2024
1 parent 140a5ff commit 005d6a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ PX4_SIM_MODEL=${PX4_SIM_MODEL:=holybro-x500}

param set-default SIM_GZ_EN 1
param set-default SIM_GZ_RUN_GZSIM 0
param set-default SIM_GZ_SHOME 1

param set-default SENS_EN_GPSSIM 1
param set-default SENS_EN_BAROSIM 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PX4_SIM_MODEL=${PX4_SIM_MODEL:=skywalker_x8}

param set-default SIM_GZ_EN 1
param set-default SIM_GZ_RUN_GZSIM 0
param set-default SIM_GZ_SHOME 1

param set-default SENS_EN_GPSSIM 1
param set-default SENS_EN_BAROSIM 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ PX4_SIM_MODEL=${PX4_SIM_MODEL:=scout_mini}

param set-default SIM_GZ_EN 1
param set-default SIM_GZ_RUN_GZSIM 0
param set-default SIM_GZ_SHOME 1

param set-default CA_AIRFRAME 6

Expand Down
2 changes: 1 addition & 1 deletion src/modules/simulation/gz_bridge/parameters.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PARAM_DEFINE_INT32(SIM_GZ_RUN_GZSIM, 1);
* @reboot_required true
* @group Simulator
*/
PARAM_DEFINE_INT32(SIM_GZ_SHOME, 1);
PARAM_DEFINE_INT32(SIM_GZ_SHOME, 0);

/**
* simulator origin latitude
Expand Down

0 comments on commit 005d6a2

Please sign in to comment.