(#95) feat(hardware): YAML hardware mapping, controllers, launches, and docs#9
Open
charlesmadjeri wants to merge 3 commits intodevfrom
Open
(#95) feat(hardware): YAML hardware mapping, controllers, launches, and docs#9charlesmadjeri wants to merge 3 commits intodevfrom
charlesmadjeri wants to merge 3 commits intodevfrom
Conversation
Add config/hardware/active.yaml (boards, actuators with shoulder Y on torso, sensors), config store (active_meta, configs/default, backups), and schema README. Install config/controllers.yaml and launch/control.launch.py; point gazebo/rviz and xacro tests at package controllers; remove broken inmoov_actuators_config_ros2_control include from hardware_config. Add pytest hardware validation, URDF cross-check, and invalid YAML fixtures. Arm servo_min/max/default align with micro_ros firmware config_left_arm.c and config_right_arm.c; 270° servos use 0..270° hardware stroke; document calibration (offset_deg, scale, direction) and parity notes. Refs: #95
m-brl
requested changes
Apr 18, 2026
…idation Relocate hardware docs under docs/, add hardware_mapping and InMoov i2 notes, remove legacy hardware_config xacros. Align active.yaml and presets with lucy_config_generator (board_class, serial_id, physical_pin as INTERNAL_SERVO_N, topics). Rename hardware config test to test_hardware_yaml and tighten fixtures for the current schema. Refs: #96
3ae7c47 to
6682d38
Compare
Mael-RABOT
previously approved these changes
Apr 19, 2026
Base automatically changed from
cma/evol-architecture-description-folder
to
dev
April 25, 2026 12:49
The base branch was changed.
… robot_description for RViz - Add config/control.launch.yaml defaults for urdf/controllers paths - control.launch: spawn controllers from controllers.yaml; fix /robot_description for RViz + ros2_control subscription - rviz.launch: include control.launch only; drop duplicate ros2_control/spawners - controllers.yaml: explicit trajectory end velocity; regen-aligned joint lists - hardware YAML: internal_servo_slots per board; doc + fixture + test updates - URDF: declare white/black materials for base/stand visuals Refs: #95
m-brl
approved these changes
Apr 27, 2026
Mael-RABOT
approved these changes
Apr 28, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #95 Sentience-Robotics/lucy_ros2#95
Summary
This PR makes
config/hardware/active.yamlthe hardware single source of truth, moves controller parameters andcontrol.launch.pyintothais_urdf, aligns the tree with thedescription/layout, adds validation tests, and documents the schema plus a future InMoov i2 head-actuator appendix. Legacyhardware_config/xacro is removed.Motivation
Changes
config/hardware/active.yaml,active_meta.yaml,configs/default.yaml,backups/.config/controllers.yamlandlaunch/control.launch.py(defaultcontroller_configfrom this package).rviz.launch.py/gazebo.launch.py(and related) usedescription/share paths and current URDF entrypoint.CMakeLists.txtinstallslaunch/,config/,description/,docs/(nohardware_config/).test_hardware_yaml.py(schema, pins, URDF joint cross-check via xacro), existing xacro smoke tests;BUILD_TESTINGpytest wiring updated.doc/→docs/;docs/hardware_mapping.md,docs/inmoov_i2.md, updateddocs/DEVELOPER.md,README.md,CONTRIBUTING.md; short pointer inconfig/hardware/README.md.hardware_config/*.xacro(superseded by YAML + docs).