virtual void reportState(StateReporter& reporter) override
    {
        //call base
        UpdatableObject::reportState(reporter);

        reporter.writeValue("Baro-Alt", output_.altitude);
        reporter.writeValue("Baro-Prs", output_.pressure);
    }
Exemple #2
0
    virtual void reportState(StateReporter& reporter) override
    {
        reporter.writeValue("Sleep", 1.0f / executor_.getSleepTimeAvg());
        if (physics_engine_)
            physics_engine_->reportState(reporter);

        //call base
        UpdatableContainer::reportState(reporter);
    }
Exemple #3
0
    virtual void reportState(StateReporter& reporter) override
    {
        //call base
        UpdatableObject::reportState(reporter);

        reporter.writeValue("Position", current_.pose.position);
        reporter.writeValue("Orientation", current_.pose.orientation);
        reporter.writeValue("Lin-Vel", current_.twist.linear);
        reporter.writeValue("Lin-Accl", current_.accelerations.linear);
        reporter.writeValue("Ang-Vel", current_.twist.angular);
        reporter.writeValue("Ang-Accl", current_.accelerations.angular);
    }