Files
2026-04-22 17:02:23 +02:00

27 KiB
Raw Permalink Blame History

Node-Architektur

Symbol Meaning
🤖 Available for physical robot
🖥️ Available in simulation
⚙️ Requires specific configuration

Nodes

🤖 🖥️ Node name Description
✅ ❌ battery_driver Publishes battery state read from ADC unit.
panther_batter/battery_driver_node
✅ ✅ controller_manager The Controller Manager performs two main functions. First, it manages controllers and their required interfaces, handling tasks like loading, activating, deactivating, and unloading. Second, it interacts with hardware components, ensuring access to their interfaces. This node manages the: imu_broadcaster, joint_state_broadcaster, drive_controller.
controller_manager/controller_manager
✅ ✅ drive_controller Manages mobile robots with a differential or mecanum drive depending on the configuration. It converts velocity commands for the robot body into wheel commands for the base. It also calculates odometry from hardware feedback and shares it.
diff_drive_controller/diff_drive_controller or mecanum_drive_controller/mecanum_drive_controller
✅ ✅ ekf_filter The Extended Kalman Filter node is designed to fuse odometry data from various sources, including wheel encoders, IMU, and GPS.
robot_localization/ekf_filter
✅ ❌ gps Node responsible for parsing NMEA strings and publishing standard ROS NavSat message types.
nmea_navsat_driver/nmea_navsat_driver
❌ ✅ gz_bridge Convert and transmit data between ROS and Gazebo
ros_gz_bridge/parameter_bridge
❌ ✅ gz_ros2_control Responsible for integrating the ros2_control controller architecture with the Gazebo simulator.
gz_ros2_control/gz_ros2_control
❌ ✅ gz_estop_gui The node is part of the Gazebo GUI plugin, enabling easy E-stop state modifications directly within the simulation.
husarion_ugv_gazebo/EStop
✅ ❌ hardware_controller Plugin responsible for communicating with engine controllers via the CAN bus and providing E-Stop functionalities.
husarion_ugv_hardware_interfaces/{robot_model}System
✅ ✅ imu_broadcaster Publishes readings of IMU sensors.
imu_sensor_broadcaster/imu_sensor_broadcaster
✅ ✅ joint_state_broadcaster Reads all state interfaces and reports them on specific topics.
joint_state_broadcaster/joint_state_broadcaster
✅ ✅ lights_container Node for managing ROS components. This node manages: lights_controller, lights_driver.
rclcpp_components/component_container
✅ ✅ lights_controller This node is responsible for processing animations and publishing frames to light_driver node.
husarion_ugv_lights/LightsControllerNode
✅ ❌ lights_driver This node is responsible for displaying frames on the robot's lights.
husarion_ugv_lights/LightsDriverNode
✅ ✅ lights_manager Node responsible for managing lights animation scheduling.
husarion_ugv_manager/lights_manager
✅ ✅ ⚙️ navsat_transform ⚙️ It converts raw GPS data into odometry data and publishes corrected GPS positions based on sensor data at a higher frequency.
robot_localization/navsat_transform
✅ ✅ robot_state_publisher Broadcasts a robot's state to tf2 using a provided URDF model and joint states. It updates the model and broadcasts poses for fixed and movable joints to tf2 topics.
robot_state_publisher/robot_state_publisher
✅ ❌ safety_manager Node responsible for managing safety features, and software shutdown of components.
husarion_ugv_manager/safety_manager_node
✅ ❌ system_monitor Publishes system state of the Built-in Computer such as CPU usage, RAM memory usage, disk usage and CPU temperature.
husarion_ugv_diagnostics/system_monitor_node

Aufgabenverteilung

Raspberry Pi (automatisch als Service)      Jetson (unsere Nodes)
─────────────────────────────────────       ──────────────────────
panther_bringup                             your_workspace
    ├── panther_driver                          ├── navigation
    │     ├── front_driver_node                 ├── sensor_nodes
    │     └── rear_driver_node                  ├── gps_node
    ├── panther_lights                          └── custom_nodes
    │     └── lights_driver_node
    └── panther_manager
          ├── battery_node
          ├── e_stop_node
          └── system_node

Bringup

# Standard Bringup (läuft automatisch als Service auf dem RPi)
ros2 launch panther_bringup bringup.launch.py

# Bringup für die Simulation
ros2 launch husarion_ugv_gazebo simulation.launch.py

# Service Status prüfen
systemctl status panther_bringup.service

# Mit optionalen Argumenten
ros2 launch panther_bringup bringup.launch.py \
    wheel_config_path:=/path/to/wheel_config.yaml \
    controller_config_path:=/path/to/controller.yaml

Launch Arguments

Launch arguments are largely common to both simulation and physical robot. However, there is a group of arguments that apply only to hardware or only to the simulator. Below is a legend to the tables with all launch arguments.

