OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
map_renderer.map_position_adapter.MapPositionAdapter Class Reference

Smooth live position fixes and manage the navigation camera. More...

Public Member Functions

None update (self, PositionState state)
 Accept one authoritative position fix.
 
None update_ground_motion (self, GroundMotionState state)
 Accept independent ground speed and course information.
 
tuple[float, float, float] adjust_camera (self, *float zoom_delta=0.0, float pitch_delta=0.0, float bearing_delta=0.0)
 Adjust the followed camera and enter manual camera mode.
 
None enable_auto_camera (self)
 Return zoom, pitch, and bearing to automatic navigation behavior.
 

Detailed Description

Smooth live position fixes and manage the navigation camera.


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