Changeset 18655
- Timestamp:
- 10/15/16 19:41:26 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r18597 r18655 1882 1882 Acceleration fAccMax; 1883 1883 double fMaxPointingResidual; 1884 double fMaxParkingResidual; 1884 1885 double fPointingVelocity; 1885 1886 … … 2620 2621 // Check which axis should still be moved 2621 2622 Encoder cd = dist; // [rev] 2622 cd *= 1./fMaxPointingResidual; // Scale to units of the maximum residual2623 cd *= T::GetCurrentState()==State::kParking ? 1./fMaxParkingResidual : 1./fMaxPointingResidual; // Scale to units of the maximum residual 2623 2624 cd = cd.Abs(); 2624 2625 … … 2952 2953 fParkingPos.zd = conf.Has("parking-pos.zd") ? conf.Get<double>("parking-pos.zd") : 90; 2953 2954 fParkingPos.az = conf.Has("parking-pos.az") ? conf.Get<double>("parking-pos.az") : 0; 2955 fMaxParkingResidual = conf.Get<double>("parking-pos.residual"); 2954 2956 2955 2957 if (!CheckRange(fParkingPos)) … … 3088 3090 ("parking-pos.zd", var<double>(101), "Parking position zenith angle in sky pointing coordinates [deg]") 3089 3091 ("parking-pos.az", var<double>(0), "Parking position azimuth angle in sky pointing coordinates [deg]") 3092 ("parking-pos.residual", var<double>(0.5/360), "Maximum residual for a parking position [revolutions]") 3090 3093 ("acceleration.max.az", var<double>(0.03), "Maximum allowed acceleration value for azimuth axis") 3091 3094 ("acceleration.max.zd", var<double>(0.09), "Maximum allowed acceleration value for zenith axis")
Note:
See TracChangeset
for help on using the changeset viewer.