This commit is contained in:
trung09122002
2026-09-18 18:14:42 +07:00
commit 48bd5377dc
224 changed files with 37685 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Bo mo phong -- thay Gazebo.
#
# Dep ngoai: chi yaml-cpp (doc map.yaml). Khong OpenGL, khong vat ly 3D,
# khong model database. Do la ca diem: Jetson AGX khong co gi de chay Gazebo,
# ma thu can kiem chung cho duong ong 2.5D chi la ban do 2D + raycast.
find_package(yaml-cpp REQUIRED)
vslam_add_library(vslam_sim
PUBLIC_HDRS
sim_source.h
occupancy_map_io.h
gazebo_world.h
PUBLIC_DEPS
vslam_common
vslam_drivers
FIND_DEPS
vslam_common
vslam_drivers
)
if(TARGET yaml-cpp::yaml-cpp)
target_link_libraries(vslam_sim PRIVATE yaml-cpp::yaml-cpp)
elseif(TARGET yaml-cpp)
target_link_libraries(vslam_sim PRIVATE yaml-cpp)
else()
target_include_directories(vslam_sim SYSTEM PRIVATE ${YAML_CPP_INCLUDE_DIR})
target_link_libraries(vslam_sim PRIVATE ${YAML_CPP_LIBRARIES})
endif()