G1 raytracing navigation stack (unitree-g1-nav-simple)#2327
G1 raytracing navigation stack (unitree-g1-nav-simple)#2327jeff-hykin wants to merge 31 commits into
Conversation
Renames uintree_g1_primitive_no_nav.py to unitree_g1_primitive_no_nav.py, adds unitree_g1_onboard.py at the corrected path, updates the variable name and all importers, and regenerates the all_blueprints.py registry keys (drops the typo'd uintree-g1-primitive-no-nav entry, adds the correctly-spelled unitree-g1-onboard and unitree-g1-primitive-no-nav).
…does navigate but with problems)
Prefix with _ so it is not registered as a standalone runnable blueprint; it stays a shared composition for nav-simple and nav-onboard. unitree-g1-nav-simple is the only new blueprint.
Greptile SummaryIntroduces the
Confidence Score: 5/5Safe to merge; the new nav stack is additive and existing stacks are unaffected. All changes are either new files (new blueprint, sub-blueprints, Rust nix build) or targeted fixes (frame_id propagation, deadzone compensation). No existing navigation paths are broken. The one asymmetry in the FastLio2 TF publish only manifests when frame_id_prefix is explicitly set, which no current blueprint does. dimos/hardware/sensors/lidar/fastlio2/module.py for the frame_id_prefix asymmetry introduced by the TF refactor. Important Files Changed
Sequence DiagramsequenceDiagram
participant HW as G1 Hardware
participant FL as FastLio2
participant RT as RayTracingVoxelMap
participant CM as CostMapper
participant RA as ReplanningAStarPlanner
participant MM as MovementManager
participant DDS as G1HighLevelDdsSdk
HW->>FL: LiDAR scan
FL->>RT: lidar (PointCloud2)
FL->>RT: odometry (Odometry)
RT->>CM: global_map (PointCloud2)
CM->>RA: global_costmap (OccupancyGrid)
FL->>RA: odometry → to_pose_stamped()
RA->>MM: nav_cmd_vel (Twist)
MM->>DDS: cmd_vel (Twist)
DDS->>DDS: _boost_above_deadzone()
DDS->>HW: motion command
Reviews (6): Last reviewed commit: "Merge branch 'jeff/feat/g1_raycast' of g..." | Re-trigger Greptile |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
|
@paul-nechifor (sorry needs re-approval after merge with main) |
How to Test
on g1:
Contributor License Agreement