3#include <NDEVR/Button.h>
4#include <NDEVR/OrientationSensor.h>
14 class HARDWARE_WIDGETS_API AlignGyroButton :
public Button
22 explicit AlignGyroButton(QWidget* parent =
nullptr);
27 void setSensor(OrientationSensor* sensor);
32 void setIgnoreSounds(
bool ignore_sounds);
37 void setShowWide(
bool show_wide);
42 void showCalibrationOptionsPopup(PopupInfo info);
47 void setAllowNewAlignment(
bool allow);
52 void setAllowVerifyAlignment(
bool allow);
57 void setAllowEditAlignment(
bool allow);
60 void editCalibrationSignal();
61 void requestedCalibrationSignal();
66 void sensorDestroyedSlot();
72 void calibrateGyro(PopupInfo info);
77 void verifyGyro(PopupInfo info);
79 Time m_last_time = Time(0);
81 OrientationSensor* m_sensor;
82 QTimer* m_stale_value_timer =
nullptr;
85 bool m_allow_new_alignment =
true;
86 bool m_allow_verify_alignment =
true;
87 bool m_allow_edit_alignment =
true;
Forward declaration for design object lookup service.
Manages all windows and logic surrounding dialogs and views for displaying and managing any environme...
The primary namespace for the NDEVR SDK.
GyroState
Used by OrientationSensor to display the current state of any available gyro.