feat(sim): Gazebo wall model, detection sweep and evaluation scripts
- sim/models/wall_reflector_pair: wall with two 3 cm strips 9 cm apart (laser_retro 2000 on the strips, 0 on the wall), generated by gen_wall_models.py; spawn_wall_reflector.launch places it. - sim/eval_wall_reflector.py: compares the published marker/target with the Gazebo ground truth, read from the handler success log because the nav core TF never reaches ROS; --align-by-robot when map != Gazebo world. - sim/sweep_wall_detection.py: places the wall at several distances and angles behind the robot, sends DetectWallReflectors, writes a CSV and dumps the scan of every failed case. - Handler success log now prints marker, target and frame (debug/state). - Install sim/ in both catkin and standalone builds.
This commit is contained in:
@@ -112,6 +112,8 @@ if(BUILDING_WITH_CATKIN)
|
||||
RUNTIME DESTINATION ${CATKIN_GLOBAL_BIN_DESTINATION}
|
||||
)
|
||||
|
||||
install(DIRECTORY sim/ DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/sim)
|
||||
|
||||
else()
|
||||
|
||||
target_link_libraries(wall_reflector_detection_action_handler
|
||||
@@ -140,6 +142,8 @@ else()
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
install(DIRECTORY sim/ DESTINATION ${CMAKE_INSTALL_DATADIR}/${PROJECT_NAME}/sim)
|
||||
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user