DiscoverLearnDocumentationGet OpenPLXSearch Contact

Sensors/Signals/GyroscopeOutput.openplx

GyroscopeOutput

GyroscopeOutput is Physics.Signals.Output:
    type: 0
    fields is Int[]
    source is GyroscopeLogic reference
    marshalling: marshalling_from_fields(fields)

    static fn marshalling_from_fields(fields: Int[]) -> Physics.Signals.Marshalling

    # C++ extensions
    .extend_public: "std::vector readXValues(const std::shared_ptr<openplx::Sensors::Signals::SensorOutputSignal>& signal) const;"</span>
    .extend_public: "std::vector readYValues(const std::shared_ptr<openplx::Sensors::Signals::SensorOutputSignal>& signal) const;"</span>
    .extend_public: "std::vector readZValues(const std::shared_ptr<openplx::Sensors::Signals::SensorOutputSignal>& signal) const;"</span>
    .extend_public: "std::shared_ptr<openplx::Sensors::Signals::SensorOutputSignal> createSignal(const std::vector& XValues, const std::vector& YValues, const std::vector& ZValues) const;"</span>

</pre>
</div>
OpenPLX is a work in progress. This draft version will evolve with user feedback and experience. We welcome your input and collaboration.
X