Software
easynav_nav2_bridge
By EasyNavigation, from github.com/EasyNavigation/easynav_nav2_bridge (opens in a new tab)
- Navigation and mapping
- Tool
- Apache-2.0
A ROS 2 adapter that exposes a Nav2 NavigateToPose action server backed by EasyNav, so Nav2-compatible clients can drive EasyNav without knowing it is not Nav2.
Facts
- GitHub stars
- 1read on 28 Nov 2026
- Last update
- 10 Oct 2026Newest commit on rolling
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit bc5dcd0 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Accepts every incoming NavigateToPose goal and forwards it to EasyNav through a GoalManagerClient, letting EasyNav decide if the goal is achievable.
- Republishes EasyNav's navigation state as Nav2 feedback, mapping remaining time and pose into the Nav2 feedback fields.
- Reports success when EasyNav finishes the goal, and aborts with an error code when EasyNav fails or hits an internal error.
- Forwards client cancel requests to EasyNav and reports the goal as canceled once EasyNav confirms.
- A new Nav2 goal preempts the active one, and a goal taken over by another EasyNav client is reported as aborted rather than canceled.
- Ignores the behavior_tree field of the goal, since EasyNav does not use behavior trees.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Active, last commit on 10 Oct 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/EasyNavigation/easynav_nav2_bridge (opens in a new tab)
- The version Robotheca readbc5dcd0 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by EasyNavigation, at commit bc5dcd0, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
easynav_nav2_bridge
A drop-in nav2_msgs/action/NavigateToPose action server backed by EasyNav.
It lets any Nav2-compatible client — RViz's "2D Nav Goal", the Nav2 simple
commander, a BehaviorTree NavigateToPose node, ros2 action send_goal, etc. —
drive EasyNav without knowing it isn't talking to Nav2's bt_navigator. The
bridge forwards the goal to EasyNav through an
easynav::GoalManagerClient (opens in a new tab)
and translates EasyNav's feedback and result back into the Nav2 action's
feedback and result.
Why
EasyNav has its own native goal protocol
(easynav_interfaces/msg/NavigationControl, driven through
GoalManagerClient/GoalManager). Some tools and integrations, however, only
know how to speak Nav2's action interface. This package is the adapter between
the two: on one side it is a NavigateToPose action server, on the other a
regular EasyNav client, so a client can't tell the two systems apart.
Node
nav2_bridge_main
Runs an easynav::Nav2Bridge node.
ros2 run easynav_nav2_bridge nav2_bridge_main
It advertises the action:
| Action | Type |
|---|---|
navigate_to_pose | nav2_msgs/action/NavigateToPose |
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
feedback_rate | double | 10.0 | Rate (Hz) at which EasyNav's state is polled and feedback is republished. |
The goal's behavior_tree field is ignored: EasyNav does not use behavior
trees, so there is nothing to select there.
How it works
Nav2Bridge owns a single GoalManagerClient and a single NavigateToPose
action server, and drives both from one periodic, single-threaded cycle()
callback — the same timer-driven pattern used by other EasyNav clients (see
easynav_patrolling_behavior). No extra threads or locks are involved.
- Accepting a goal: every incoming goal is accepted
(
ACCEPT_AND_EXECUTE) and immediately forwarded to EasyNav viaGoalManagerClient::send_goal(). EasyNav — not this bridge — is the one that actually decides whether a goal is achievable. - Feedback: while EasyNav reports it is navigating, each
cycle()tick republishes its latest feedback (current_pose,navigation_time,estimated_time_remaining, mapped todistance_remaining) asNavigateToPose::Feedback. - Success: when EasyNav reports the goal as finished, the action
succeeds with
error_code == NONE. - Failure / internal error: reported as
ABORTED, with a non-NONEerror_code. EasyNav's textual reason is logged server-side (RCLCPP_ERROR) rather than placed in the result, since not everynav2_msgsbuild declares anerror_msgfield (message-only distributions may trimNavigateToPosedown to justerror_code/NONE). - Client-requested cancel: a Nav2 cancel request is forwarded to EasyNav
(
GoalManagerClient::cancel()); once EasyNav confirms the cancellation the action reportsCANCELED. - Preemption by a new goal: sending a new
NavigateToPosegoal while one is active preempts it, exactly like Nav2'sbt_navigator. The previous goal is terminated asABORTED("Goal preempted by a new navigation request") and the new one takes over — under the hood this reuses EasyNav's own native preemption (GoalManagerClienttransparently re-sends the goal), so there is no cancel/re-request round trip. - Preemption by someone else: if a different EasyNav client (another
GoalManagerClient, or a rawgoal_posepublish, e.g. from RViz) takes over navigation while this bridge owns the active goal, the Nav2 goal is terminated asABORTEDrather thanCANCELED— from the Nav2 client's point of view it never asked to cancel, so reportingCANCELEDwould be a protocol violation (and is in fact illegal at therclcpp_actionstate machine level unless a cancel was actually requested).
Building
This package depends on easynav_system (and the rest of the
EasyNavigation (opens in a new tab) core
packages), plus nav2_msgs. In a workspace where those aren't already
available, checkout EasyNavigation as a sibling under src/ (and, since
some distros don't ship nav2_msgs as a standalone package, the
nav2_msgs_only (opens in a new tab)
branch) before running colcon build — see
.github/thirdparty.repos (opens in a new tab) for the exact sources
CI pulls in.
Tests
tests/nav2_bridge_tests.cpp exercises the bridge end-to-end: a real
nav2_msgs action client talks to a Nav2Bridge, which in turn talks to a
real easynav::GoalManager standing in for the rest of EasyNav. Covered
scenarios include normal completion, failure, internal error, client-side
cancellation, preemption by a new Nav2 goal, preemption by another EasyNav
client, sequential goals, and feedback translation.
colcon test --packages-select easynav_nav2_bridge
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.