Skip to content

Migrate ROS 2 environment from Kilted to Lyrical - #10

Open
rosterloh wants to merge 1 commit into
devfrom
upgrade-ros2-lyrical
Open

Migrate ROS 2 environment from Kilted to Lyrical#10
rosterloh wants to merge 1 commit into
devfrom
upgrade-ros2-lyrical

Conversation

@rosterloh

Copy link
Copy Markdown
Owner

Summary

Migrates the agent's ROS 2 layer from Kilted to Lyrical, dropping the source build of rclrs.

  • rclrs + rosidl_runtime_rs now come from crates.io; the robostack-lyrical conda packages provide the ROS 2 runtime and pre-generated Rust message bindings, which .cargo/config.toml patches in.
  • Pixi manifest moved to the repo root and slimmed to ros-lyrical-ros-base + the Rust toolchain.
  • Removed the rclrs_ws colcon/vcstool source-build workspace and its setup.bash step. Building now only needs pixi install then cargo build.
  • Cleaned up .cargo/config.toml (dropped the stale actionlib_msgs/example_interfaces patches) and updated docs + CHANGELOG.

Verified

  • Root Pixi env resolves; message bindings present at .pixi/envs/default/share/<pkg>/rust.
  • cargo build -p talos-agent resolves all deps (crates.io rclrs 0.7.0 + rosidl_runtime_rs 0.6.0, env message crates) and fails only at rclrs's panic!("Unsupported ROS distribution") for lyrical.
  • Non-ROS crates (talos-common, -cli, -tui) compile cleanly.

⏳ Blocked on upstream

rclrs has no Lyrical support on crates.io yet. Upstream PR ros2-rust/ros2_rust#640 adds it. Once it merges and a 0.7.x release lands on crates.io, cargo build in this env succeeds with no further changes here. The client crates are unaffected in the meantime.

🤖 Generated with Claude Code

Base automatically changed from dev to main June 10, 2026 09:14
@rosterloh
rosterloh changed the base branch from main to dev July 10, 2026 14:18
Switch the agent's ROS 2 layer to Lyrical without a source build. `rclrs` and
`rosidl_runtime_rs` now come from crates.io, and the robostack-lyrical conda
packages provide the ROS 2 runtime plus pre-generated Rust message bindings,
which `.cargo/config.toml` patches in.

Move the Pixi manifest to the repo root and slim it to `ros-lyrical-ros-base`
plus the Rust toolchain. Remove the `rclrs_ws` colcon/vcstool source-build
workspace and its `setup.bash` step; building now only needs `pixi install`
then `cargo build`. Update docs and CHANGELOG accordingly.

Building talos-agent is blocked until an rclrs release with ROS 2 Lyrical
support lands on crates.io (upstream ros2-rust/ros2_rust#640); the client
crates are unaffected.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@rosterloh
rosterloh force-pushed the upgrade-ros2-lyrical branch from 1535bdd to cd53faa Compare July 10, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant