Beta.9 Home Azimuth units issue
In the setup panel the tool tip calls for an azimuth in degrees. I put in 305 and the dome reset to 2 after finding the home sensor…. Tried 153 and got 1 degree. It is treating the input as Sed units.
Server and firmware all at Beta.9
minor- Tool tip for Park Azimuth is the same as Home Azimuth, mentioning Home by name.
wish list:
- After a home find operation, when the home azimuth gets reset, report in the log the event and what the dome azimuth was at the moment before reset. This will give us a handle on the issue of gear skipping.
- Terminal window to the rotator from the setup server? Just a thought, but probably too difficult.
Comments (7)
-
reporter -
@George Silvis , I believe you may be spot on in your analysis. I will attend to that now, and thank you for digging into the code!
Regarding your wish list, I don’t think I can do either of those because:
- This is done within the firmware, not the driver. There’s not much code space left and I want to avoid messing with the firmware as much as possible at this stage.
- Yes, too difficult
If you want to propose wish list items, it would be preferable to create a separate issue for each one, setting the type to “Proposal” or “Enhancement”.
-
- changed status to open
-
reporter Is the repo for the source for the firmwares available? My background is embedded software.
Thx,
George -
- changed status to resolved
Fix issue
#40by converting azimuth to steps before sending to hardware.→ <<cset 2b38ce2e1fe0>>
-
Yes it is. See https://bitbucket.org/account/user/tigra-astronomy/projects/NEX
Best regards, Tim Long
-
Merged in bugfix/iss
#40-home-azimuth-units (pull request #8)Fix issue
#40home azimuth unitsApproved-by: George Silvis george@gasilvis.net
→ <<cset e35826031831>>
- Log in to comment
I believe the problem lies here:
In RxControllerActions:
public void SetHomeSensorAzimuth(decimal azimuth) {
var command = string.Format(Constants.CmdSetHomeSensorAzimuthTemplate, (int)azimuth);
SendCommand(command);
}
But: in Constants.cs:
public const string CmdSetHomeSensorAzimuthTemplate = "@HWR,{0:000}";
And per the pdf:
HW R ddddd :HWR# @HWR,1000
Home position Write (seps clockwise from true
north)