OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
map_renderer.map_camera_runtime.MapCameraRuntime Class Reference

Feed navigation position and motion into a renderer-backed map camera. More...

Public Member Functions

MapRendererClient renderer_client (self)
 Return the long-lived renderer client shared by map features.
 
MapRequestHandlerIf request_handler (self)
 Return the semantic camera request interface.
 
GeoPoint|None current_position (self)
 Return the latest live or cached navigation position.
 
None refresh_renderer_position (self)
 Replay the real live/cached vehicle marker after renderer replacement.
 
None start (self)
 Start receiving navigation position and motion updates.
 
None close (self)
 Release subscriber and renderer-command resources.
 

Protected Member Functions

None _on_manual_camera_interaction (self, _payload)
 Suspend follow when the user directly manipulates the native map.
 
None _on_motion_message (self, MotionStateMessage message)
 Keep a followed map course-up while the vehicle is moving.
 
float|None _filter_bearing (self, float bearing_rad)
 Suppress small course jitter and smooth real turns across north.
 

Static Protected Member Functions

GeoPoint|None _load_cached_center (Path cache_directory)
 Load the last valid position from the persistent position cache.
 
float _angular_delta (float start_rad, float end_rad)
 Return the shortest signed angular difference from start to end.
 

Detailed Description

Feed navigation position and motion into a renderer-backed map camera.


The documentation for this class was generated from the following file: