Skip to content

Publish outdoor robots' poses in UTM frames - #118

Merged
IrinaTerebiznik merged 2 commits into
mainfrom
Irina/outdoor-utm-pose
Nov 12, 2026
Merged

IrinaTerebiznik merged 2 commits into
mainfrom
Irina/outdoor-utm-pose

Conversation

@IrinaTerebiznik

@IrinaTerebiznik IrinaTerebiznik commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Add RobotSession.publish_utm_pose, which sends a pose in a utm- frame on ros/loc/pose (as the agent does, with the 32-bit float offset split), so InOrbit creates the robot's outdoor map and draws it with its heading, with no spatial transformation or map configured. publish_geo_pose does the same from a GPS position and heading.

  • inorbit_edge.geo holds the WGS84 to UTM projection and MapDatum, to convert poses in a local map frame anchored to a datum.
  • RobotSession.publish_gps_fix(latitude, longitude, altitude=0.0, accuracy_meters=None, bearing=None): sends a raw GpsFixMessage on ros/loc/gps/fix, the same as the agent's GPSAgentlet. It has its own throttling. The pose methods never send GPS fixes.

Add RobotSession.publish_utm_pose, which sends a pose in a utm-<zone> frame
on ros/loc/pose (as the agent does, with the 32-bit float offset split), so
InOrbit creates the robot's outdoor map and draws it with its heading, with no
spatial transformation or map configured. publish_geo_pose does the same from
a GPS position and heading.

inorbit_edge.geo holds the WGS84 to UTM projection and MapDatum, to convert
poses in a local map frame anchored to a datum.

@elvioaruta elvioaruta left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change and LGTM!

Comment thread inorbit_edge/robot.py Resolved
Raw GPS fixes go on ros/loc/gps/fix as the agent's GPSAgentlet sends them,
from their own method: the pose methods never send them.
@IrinaTerebiznik
IrinaTerebiznik merged commit 91d5a45 into main Nov 12, 2026
25 checks passed
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.

2 participants