Commit Graph

102 Commits

Author SHA1 Message Date
ColinD 0475217d62 Trying to read the BUILD_NUMBER from the environment. Meade.net/0.7.1.24 2019-07-14 22:56:32 +01:00
ColinD e89f01ed51 Another try Meade.net/0.7.1.23 2019-07-14 22:40:45 +01:00
ColinD 2846e9f719 Anotther try. Meade.net/0.7.1.22 2019-07-14 22:32:38 +01:00
ColinD a7904d7485 Another attempt at the version number rename. 2019-07-14 22:28:32 +01:00
ColinD 12c11b4987 Removed unneeded comments Meade.net/0.7.1.20 2019-07-14 22:19:55 +01:00
ColinD 07569b146e Trying the nant variable inside the string. 2019-07-14 22:19:05 +01:00
ColinD 112fdf0bb9 Experiment on build.build to see if I can rename the msi file 2019-07-14 22:14:43 +01:00
ColinD 73e8e8ffe8 More unit testing Meade.net/0.7.1.17 2019-07-14 22:05:25 +01:00
ColinD 34a145765b More unit testing
Fixed issue when setting site latitude to negative value.
Meade.net/0.7.1.16
2019-07-14 21:47:02 +01:00
ColinD e3f82ff232 More unit tests Meade.net/0.7.1.15 2019-07-14 17:51:34 +01:00
ColinD 5f5d819f3b More unit tests added Meade.net/0.7.1.14 2019-07-14 17:12:56 +01:00
ColinD 69434454ca More unit test coverage Meade.net/0.7.1.13 2019-07-13 23:26:19 +01:00
ColinD 8980c3c6b5 More unit testing. Added check for to be able to support setting the alignment mode Meade.net/0.7.1.11 2019-07-13 20:02:06 +01:00
ColinD bfde58c6af Lots more unit tests, and some refactoring to make the code follow SOLID better. 2019-07-13 19:27:51 +01:00
ColinD 64b949551e More unit testing, this time for pulse guiding support 2019-07-13 16:27:47 +01:00
ColinD bd49a86866 Refactor all LogMessage commands via LogMessage Method instead of directory to dependent class 2019-07-13 16:15:58 +01:00
ColinD 8089e8d536 More unit testing and associated refactoring 2019-07-13 16:00:08 +01:00
ColinD 3162827396 Site no longer set to site 1 on connect. 2019-07-13 15:59:50 +01:00
ColinD 02f69b54a4 Added more unit testing to the telescope driver. 2019-07-13 01:15:05 +01:00
ColinD 4ea22d9455 Added a build.build file 2019-07-09 22:20:09 +01:00
ColinD 916c04a791 oops 2019-07-09 22:10:00 +01:00
ColinD d03b0f2cd1 Code refactoring 2019-07-09 22:06:20 +01:00
ColinD feb69c970f Added more unit tests and refactored AstroMaths to be in a sub folder 2019-07-09 21:36:44 +01:00
ColinD 9049412acc Checked in NCrunch files needed to run unit tests properly.
Note: Run Visual Studio in Administrator mode
2019-07-09 18:06:44 +01:00
ColinD 44e02dda1d Added unit test for setup dialog. 2019-07-09 18:05:12 +01:00
ColinD c72d2c00fc Finished refactoring needed to allow unit testing. 2019-07-08 22:58:02 +01:00
ColinD 465d4cb5d9 Seperated out the non ioc init code to it's own method 2019-07-08 22:17:05 +01:00
ColinD f8cbc3fa8d Changed the initialisation order to avoid issue with ISharedResourcesWrapper being called before it's created. 2019-07-08 22:07:35 +01:00
ColinD ca3dd0e4fd Refactored code to use interrfaces in declarations, rather than concrete classes. 2019-07-08 17:30:02 +01:00
ColinD bc90049798 Switched over the Telescope and focuser to access the SharedResources via a wrapper with an interface to help with unit testing 2019-07-08 17:15:01 +01:00
ColinD a0a908d67d Fixed issue when seeing target altitude to a negative value. 2019-07-07 18:26:58 +01:00
ColinD 69c690aa54 Merge branch 'master' into develop 2019-07-07 15:15:11 +01:00
ColinD 617faee9dd Merged in develop (pull request #8)
Develop

* Removed unwanted files

* Adding git ignore file

* Started working on getting the basic communications with the scope working.
    Working on routines to get and set the date and time in the handbox.

* Switched the serial port over to using the .net frameworks serial port.
    Extracted the serial port into it's own class and created a simpler command processing mechanism.

* Implemented AbortSlew and did some code tidy up.

* Forced all code to 64-bit only, will make this 32/64 bit before release.
    Fixed issue in the SerialProcessor when setting the time, makes sure that there's no chance of thread stealing when pulling out the junk messages
    Added ConformanceResult.txt to show the progress of the driver development

* Added code for the site latitude
    and started work on the longitude.

* Added unit tests for reading and writing the utcDate.
    Fixed a couple of defects in the code that was setting the utcDate.

* Corrected Longitude value range

* Added support for UTC offset.

* Pulse guiding support added

* Added SiteLatitude unit tests

* Added unit tests for SiteLongitude

* Added unit tests for the new Pulse guide implementation.

* Added support for AlignmentMode

* Added support for AtPark and Park

* Added support for parking the scope
    Added support for reading the scope Azimuth

* Added support for reading Declination

* Added 5 second timeout for the serial port.
    Fixed problem with the GW command not working on the Autostar 497.

* Fixed broken unit test

* Added support for altitude

* Tidying up resharper warinings

* Implemented RightAscension
    TargetRightAscension
    TargetDec
    SlewToCoord
    and SlewToCoordAsync

* Sorted out the target RA and Dec exceptions to be compliant with ascom.

* Implemented SlewToAltAz and SlewToAltAzAsync

* Implemented SyncToTarget functionality

* Implemented slew to target

* Added support for MoveAxis

* Added support for tracking rate

* Added IFocuserV3 to the driver and made sure that it's registered for ASCOM as a focuser as well.

* Fixed issue with Target RA and Dec loosing precision

* Telescope driver now passes the Ascom conformance.

* Upgraded driver version to 0.1

* Added explicit locks around all sequences of commands.

* Basic implementation of the IFocusserV3

* Focuser passes validation, this makes the code V0.2

* Added support for CommandBlind and CommandString
    Modified the tracking rates to be setable.  However, the get is now simulated.

* Merged in feature/LocalServer (pull request #5)

    Feature/LocalServer

    * Major refactor.  Switching over to a local server hub style driver allowing multiple programs to control the telescope at one time without the need for the POTH Hub

    * Unified the setup dialog

    * Implemented shared serial port, Both Telescope and Driver can connect at the same time.

    * Ported the focuser implementation from the non server based version.

    * Ported the telescope driver code.

    * Fixed problem with # not being stripped from the returned string ends. Fixed issue with RA being returned as degress rather than hours.

    * Telescope passes validation

    * Added a lock around the focuser move.

    * Reimplemented CommandBlind and CommandString

    * Corrected version information

    * Removed the Altitude support as there's a bug in the Autostar and Audiostar firmware

* Added comments for all meade commands.
    Fixed the Site Lat and Long setters

* Re instated the Altitude value and ran conformance for both the telescope and focuser.

* Redesigned the Altitude and Azimuth readings to use the Right Ascension and Declination co-ordinates and perform the transformation using the date and site details from the scope.   This will correct the problem of the Altitude reading from the handset being incorrect.

* Added code to make sure that the scope returns values in high precision mode.

* Fixed problem where SlewToAltAz didn't work correctly.  Now uses the RA/Dec slew for everything, and converts the values as needed.

* Upgraded the error handling to ensure that all serial commands are executed after checking that there is a connection open.

* Added some code to the focuser connect to make it consistent with the telescope connect in that it will now test that the connection is to an Autostar.

    Upgraded the move code to make it less unreliable.

* Added localisation support

* First draft of the installer

* Sorted out the registry settings needed to get the driver working properly on install.

* Modified the solution to be able to create as 32-bit install that works on 64bit windows 10.

* Added a call to activate when the setup dialog is shown.

* Downgraded required .net to v4.0.
    Added suppoer for "Handbox" custom action
    Changes how the focuser in and out functions.  Now sends multiple :F+/-# and multiple stop commands to help get over problems with the #909 missing commands.

    Added support for checking for the older firmware that does not support the guiding commands, so uses guide rate slew instead.

* Slight modification to make sure that the focuser is poked less often

* Moved develop onto version 0.7.0.0

* Added check for Ascom platform 6.4 SP 1 or higher.

* Fixed issue with slew to RA/Dec not applying negative declinations properly.
2019-07-07 14:07:37 +00:00
ColinD 335c7da935 Merge branch 'master' into develop
# Conflicts:
#	AstroMath.UnitTests/Properties/AssemblyInfo.cs
#	FocuserTestConsole/Properties/AssemblyInfo.cs
#	Meade.net.Setup/Config.wxi
#	Meade.net.Setup/Product.wxs
#	Meade.net.Telescope/Properties/AssemblyInfo.cs
#	Meade.net.Telescope/Telescope.cs
#	Meade.net.focuser/Properties/AssemblyInfo.cs
#	Meade.net/Properties/AssemblyInfo.cs
#	TelescopeTestConsole/Properties/AssemblyInfo.cs
2019-07-07 15:05:20 +01:00
ColinD 71bc7fd49a Fixed issue with slew to RA/Dec not applying negative declinations properly. 2019-07-07 14:52:06 +01:00
ColinD 621b7dc2da Added check for Ascom platform 6.4 SP 1 or higher. 2019-06-09 15:45:52 +01:00
ColinD 8e1188ac49 Moved develop onto version 0.7.0.0 2019-06-08 21:01:57 +01:00
ColinD c85f65c3e9 Merged in develop (pull request #7)
Develop

* Removed unwanted files

* Adding git ignore file

* Started working on getting the basic communications with the scope working.
    Working on routines to get and set the date and time in the handbox.

* Switched the serial port over to using the .net frameworks serial port.
    Extracted the serial port into it's own class and created a simpler command processing mechanism.

* Implemented AbortSlew and did some code tidy up.

* Forced all code to 64-bit only, will make this 32/64 bit before release.
    Fixed issue in the SerialProcessor when setting the time, makes sure that there's no chance of thread stealing when pulling out the junk messages
    Added ConformanceResult.txt to show the progress of the driver development

* Added code for the site latitude
    and started work on the longitude.

* Added unit tests for reading and writing the utcDate.
    Fixed a couple of defects in the code that was setting the utcDate.

* Corrected Longitude value range

* Added support for UTC offset.

* Pulse guiding support added

* Added SiteLatitude unit tests

* Added unit tests for SiteLongitude

* Added unit tests for the new Pulse guide implementation.

* Added support for AlignmentMode

* Added support for AtPark and Park

* Added support for parking the scope
    Added support for reading the scope Azimuth

* Added support for reading Declination

* Added 5 second timeout for the serial port.
    Fixed problem with the GW command not working on the Autostar 497.

* Fixed broken unit test

* Added support for altitude

* Tidying up resharper warinings

* Implemented RightAscension
    TargetRightAscension
    TargetDec
    SlewToCoord
    and SlewToCoordAsync

* Sorted out the target RA and Dec exceptions to be compliant with ascom.

* Implemented SlewToAltAz and SlewToAltAzAsync

* Implemented SyncToTarget functionality

* Implemented slew to target

* Added support for MoveAxis

* Added support for tracking rate

* Added IFocuserV3 to the driver and made sure that it's registered for ASCOM as a focuser as well.

* Fixed issue with Target RA and Dec loosing precision

* Telescope driver now passes the Ascom conformance.

* Upgraded driver version to 0.1

* Added explicit locks around all sequences of commands.

* Basic implementation of the IFocusserV3

* Focuser passes validation, this makes the code V0.2

* Added support for CommandBlind and CommandString
    Modified the tracking rates to be setable.  However, the get is now simulated.

* Merged in feature/LocalServer (pull request #5)

    Feature/LocalServer

    * Major refactor.  Switching over to a local server hub style driver allowing multiple programs to control the telescope at one time without the need for the POTH Hub

    * Unified the setup dialog

    * Implemented shared serial port, Both Telescope and Driver can connect at the same time.

    * Ported the focuser implementation from the non server based version.

    * Ported the telescope driver code.

    * Fixed problem with # not being stripped from the returned string ends. Fixed issue with RA being returned as degress rather than hours.

    * Telescope passes validation

    * Added a lock around the focuser move.

    * Reimplemented CommandBlind and CommandString

    * Corrected version information

    * Removed the Altitude support as there's a bug in the Autostar and Audiostar firmware

* Added comments for all meade commands.
    Fixed the Site Lat and Long setters

* Re instated the Altitude value and ran conformance for both the telescope and focuser.

* Redesigned the Altitude and Azimuth readings to use the Right Ascension and Declination co-ordinates and perform the transformation using the date and site details from the scope.   This will correct the problem of the Altitude reading from the handset being incorrect.

* Added code to make sure that the scope returns values in high precision mode.

* Fixed problem where SlewToAltAz didn't work correctly.  Now uses the RA/Dec slew for everything, and converts the values as needed.

* Upgraded the error handling to ensure that all serial commands are executed after checking that there is a connection open.

* Added some code to the focuser connect to make it consistent with the telescope connect in that it will now test that the connection is to an Autostar.

    Upgraded the move code to make it less unreliable.

* Added localisation support

* First draft of the installer

* Sorted out the registry settings needed to get the driver working properly on install.

* Modified the solution to be able to create as 32-bit install that works on 64bit windows 10.

* Added a call to activate when the setup dialog is shown.

* Downgraded required .net to v4.0.
    Added suppoer for "Handbox" custom action
    Changes how the focuser in and out functions.  Now sends multiple :F+/-# and multiple stop commands to help get over problems with the #909 missing commands.

    Added support for checking for the older firmware that does not support the guiding commands, so uses guide rate slew instead.

* Slight modification to make sure that the focuser is poked less often
2019-06-08 19:53:30 +00:00
ColinD d8b4886b85 Merge branch 'master' into develop
# Conflicts:
#	AstroMath.UnitTests/AstroMath.UnitTests.csproj
#	FocuserTestConsole/FocuserTestConsole.csproj
#	FocuserTestConsole/Properties/AssemblyInfo.cs
#	FocuserTestConsole/app.config
#	Meade.net.Setup/Config.wxi
#	Meade.net.Setup/Product.wxs
#	Meade.net.Telescope/Meade.net.Telescope.csproj
#	Meade.net.Telescope/Properties/AssemblyInfo.cs
#	Meade.net.Telescope/Telescope.cs
#	Meade.net.Telescope/app.config
#	Meade.net.focuser/Focuser.cs
#	Meade.net.focuser/Meade.net.focuser.csproj
#	Meade.net.focuser/Properties/AssemblyInfo.cs
#	Meade.net.focuser/Properties/Resources.Designer.cs
#	Meade.net.focuser/Properties/Settings.Designer.cs
#	Meade.net.focuser/app.config
#	Meade.net.sln
#	Meade.net/Localization/LocalisationHelper.cs
#	Meade.net/Meade.net.csproj
#	Meade.net/Properties/AssemblyInfo.cs
#	Meade.net/Properties/Resources.Designer.cs
#	Meade.net/SharedResources.cs
#	Meade.net/app.config
#	TelescopeTestConsole/Program.cs
#	TelescopeTestConsole/TelescopeTestConsole.csproj
#	TelescopeTestConsole/app.config
2019-06-08 20:53:09 +01:00
ColinD 4c92bf13c2 Slight modification to make sure that the focuser is poked less often 2019-06-08 20:34:54 +01:00
ColinD 22de5679b7 Downgraded required .net to v4.0.
Added suppoer for "Handbox" custom action
Changes how the focuser in and out functions.  Now sends multiple :F+/-# and multiple stop commands to help get over problems with the #909 missing commands.

Added support for checking for the older firmware that does not support the guiding commands, so uses guide rate slew instead.
2019-06-08 20:13:36 +01:00
ColinD 58ba1e6ee3 Merged in develop (pull request #6)
Release 0.5.0.0

* Removed unwanted files

* Adding git ignore file

* Started working on getting the basic communications with the scope working.
    Working on routines to get and set the date and time in the handbox.

* Switched the serial port over to using the .net frameworks serial port.
    Extracted the serial port into it's own class and created a simpler command processing mechanism.

* Implemented AbortSlew and did some code tidy up.

* Forced all code to 64-bit only, will make this 32/64 bit before release.
    Fixed issue in the SerialProcessor when setting the time, makes sure that there's no chance of thread stealing when pulling out the junk messages
    Added ConformanceResult.txt to show the progress of the driver development

* Added code for the site latitude
    and started work on the longitude.

* Added unit tests for reading and writing the utcDate.
    Fixed a couple of defects in the code that was setting the utcDate.

* Corrected Longitude value range

* Added support for UTC offset.

* Pulse guiding support added

* Added SiteLatitude unit tests

* Added unit tests for SiteLongitude

* Added unit tests for the new Pulse guide implementation.

* Added support for AlignmentMode

* Added support for AtPark and Park

* Added support for parking the scope
    Added support for reading the scope Azimuth

* Added support for reading Declination

* Added 5 second timeout for the serial port.
    Fixed problem with the GW command not working on the Autostar 497.

* Fixed broken unit test

* Added support for altitude

* Tidying up resharper warinings

* Implemented RightAscension
    TargetRightAscension
    TargetDec
    SlewToCoord
    and SlewToCoordAsync

* Sorted out the target RA and Dec exceptions to be compliant with ascom.

* Implemented SlewToAltAz and SlewToAltAzAsync

* Implemented SyncToTarget functionality

* Implemented slew to target

* Added support for MoveAxis

* Added support for tracking rate

* Added IFocuserV3 to the driver and made sure that it's registered for ASCOM as a focuser as well.

* Fixed issue with Target RA and Dec loosing precision

* Telescope driver now passes the Ascom conformance.

* Upgraded driver version to 0.1

* Added explicit locks around all sequences of commands.

* Basic implementation of the IFocusserV3

* Focuser passes validation, this makes the code V0.2

* Added support for CommandBlind and CommandString
    Modified the tracking rates to be setable.  However, the get is now simulated.

* Merged in feature/LocalServer (pull request #5)

    Feature/LocalServer

    * Major refactor.  Switching over to a local server hub style driver allowing multiple programs to control the telescope at one time without the need for the POTH Hub

    * Unified the setup dialog

    * Implemented shared serial port, Both Telescope and Driver can connect at the same time.

    * Ported the focuser implementation from the non server based version.

    * Ported the telescope driver code.

    * Fixed problem with # not being stripped from the returned string ends. Fixed issue with RA being returned as degress rather than hours.

    * Telescope passes validation

    * Added a lock around the focuser move.

    * Reimplemented CommandBlind and CommandString

    * Corrected version information

    * Removed the Altitude support as there's a bug in the Autostar and Audiostar firmware

* Added comments for all meade commands.
    Fixed the Site Lat and Long setters

* Re instated the Altitude value and ran conformance for both the telescope and focuser.

* Redesigned the Altitude and Azimuth readings to use the Right Ascension and Declination co-ordinates and perform the transformation using the date and site details from the scope.   This will correct the problem of the Altitude reading from the handset being incorrect.

* Added code to make sure that the scope returns values in high precision mode.

* Fixed problem where SlewToAltAz didn't work correctly.  Now uses the RA/Dec slew for everything, and converts the values as needed.

* Upgraded the error handling to ensure that all serial commands are executed after checking that there is a connection open.

* Added some code to the focuser connect to make it consistent with the telescope connect in that it will now test that the connection is to an Autostar.

    Upgraded the move code to make it less unreliable.

* Added localisation support

* First draft of the installer

* Sorted out the registry settings needed to get the driver working properly on install.

* Modified the solution to be able to create as 32-bit install that works on 64bit windows 10.

* Added a call to activate when the setup dialog is shown.
2019-06-04 19:06:57 +00:00
ColinD 5501e97b7e Added a call to activate when the setup dialog is shown. 2019-06-04 19:52:44 +01:00
ColinD 675ed08425 Modified the solution to be able to create as 32-bit install that works on 64bit windows 10. 2019-05-25 02:26:06 +01:00
ColinD 8da41cad6f Sorted out the registry settings needed to get the driver working properly on install. 2019-05-24 00:07:29 +01:00
ColinD 2b5b5d7188 First draft of the installer 2019-05-23 22:34:14 +01:00
ColinD d328c3ae4d Added localisation support 2019-05-20 21:11:16 +01:00
ColinD 546d0bf7f4 Added some code to the focuser connect to make it consistent with the telescope connect in that it will now test that the connection is to an Autostar.
Upgraded the move code to make it less unreliable.
2019-05-20 18:48:53 +01:00
ColinD 678b5f1ece Upgraded the error handling to ensure that all serial commands are executed after checking that there is a connection open. 2019-05-20 17:06:53 +01:00
ColinD 7cb50de30d Fixed problem where SlewToAltAz didn't work correctly. Now uses the RA/Dec slew for everything, and converts the values as needed. 2019-05-19 19:25:43 +01:00