Skip to content

Torrent and repeat#262

Draft
becaanth wants to merge 513 commits into
mainfrom
torrent_and_repeat
Draft

Torrent and repeat#262
becaanth wants to merge 513 commits into
mainfrom
torrent_and_repeat

Conversation

@becaanth

@becaanth becaanth commented Jul 8, 2026

Copy link
Copy Markdown

No description provided.

a-krawciw and others added 30 commits October 2, 2025 16:34
becaanth added 26 commits June 25, 2026 10:40
…ges are not drawn; outstanding issue: graph_state_ is stale in graph_map_server, so publish(graph_state_) resets the UI to initial state. 2) graph updates are stable, but still vertices are updating type, not edges
…. a timer would be wasteful. the GraphUpdate messages still leave a dotted line, thats because of how vertices are updated, but once the graph is interacted with, it snaps back to useful state
…lear active_routes, resulting in a missing update to the state. This caused 1-vertex gaps in the UI that are not navigable. next fix is missing vertices updated when transitioning from landing page -> UI
…ng the leading vtx issue in previous commit. next issue is resource deadlock @ end of repeat
…s_ to have a bool flag indicating whether the topology edge has been published before
…dAndPublishGraphState at start of function call so that GUI can be updated without a valid waypoint_name (topology vtxs)
…members, we publish topology data as they are added, so dont need to track that separately
…egraph, and from loading spatial edges (edge case where merge points are MANUAL and SPATIAL
…hat root_vid is (0,0) by default no longer holds
… call to graph->save() is unnecessary with saveLive(), removed call which was writing an EXTRA copy of last two edges. Could modify save() to increment lastEdgeIndex_ and lastVertexIdx_ accordingly so that loadLive() doesnt crash, but I think sticking with saveLive() is the correct design choice
@becaanth
becaanth requested a review from a-krawciw July 8, 2026 17:52
const CallbackPtr callback_;

std::mt19937_64 rng_{std::random_device{}()};
uint8_t robot_id_ = static_cast<uint8_t>(std::stoi(std::getenv("ROBOT_ID")));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't like having an env variable in general, certainly not buried this deeply. Unless it's very difficult, this should be passed in as a launch / config param.

"Spatial edges may only be added from higher run numbers to lower "
"ones");
}
// if (from_.majorId() < to_.majorId()) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just delete, don't leave dead comment blocks. Git will remember everything if it ever matters again.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This file is about to read vision data. Given that vision data products are not currently torrented, I would suggest leaving it as privileged not topology.

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.

4 participants