Skip to content

Commit

Permalink
gz bridge: ignore missing _gz_ssrc_ models in Tools/simulation/gz/models
Browse files Browse the repository at this point in the history
  • Loading branch information
haitomatic committed Feb 7, 2024
1 parent c32a451 commit b23144f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/simulation/gz_bridge/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ if(gz-transport_FOUND)
${PX4_SOURCE_DIR}/ROMFS/px4fmu_common/init.d-posix/airframes/*_gz_*
)

# remove any _gz_ssrc_ files
foreach(gz_airframe IN LISTS gz_airframes)
if(gz_airframe MATCHES "_gz_ssrc_")
list(REMOVE_ITEM gz_airframes ${gz_airframe})
endif()
endforeach()

# remove any .post files
foreach(gz_airframe IN LISTS gz_airframes)
if(gz_airframe MATCHES ".post")
Expand Down

0 comments on commit b23144f

Please sign in to comment.