Changeset 12844 for trunk/FACT++/src
- Timestamp:
- 02/06/12 09:24:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/drivectrl.cc
r12839 r12844 652 652 "|dAz[deg]:Control deviation Az"), 653 653 fDimSource("DRIVE_CONTROL/SOURCE_POSITION", "D:1;D:1;D:1;D:1;D:1;D:1;C:31", 654 "|Ra_src[h]:Source right ascension" 655 "|Dec_src[deg]:Source declination" 654 656 "|Ra_cmd[h]:Command right ascension" 655 657 "|Dec_cmd[deg]:Command declination" 656 "|Ra_src[h]:Source right ascension" 657 "|Dec_src[deg]:Source declination" 658 "|Offfset[deg]:Wobble offset" 658 "|Offset[deg]:Wobble offset" 659 659 "|Angle[deg]:Wobble angle" 660 660 "|Name[string]:Source name if available"), … … 835 835 if (off==0) 836 836 { 837 const array<double, 6> dim = {{ ra, dec, ra,dec, 0, 0 }};837 const array<double, 6> dim = {{ srcra, srcdec, srcra, srcdec, 0, 0 }}; 838 838 fDrive.UpdateSource(dim, name); 839 839 … … 858 858 const double nra = (atan2(sindeltara, cosdeltara) + ra)*12/M_PI; 859 859 860 const array<double, 6> dim = {{ ra, dec, nra, ndec, off, dir}};860 const array<double, 6> dim = {{ srcra, srcdec, nra, ndec, woboff, wobang }}; 861 861 fDrive.UpdateSource(dim, name); 862 862
Note:
See TracChangeset
for help on using the changeset viewer.