View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001132 | SkyChart | 1-Software | public | 13-02-03 09:26 | 13-05-06 14:32 |
| Reporter | aruangra | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | All | OS | All | OS Version | All |
| Product Version | 3.7 SVN | ||||
| Target Version | 3.8 | Fixed in Version | 3.7 SVN | ||
| Summary | 0001132: minor error in movescopeh command | ||||
| Description | While reading through the code: fu_chart.pas function Tf_chart.cmd_MoveScopeH(H,D:string):string; var hh,dd,ra,de: double; begin hh:=StrToFloatDef(H,9999); dd:=StrToFloatDef(D,9999); if (abs(hh)<=180)and(abs(dd)<=90) then begin de:=deg2rad*dd; ra:=sc.cfgsc.CurST-deg2rad*hh; sc.cfgsc.TrackOn:=true; sc.cfgsc.TrackType:=6; sc.cfgsc.TrackName:=rsTelescope; sc.cfgsc.scopelock:=false; if sc.TelescopeMove(ra,de) then Refresh; result:=msgOK; end else result:=msgFailed+' out of range'; end; Since hh is in Hours, (abs(hh)<=180)and(abs(dd)<=90) should be (hh<=24) and(hh>=0)and(abs(dd)<=90) | ||||
| Tags | No tags attached. | ||||
|
|
I really do this command to accept H in degree. But I agree it is more coherent with the others commands to use hours. I also add this in the documentation. This is fixed by 2420: http://sourceforge.net/p/skychart/code/2420/ |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 13-02-03 09:26 | aruangra | New Issue | |
| 13-02-09 11:00 | Patrick Chevalley | Note Added: 0002444 | |
| 13-02-09 11:00 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 13-02-09 11:00 | Patrick Chevalley | Status | new => resolved |
| 13-02-09 11:00 | Patrick Chevalley | Resolution | open => fixed |
| 13-02-09 11:00 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.7 SVN |
| 13-02-09 11:00 | Patrick Chevalley | Target Version | 0.3.0 => 3.8 |
| 13-05-06 14:32 | Patrick Chevalley | Status | resolved => closed |