Symbol Meaning
🤖 Available for physical robot
🖥️ Available in simulation
🤖 🖥️ Argument Description
Type: Default
❌ ✅ add_world_transform Adds a world frame that connects the tf trees of individual robots (useful when running multiple robots).
bool: False
✅ ✅ animations_config_path Path to a YAML file with a description of led configuration. This file includes definition of robot panels, virtual segments and default animations.
string: {robot_model}_animations.yaml
❌ ✅ battery_config_path Path to the Gazebo LinearBatteryPlugin configuration file. This configuration is intended for use in simulations only.
string: None
✅ ✅ components_config_path Additional components configuration file. Components described in this file are dynamically included in robot's URDF. Available options are described in the manual.
string: components.yaml
✅ ✅ controller_config_path Path to controller configuration file. A path to custom configuration can be specified here.
string: {wheel_type}_controller.yaml
✅ ✅ disable_manager Enable or disable manager_bt_node.
bool: False
✅ ✅ fuse_gps Include GPS for data fusion.
bool: False
❌ ✅ gz_bridge_config_path Path to the parameter_bridge configuration file.
string: gz_bridge.yaml
❌ ✅ gz_gui Run simulation with specific GUI layout.
string: teleop.config
❌ ✅ gz_headless_mode Run the simulation in headless mode. Useful when a GUI is not needed or to reduce the number of calculations.
bool: False
❌ ✅ gz_log_level Adjust the level of console output.
int: 1 (choices: 0, 1, 2, 3, 4)
❌ ✅ gz_world Absolute path to SDF world file.
string: husarion_world.sdf
✅ ✅ launch_nmea_gps Whether to launch the NMEA NavSat driver node. Advisable when the robot is equipped with the ANT02.
bool: False
✅ ✅ lights_bt_project_path Path to BehaviorTree project file, responsible for lights management.
string: LightsBT.btproj
✅ ✅ localization_config_path Specify the path to the localization configuration file.
string: relative_localization.yaml
✅ ✅ localization_mode Specifies the localization mode:
- 'relative' odometry/filtered data is relative to the initial position and orientation.
- 'enu' odometry/filtered data is relative to initial position and ENU (East North Up) orientation.
string: relative (choices: relative, enu)
✅ ✅ log_level Sets verbosity of launched nodes.
string: INFO
✅ ✅ namespace Add namespace to all launched nodes.
string: env(ROBOT_NAMESPACE)
✅ ✅ publish_robot_state Whether to publish the default URDF of specified robot.
bool: True
❌ ✅ robot_model Specify robot model type.
string: env(ROBOT_MODEL_NAME) (choices: lynx, panther)
✅ ✅ safety_bt_project_path Path to BehaviorTree project file, responsible for safety and shutdown management.
string: SafetyBT.btproj
✅ ✅ shutdown_hosts_config_path Path to file with list of hosts to request shutdown.
string: shutdown_hosts.yaml
✅ ✅ use_ekf Enable or disable EKF (Extended Kalman Filter).
bool: True
❌ ✅ use_joint_state_publisher Flag enabling joint_state_publisher to publish information about the wheel position. Should be false when there is a controller that sends this information.
bool: False
❌ ✅ use_joint_state_publisher_gui Flag enabling joint_state_publisher_gui to publish information about the wheel position. Should be false when there is a controller that sends this information.
bool: False
❌ ✅ use_rviz Run RViz simultaneously.
bool: True
✅ ✅ use_sim Whether simulation is used.
bool: False
✅ ✅ user_led_animations_path Path to a YAML file with a description of the user-defined animations.
string: ''
✅ ✅ wheel_config_path Path to wheel configuration file.
string: {wheel_type}.yaml
✅ ✅ wheel_type Specify the wheel type. If the selected wheel type is not 'custom', the wheel_config_path and controller_config_path arguments will be automatically adjusted and can be omitted.
string: WH01 (for Panther), WH05 (for Lynx) (choices: WH01, WH02, WH04, WH05, custom)
❌ ✅ x Initial robot position in the global 'x' axis.
float: 0.0
❌ ✅ y Initial robot position in the global 'y' axis.
float: -2.0
❌ ✅ z Initial robot position in the global 'z' axis.
float: 0.2
❌ ✅ roll Initial robot 'roll' orientation.
float: 0.0
❌ ✅ pitch Initial robot 'pitch' orientation.
float: 0.0
❌ ✅ yaw Initial robot 'yaw' orientation.
float: 0.0

Tip

To read the arguments for individual packages, add the -s flag to the ros2 launch command (e.g. ros2 launch husarion_ugv_bringup bringup.launch.py ​​-s)

Wichtige Repositories

Paket Repository
Haupt-Treiber https://github.com/husarion/husarion_ugv_ros
UGV Configurator https://github.com/husarion/husarion_ugv_configurator
# UGV Configurator starten
just husarion_ugv_configurator