-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a20c62b
commit c0d53ca
Showing
48 changed files
with
108 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,19 @@ | ||
add_library(g2o_simulator_library ${G2O_LIB_TYPE} | ||
simulator.cpp simulator.h | ||
pointsensorparameters.cpp pointsensorparameters.h | ||
simulator2d_base.h | ||
sensor_odometry2d.cpp sensor_odometry2d.h | ||
sensor_pose2d.cpp sensor_pose2d.h | ||
sensor_pointxy.cpp sensor_pointxy.h | ||
sensor_pointxy_bearing.cpp sensor_pointxy_bearing.h | ||
sensor_pointxy_offset.cpp sensor_pointxy_offset.h | ||
simutils.cpp simutils.h | ||
sensor_segment2d.cpp sensor_segment2d.h | ||
sensor_segment2d_line.cpp sensor_segment2d_line.h | ||
sensor_segment2d_pointline.cpp sensor_segment2d_pointline.h | ||
|
||
simulator3d_base.h | ||
sensor_odometry3d.cpp sensor_odometry3d.h | ||
sensor_pose3d.cpp sensor_pose3d.h | ||
sensor_pose3d_offset.cpp sensor_pose3d_offset.h | ||
sensor_pointxyz.cpp sensor_pointxyz.h | ||
sensor_pointxyz_disparity.cpp sensor_pointxyz_disparity.h | ||
sensor_pointxyz_depth.cpp sensor_pointxyz_depth.h | ||
sensor_se3_prior.cpp sensor_se3_prior.h | ||
|
||
g2o_simulator_api.h | ||
) | ||
|
||
set_target_properties(g2o_simulator_library PROPERTIES OUTPUT_NAME ${LIB_PREFIX}simulator) | ||
set_target_properties(g2o_simulator_library PROPERTIES | ||
VERSION ${G2O_LIB_VERSION} | ||
SOVERSION ${G2O_LIB_SOVERSION}) | ||
if (APPLE) | ||
set_target_properties(g2o_simulator_library PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") | ||
endif() | ||
|
||
target_link_libraries(g2o_simulator_library types_slam3d_addons types_slam3d types_slam2d_addons types_slam2d core) | ||
|
||
add_executable(g2o_simulator2d_application | ||
test_simulator2d.cpp | ||
g2o_simulator2d.cpp | ||
) | ||
target_link_libraries(g2o_simulator2d_application g2o_simulator_library types_slam2d_addons types_slam2d core) | ||
target_link_libraries(g2o_simulator2d_application simulator_lib types_slam2d_addons types_slam2d core) | ||
set_target_properties(g2o_simulator2d_application PROPERTIES OUTPUT_NAME g2o_simulator2d) | ||
|
||
add_executable(g2o_simulator3d_application | ||
test_simulator3d.cpp | ||
g2o_simulator3d.cpp | ||
) | ||
target_link_libraries(g2o_simulator3d_application g2o_simulator_library types_slam3d_addons types_slam3d types_slam2d_addons types_slam2d core) | ||
target_link_libraries(g2o_simulator3d_application simulator_lib types_slam3d_addons types_slam3d types_slam2d_addons types_slam2d core) | ||
set_target_properties(g2o_simulator3d_application PROPERTIES OUTPUT_NAME g2o_simulator3d) | ||
|
||
install(TARGETS g2o_simulator_library g2o_simulator2d_application g2o_simulator3d_application | ||
install(TARGETS g2o_simulator2d_application g2o_simulator3d_application | ||
EXPORT ${G2O_TARGETS_EXPORT_NAME} | ||
RUNTIME DESTINATION ${RUNTIME_DESTINATION} | ||
LIBRARY DESTINATION ${LIBRARY_DESTINATION} | ||
ARCHIVE DESTINATION ${ARCHIVE_DESTINATION} | ||
INCLUDES DESTINATION ${INCLUDES_DESTINATION} | ||
) | ||
|
||
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h" "${CMAKE_CURRENT_SOURCE_DIR}/*.hpp") | ||
install(FILES ${headers} DESTINATION ${INCLUDES_INSTALL_DIR}/apps/g2o_simulator) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
add_library(simulator_lib ${G2O_LIB_TYPE} | ||
simulator.cpp simulator.h | ||
pointsensorparameters.cpp pointsensorparameters.h | ||
simulator2d_base.h | ||
sensor_odometry2d.cpp sensor_odometry2d.h | ||
sensor_pose2d.cpp sensor_pose2d.h | ||
sensor_pointxy.cpp sensor_pointxy.h | ||
sensor_pointxy_bearing.cpp sensor_pointxy_bearing.h | ||
sensor_pointxy_offset.cpp sensor_pointxy_offset.h | ||
simutils.cpp simutils.h | ||
sensor_segment2d.cpp sensor_segment2d.h | ||
sensor_segment2d_line.cpp sensor_segment2d_line.h | ||
sensor_segment2d_pointline.cpp sensor_segment2d_pointline.h | ||
|
||
simulator3d_base.h | ||
sensor_odometry3d.cpp sensor_odometry3d.h | ||
sensor_pose3d.cpp sensor_pose3d.h | ||
sensor_pose3d_offset.cpp sensor_pose3d_offset.h | ||
sensor_pointxyz.cpp sensor_pointxyz.h | ||
sensor_pointxyz_disparity.cpp sensor_pointxyz_disparity.h | ||
sensor_pointxyz_depth.cpp sensor_pointxyz_depth.h | ||
sensor_se3_prior.cpp sensor_se3_prior.h | ||
|
||
g2o_simulator_api.h | ||
) | ||
|
||
target_include_directories(core PUBLIC | ||
"$<BUILD_INTERFACE:${g2o_SOURCE_DIR};${PROJECT_BINARY_DIR}>" | ||
$<INSTALL_INTERFACE:include/g2o/simulator> | ||
) | ||
|
||
set_target_properties(simulator_lib PROPERTIES OUTPUT_NAME ${LIB_PREFIX}simulator) | ||
set_target_properties(simulator_lib PROPERTIES | ||
VERSION ${G2O_LIB_VERSION} | ||
SOVERSION ${G2O_LIB_SOVERSION}) | ||
if (APPLE) | ||
set_target_properties(simulator_lib PROPERTIES INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") | ||
endif() | ||
|
||
target_link_libraries(simulator_lib types_slam3d_addons types_slam3d types_slam2d_addons types_slam2d core) | ||
|
||
file(GLOB headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h" "${CMAKE_CURRENT_SOURCE_DIR}/*.hpp") | ||
install(FILES ${headers} DESTINATION ${INCLUDES_INSTALL_DIR}/simulator) | ||
|
||
install(TARGETS simulator_lib | ||
EXPORT ${G2O_TARGETS_EXPORT_NAME} | ||
RUNTIME DESTINATION ${RUNTIME_DESTINATION} | ||
LIBRARY DESTINATION ${LIBRARY_DESTINATION} | ||
ARCHIVE DESTINATION ${ARCHIVE_DESTINATION} | ||
INCLUDES DESTINATION ${INCLUDES_DESTINATION} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters