| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains a customized navigation system based on the ROS 2 Navigation Stack (Nav2), adapted for DIT Robotics' Eurobot 2026 competition requirements.
Enables smooth and efficient autonomous movement.
Seamlessly integrates docking and navigation for autonomous charging or station return.
Offers a variety of commands for enhanced control and flexibility:
Control the robot's emergency stop or resume behavior via the /stopRobot topic.
The keepout zones correspond to specific regions on the Eurobot 2026 field, used to restrict robot access dynamically via /keepout_zone.
global_costmap:
global_costmap:
ros__parameters:
keepout_layer:
inflation_length: 0.15 # distance over which cost is inflated
cost_scaling_factor: 5.0 # higher value -> steeper cost increase
keepout_expand_mode: 1 # 0: Circle, 1: Squaresee more about the params /navigation2_run/params/nav2_params_default.yaml
Main features:
Look-ahead path following
Uses a configurable look_ahead_distance to pick a look-ahead target on the
global path and generate smooth velocity commands.
Costmap-aware slowdown and replanning
Checks cost values along the segment from current pose to a point ahead on the path.
If any cell exceeds costmap_tolerance:
Goal yaw alignment
Tracks the final goal yaw (final_goal_angle_).
Uses angular_kp to scale the yaw error and clamps it with max_angular_vel_.
Uses yaw_goal_tolerance_ to decide when the orientation is aligned.
Rival-aware slowdown (optional)
Computes the distance between the robot and the rival.
When the distance is smaller than rival_slowdown_radius_, scales linear speed
by rival_decay_.
Publishes the current distance on the rival_distance topic.
DelaySpin behavior
When controller_function is set to "DelaySpin", in-place spinning is
disabled near the start of the path.
Spinning is only allowed after the robot moves beyond spin_delay_threshold_,
then the mode automatically switches back to "None".
Dynamic speed limiting
Supports setSpeedLimit() to apply dynamic speed limits, either as a
percentage of a base speed or as an absolute value.
(Keyword order does not matter and is designed for compatibility.)
Template Base:
Functional Tags:
rival_parameters:
rival_inscribed_radius: *data(double)*For environment setup instructions and Docker configurations, please refer to the docker/ directory.
Eurobot-2026
└── Eurobot-2026-ws/
└── src/
├── Eurobot-2026-Navigation2/ # Core navigation system code
├── custom_bts/ # Custom behavior trees
├── custom_controller/ # Custom controller plugins
├── custom_layer/ # Custom costmap layers
├── navigation2_run/ # Navigation system packages
├── Navigation2/ # Modified version of Nav2
└── opennav_docking/ # Docking server implementation
└── Eurobot-2026-Navigation2-envs/ # Docker environments
├── Navigation2-humble-local/ # Local PC environment
└── Navigation2-humble-deploy/ # Remote machine environment
Contributions are welcome! Please follow these steps:
This project is licensed under the MIT License. See the LICENSE file for details.
Portions of this software are based on the ROS 2 Navigation Stack (Nav2), which is licensed under the Apache License 2.0. See the Navigation2 submodule for more details.
For any issues or inquiries, please open an issue on GitHub or contact the DIT Robotics team.
| Back | FazBrowse Home | New Git URL |