G1 raytracing navigation stack (unitree-g1-nav-simple)#2327
G1 raytracing navigation stack (unitree-g1-nav-simple)#2327jeff-hykin wants to merge 29 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 SummaryThis PR introduces a new
Confidence Score: 5/5Safe to merge; the core data pipeline from LiDAR through raytracing to A* planning wires correctly and runtime behaviour is unaffected by the two findings. The new navigation stack is cleanly decomposed and the frame_id propagation and deadzone compensation look correct. The two findings are both housekeeping items: a redundant remapping entry and a flake.lock that records a dev-branch ref which will need regenerating after merge. Neither affects runtime behaviour of the nav stack itself. The Important Files Changed
Sequence DiagramsequenceDiagram
participant FastLio2
participant RayTracingVoxelMap
participant CostMapper
participant ReplanningAStarPlanner
participant MovementManager
participant G1HighLevelDdsSdk
FastLio2->>RayTracingVoxelMap: lidar (PointCloud2)
FastLio2->>RayTracingVoxelMap: odometry (Odometry)
FastLio2->>ReplanningAStarPlanner: odometry (Odometry)
Note over FastLio2: global_map remapped to global_map_fastlio (suppressed)
RayTracingVoxelMap->>CostMapper: global_map (PointCloud2)
CostMapper->>ReplanningAStarPlanner: global_costmap (OccupancyGrid)
ReplanningAStarPlanner->>MovementManager: nav_cmd_vel (Twist)
MovementManager->>G1HighLevelDdsSdk: move (Twist)
Note over G1HighLevelDdsSdk: _boost_above_deadzone applied to vx, vy, vyaw
Reviews (5): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
| config: ReplanningAStarPlannerConfig | ||
|
|
||
| odom: In[PoseStamped] # TODO: Use TF. | ||
| odometry: In[Odometry] |
There was a problem hiding this comment.
It's a bit confusing to have both odom and odometry.
How to Test
on g1:
Contributor License Agreement