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 11, 2024
1 parent b2288f5 commit 3f6469a
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 3f6469a

Please sign in to comment.