Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions core_ws/src/golem_safety/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()

# yaml-cpp reads the robot profiles and configs; zlib gives the npz writer its crc32.
# yaml-cpp reads the robot profiles and configs; zlib gives the npz writer its crc32 (the
# archive is written stored, uncompressed).
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(std_msgs REQUIRED)
Expand All @@ -31,7 +32,6 @@ add_library(golem_safety_core
target_include_directories(golem_safety_core PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>)
ament_target_dependencies(golem_safety_core ament_index_cpp unitree_hg)
# zlib is only for crc32 in the npz writer; the archive is written stored.
target_link_libraries(golem_safety_core yaml-cpp ZLIB::ZLIB)

# golem_safety_dump_config: prints a config's derived limits and parsed values as JSON.
Expand Down
6 changes: 4 additions & 2 deletions core_ws/src/golem_safety/launch/safety.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ def generate_launch_description() -> LaunchDescription:
'triggered, unplugged or silent estop latches'),
DeclareLaunchArgument(
'use_sim_time', default_value='false',
description='true|false: true to run ROS time on a simulator\'s /clock; the '
'relay and its timeouts run on the boot clock either way'),
description='true|false: true to run robot time (the relay\'s rate and every '
'timeout of the core) on a simulator\'s /clock, false for the boot '
'clock; the heartbeat and the exit stay on the steady and boot '
'clocks either way. The node refuses true without sim:=true'),
DeclareLaunchArgument(
'start_delay', default_value='0.0',
description='s of wall time before the node starts, >= 0'),
Expand Down
Loading