Skydel Plug-ins Documentation
  • Introduction
  • Development Environment
    • Ubuntu 22.04
    • Windows 10 & 11
    • Compilation
    • Featured Plug-ins
      • IMU Plug-in
  • Plug-in Development
    • Roles
      • Core
      • RAPI
      • Position Observer
      • Raw Data Observer
      • HIL Observer
      • Radio Time Observer
      • Transmitter Observer
      • Simulator State Observer
    • Enabling
    • Runtime
    • Time Synchronization
  • Plug-ins in Skydel
    • Using Plug-ins
  • Legacy Custom Signal
    • Migration
Powered by GitBook
On this page
  • Real Time Positions
  • Dynamic User Interface
  • Example
  1. Plug-in Development
  2. Roles

Position Observer

This section contains a description of the SkydelPositionObserverInterface supported by Skydel.

PreviousRAPINextRaw Data Observer

Last updated 1 year ago

Real Time Positions

During simulation initialization, Skydel will ask for a SkydelRuntimePositionObserver* from every plug-in via the createRuntimePositionObserver method. It's mandatory to fully give the ownership of the returned pointer to Skydel.

During simulation, Skydel will send the vehicle position data in ecef at 1000 Hz via the pushPosition method with the following data structure:

TimedPosition
Unit

time

millisecond

position(x, y, z)

meter

orientation(roll, pitch, yaw)

radian

Dynamic User Interface

During simulation initialization, Skydel will provide opportunity for plug-ins to connect to their user interface for real-time updates via the connectToView method. The QWidget* parameter is the same as the one created by the createUI method.

Example

See the plug-in example for more information. It covers:

  • Receiving real time position data

  • Updating the user interface

  • Logging in the temporary folder

  • Sending position data on the network

position_observer_plugin