How evangelos-karavas/ros2-lower-limb-exoskeleton-control works
This ROS 2 project supports simulation and research control of a powered hip-knee-ankle exoskeleton. The main workflow is to describe and simulate the robot, derive gait phase from joint and foot-contact feedback, generate phase-variable or timestamp-based neural-network trajectories, and send commands to a controller for execution and visualization. Separate Hermes variants provide additional PV and timestamp CNN/LSTM controllers. MoveIt configuration and joint-state logging support kinematic analysis; PlotJuggler data and scripts support offline trajectory comparison. Unsampled subsystem links are included only where the README documents the capability.
Main entry points: ros2_controller.yaml Trajectory controller · gazebo.launch.py Gazebo simulation · joint_publisher_pv.py Phase-variable control · joint_publisher_hermes_pv_lstm_18ch.py Hermes PV LSTM
Components 21
Robot and simulation
- Robot description
exo_description/urdf/lleap_exo.urdf.xacro - Gazebo simulation
exo_gazebo/launch/gazebo.launch.py - Robot state publisher
- Foot contact detection
exo_control/exo_control/foot_contact_bool.py - Joint feedback
Gait control
- Phase-variable control
exo_control/exo_control/joint_publisher_pv.py - Timestamp NN control
exo_control/exo_control/joint_publisher_nn.py - Hermes PV control
exo_control/exo_control/joint_publisher_hermes_pv.py - Hermes PV CNN
exo_control/exo_control/joint_publisher_hermes_pv_cnn_18ch.py - Hermes PV LSTM
exo_control/exo_control/joint_publisher_hermes_pv_lstm_18ch.py - Hermes timestamp CNN
exo_control/exo_control/joint_publisher_hermes_ts_cnn_18ch.py - Hermes timestamp LSTM
exo_control/exo_control/joint_publisher_hermes_ts_lstm_18ch.py - Hermes PV variant
exo_control/exo_control/joint_publisher_hermes_pv.py - Trajectory controller
exo_control/config/ros2_controller.yaml - Model and scaler assets
exo_control/neural_network_parameters
Planning and visualization
- Patient data display
exo_control/exo_control/data_publisher.py - MoveIt planning
exo_moveit/config/lleap_exo.srdf - Joint-state logger
exo_moveit/exo_moveit/logjointstates.py - RViz visualization
exo_rviz/rviz/exo.rviz - Trajectory analysis
misc/PlotJuggler_misc/plotjuggler_visualization.py
Other components
- Research user
Connections 31
- Research user → Gazebo simulation: launches simulation
README.md - Research user → Phase-variable control: launches control
README.md - Robot description → Gazebo simulation: models robot
exo_gazebo/launch/gazebo.launch.py - Gazebo simulation → Robot state publisher: publishes description
exo_gazebo/launch/gazebo.launch.py - Gazebo simulation → Foot contact detection: starts detection
exo_gazebo/launch/gazebo.launch.py - Gazebo simulation → Joint feedback: simulates joints
README.md - Joint feedback → Phase-variable control: feeds feedback
README.md - Joint feedback → Timestamp NN control: feeds feedback
README.md - Joint feedback → Hermes PV control: feeds feedback
- Joint feedback → Hermes PV CNN: feeds feedback
- Joint feedback → Hermes PV LSTM: feeds feedback
- Joint feedback → Hermes timestamp CNN: feeds feedback
- Joint feedback → Hermes timestamp LSTM: feeds feedback
- Foot contact detection → Phase-variable control: provides contact
- Foot contact detection → Hermes PV LSTM: provides contact
- Phase-variable control → Model and scaler assets: loads model assets
- Timestamp NN control → Model and scaler assets: loads model assets
- Hermes PV LSTM → Model and scaler assets: loads model assets
- Phase-variable control → Trajectory controller: publishes trajectory
README.md - Timestamp NN control → Trajectory controller: publishes trajectory
README.md - Hermes PV LSTM → Trajectory controller: publishes commands
exo_control/exo_control/joint_publisher_hermes_pv_lstm_18ch.py - Hermes PV CNN → Trajectory controller: publishes commands
- Hermes timestamp CNN → Trajectory controller: publishes commands
- Hermes timestamp LSTM → Trajectory controller: publishes commands
- Hermes PV variant → Trajectory controller: publishes commands
- Joint feedback → Patient data display: provides patient data
- Joint feedback → MoveIt planning: supports analysis
- Joint feedback → Joint-state logger: logs state
exo_moveit/exo_moveit/logjointstates.py - Robot description → RViz visualization: visualizes model
- Joint feedback → RViz visualization: displays joint states
README.md - Joint feedback → Trajectory analysis: compares trajectories
misc/PlotJuggler_misc/plotjuggler_visualization.py