Definition at line 2681 of file drivectrl.cc.
References StateMachineDrive< T, S >::Disconnect(), StateMachineDrive< T, S >::HandleTPoint(), StateMachineDrive< T, S >::HandleWeatherData(), Drive::State::kAllowedRangeExceeded, Drive::State::kArmed, Drive::State::kAvailable, Drive::State::kBlocked, State::kConnected, State::kDisconnected, kEJupiter, kEMars, kEMoon, kESaturn, kEVenus, Drive::State::kInitialized, Drive::State::kInvalidCoordinates, Drive::State::kLocked, BIAS::State::kLocked, Drive::State::kMoving, Drive::State::kOnTrack, Drive::State::kParking, Drive::State::kPositioningFailed, Drive::State::kStopping, Drive::State::kTracking, Drive::State::kUnavailable, StateMachineDrive< T, S >::MoveTo(), StateMachineDrive< T, S >::Orbit(), StateMachineDrive< T, S >::Park(), StateMachineDrive< T, S >::Print(), StateMachineDrive< T, S >::Reconnect(), StateMachineDrive< T, S >::ReloadSources(), StateMachineDrive< T, S >::RequestSdo(), StateMachineDrive< T, S >::ResetError(), StateMachineDrive< T, S >::Screenshot(), StateMachineDrive< T, S >::SendSdo(), StateMachineDrive< T, S >::SetLedBrightness(), StateMachineDrive< T, S >::SetLedsOff(), StateMachineDrive< T, S >::SetVerbosity(), StateMachineDrive< T, S >::StopMovement(), StateMachineDrive< T, S >::TPoint(), StateMachineDrive< T, S >::Track(), StateMachineDrive< T, S >::TrackCelest(), StateMachineDrive< T, S >::TrackOn(), StateMachineDrive< T, S >::TrackOrbit(), StateMachineDrive< T, S >::TrackSource(), StateMachineDrive< T, S >::TrackWobble(), StateMachineDrive< T, S >::Unlock(), and StateMachineDrive< T, S >::Wobble().
2686 T::Subscribe(
"MAGIC_WEATHER/DATA")
2689 T::Subscribe(
"TPOINT/DATA")
2694 "No connection to SPS");
2696 "Connection to SPS, no information received yet");
2699 "Drive system is locked (will not accept commands)");
2702 "Connected to SPS, no connection to at least one IndraDrives");
2704 "Connected to SPS and to IndraDrives, but at least one drive not in RF");
2706 "Drive system is blocked by manual operation or a pressed emergeny button");
2708 "Connected to SPS and IndraDrives in RF, but not yet initialized");
2710 "Connected to SPS and IndraDrives in RF and initialized");
2713 "Stop command sent, waiting for telescope to be still");
2715 "Telescope in parking operation, waiting for telescope to be still");
2717 "Telescope moving");
2719 "Telescope in tracking mode");
2721 "Telescope tracking stable");
2724 "Target position was not reached within ten steps");
2726 "Telecope went out of range during tracking");
2728 "Tracking coordinates out of range");
2733 (
"Request an SDO from the drive" 2734 "|node[uint32]:Node identifier (1:az, 3:zd)" 2735 "|index[uint32]:SDO index" 2736 "|subindex[uint32]:SDO subindex");
2740 (
"Request an SDO from the drive" 2741 "|node[uint32]:Node identifier (1:az, 3:zd)" 2742 "|index[uint32]:SDO index" 2743 "|subindex[uint32]:SDO subindex" 2744 "|value[uint64]:Value");
2749 (
"Move the telescope to the given local sky coordinates" 2750 "|Zd[deg]:Zenith distance" 2751 "|Az[deg]:Azimuth");
2755 (
"Move the telescope to the given sky coordinates and start tracking them" 2756 "|Ra[h]:Right ascension" 2757 "|Dec[deg]:Declination");
2761 (
"Move the telescope to the given wobble position around the given sky coordinates and start tracking them" 2762 "|Ra[h]:Right ascension" 2763 "|Dec[deg]:Declination" 2764 "|Offset[deg]:Wobble offset" 2765 "|Angle[deg]:Wobble angle");
2769 (
"Move the telescope in a circle around the source" 2770 "|Ra[h]:Right ascension" 2771 "|Dec[deg]:Declination" 2772 "|Offset[deg]:Wobble offset" 2773 "|Angle[deg]:Starting angle" 2774 "|Period[min]:Time for one orbit");
2778 (
"Move the telescope to the given wobble position around the given source and start tracking" 2779 "|Offset[deg]:Wobble offset" 2780 "|Angle[deg]:Wobble angle" 2781 "|Name[string]:Source name");
2785 (
"Move the telescope to the given wobble position around the given source and start tracking" 2786 "|Id:Wobble angle id (1 or 2)" 2787 "|Name[string]:Source name");
2791 (
"Move the telescope in a circle around the source" 2792 "|Angle[deg]:Starting angle" 2793 "|Period[min]:Time for one orbit" 2794 "|Name[string]:Source name");
2798 (
"Move the telescope to the given position and start tracking" 2799 "|Name[string]:Source name");
2803 (
"Start tracking the moon");
2806 (
"Start tracking Venus");
2809 (
"Start tracking Mars");
2812 (
"Start tracking Jupiter");
2815 (
"Start tracking Saturn");
2820 (
"Park the telescope");
2824 (
"Stop any kind of movement.");
2828 (
"Acknoledge an internal error (PositioningFailed, AllowedRangeExceeded)");
2834 T::AddEvent(
"SCREENSHOT",
"B:1;C")
2836 (
"Take a screenshot" 2837 "|color[bool]:False if just the gray image should be saved." 2838 "|name[string]:Filename");
2840 T::AddEvent(
"SET_LED_BRIGHTNESS",
"I:2")
2842 (
"Set the LED brightness of the top and bottom leds" 2843 "|top[au]:Allowed range 0-32767 for top LEDs" 2844 "|bot[au]:Allowed range 0-32767 for bottom LEDs");
2846 T::AddEvent(
"LEDS_OFF")
2848 (
"Switch off TPoint LEDs");
2852 (
"Unlock locked state.");
2855 T::AddEvent(
"SET_VERBOSITY",
"S:1")
2857 (
"Set verbosity state" 2858 "|verbosity[uint16]:disable or enable verbosity for received data (yes/no), except dynamic data");
2863 (
"disconnect from ethernet");
2867 (
"(Re)connect Ethernet connection to SPS, a new address can be given" 2868 "|[host][string]:new ethernet address in the form <host:port>");
2871 T::AddEvent(
"PRINT")
2873 (
"Print source list.");
2877 (
"Reload sources from database after database has changed..");
vector< double > fDevBuffer
int TrackOn(const EventImp &evt)
int TrackOrbit(const EventImp &evt)
int RequestSdo(const EventImp &evt)
ba::deadline_timer fTrackingLoop
Adds some functionality to boost::posix_time::ptime for our needs.
int Reconnect(const EventImp &evt)
int TrackSource(const EventImp &evt)
int HandleTPoint(const EventImp &evt)
int Orbit(const EventImp &evt)
int SendSdo(const EventImp &evt)
int HandleWeatherData(const EventImp &evt)
int Screenshot(const EventImp &evt)
int SetLedBrightness(const EventImp &evt)
int TrackWobble(const EventImp &evt)
int MoveTo(const EventImp &evt)
int SetVerbosity(const EventImp &evt)
int Wobble(const EventImp &evt)
int Track(const EventImp &evt)
int TrackCelest(const string &cmd, const string &source)