Electric Tiger DAQ  1.0.0
Data Acquisition Software for the Electric Tiger Experiment
stepper_motor.h
1 #ifndef STEPPERMOTOR_H
2 #define STEPPERMOTOR_H
3 
4 //C System-Headers
5 //
6 //C++ System headers
7 #include <vector>
8 //Boost Headers
9 //
10 //Qt Headers
11 //
12 //Project specific headers
13 #include "../AbstractSocketCommunicator/abstractintermittensocket.h"
14 #include "../AbstractSocketCommunicator/abstractsocketcommunictor.h"
15 
20 
21  public:
22  StepperMotor( std::string ip_addr, uint port_number, QObject* parent = 0 );
23  StepperMotor& operator=( const StepperMotor& ) = delete; // non copyable
24 
25  void TuneToLength( double desired_length, double current_length );
26  void TuneCavity( double length_of_tune );
27  void PanicResetCavity( uint iteration, double revs_per_iter );
28  void TuningLoop(double len_of_tune, double revs, uint iters);
29 
30  private:
31  void SetUpStepperMotor( double traverse_speed = 5.0 );
32 
33 };
34 
35 
36 #endif // STEPPERMOTOR_H
Definition: abstractintermittensocket.h:16
Object to sends commands to an Applied Motion products stepper motor.
Definition: stepper_motor.h:19