Provides an interface for controlling a motor involved with a particular Deployment.
More...
|
|
Button * | m_deploy_constant_down |
| | Button for constant-speed downward deployment.
|
|
Button * | m_deploy_constant_up |
| | Button for constant-speed upward deployment.
|
|
Button * | m_deploy_down |
| | Button for step-mode downward deployment.
|
|
Button * | m_deploy_up |
| | Button for step-mode upward deployment.
|
|
WinchDeploymentDialog * | m_deployment_dialog |
| | Dialog for detailed winch deployment settings.
|
|
Motor * | m_motor |
| | The motor being controlled.
|
Provides an interface for controlling a motor involved with a particular Deployment.
Definition at line 19 of file WinchDeploymentWidget.h.
◆ MotorDeploymentWidget() [1/2]
| MotorDeploymentWidget::MotorDeploymentWidget |
( |
QWidget * | parent = nullptr | ) |
|
◆ MotorDeploymentWidget() [2/2]
| MotorDeploymentWidget::MotorDeploymentWidget |
( |
Motor * | winch, |
|
|
QWidget * | parent = nullptr ) |
◆ deploymentDialog()
Returns or creates the winch deployment dialog for detailed motor control.
- Returns
- A pointer to the WinchDeploymentDialog.
◆ setMotor()
| void MotorDeploymentWidget::setMotor |
( |
Motor * | winch | ) |
|
Sets the motor to control.
- Parameters
-
| [in] | winch | The Motor to assign to this widget. |
◆ startMotor()
| void MotorDeploymentWidget::startMotor |
( |
bool | up, |
|
|
bool | constant ) |
Starts the motor in the specified direction and mode.
- Parameters
-
| [in] | up | Whether to move the motor upward (true) or downward (false). |
| [in] | constant | Whether to run at constant speed (true) or step mode (false). |
The documentation for this class was generated from the following file: