Commit Graph

41 Commits

Author SHA1 Message Date
ColinD d6cec4d63e Checked and removed completed todo tasks 2020-06-03 00:10:27 +01:00
ColinD 946fb4b141 Implementation of backlash compensation feature 2020-06-02 23:52:25 +01:00
ColinD b9522ae2a2 Added and error message to the trace log when the com port is failing and looping back data 2020-05-23 18:40:04 +01:00
ColinD 25d88b0609 Set global com visible to false and only exposed the classes that need to be. 2019-11-30 19:15:06 +00:00
ColinD a155e27eac Upgraded the Profile code to be contained inside a wrapper and started adding unit tests to cover. 2019-10-21 21:16:09 +01:00
ColinD 2972ae31aa Code upgraded to use .net 4.5 2019-10-01 22:00:55 +01:00
ColinD 97e77c839a Added extra # in front of every command as recommended by Meade. 2019-09-30 23:27:18 +01:00
ColinD 0e0ea2d2b0 Code inspections 2019-09-29 19:51:19 +01:00
ColinD 013c2fd672 Removed unneeded html files, which contain lots of code inspection issues 2019-09-29 18:00:38 +01:00
ColinD e782ac36fb Code inspection cleanup 2019-09-28 22:20:21 +01:00
ColinD 9c689f1179 Changed the served classname 2019-09-28 13:01:13 +01:00
ColinD d9aa68f1e9 Modified the whole solution to use Any CPU, and changed the installer to use the /register /unregister commands 2019-09-27 22:05:14 +01:00
ColinD 3eddc52c6a Tidy up a few code inspection issues and add the MIT License to the installer. 2019-08-24 22:38:16 +01:00
ColinD 77ca457646 Finished the basic unit testing for the focuser 2019-08-24 16:59:24 +01:00
ColinD 7ed79d6954 Added more code towards focuser unit testing 2019-08-24 16:40:15 +01:00
ColinD 9a30e02a4b Started working on the focuser unit testing 2019-08-23 21:30:12 +01:00
ColinD c311fb8cbe Second and subsequent Connections to the telescope driver now no longer trigger resetting the Guide rate and precision. It's assumed they are already set correctly. 2019-08-22 23:22:36 +01:00
ColinD cc05808542 Added extra logging when reading the profile into the driver. Added readprofile just before the connection is made to make sure that the latest values are used. 2019-07-23 10:41:19 +01:00
ColinD e9d41a2412 Moved the code that reports the driver version to the end of the initialisation. 2019-07-23 10:32:18 +01:00
ColinD 692e39771c Added the driver version to the trace log. 2019-07-22 00:18:40 +01:00
ColinD 6d8702a011 Corrected trace log name to Meade.Generic.<telescope/focusser> 2019-07-20 21:11:58 +01:00
ColinD 53150f9400 Reset all version info's to 0.0.0.0 as TeamCity deals with version numbering now. 2019-07-19 16:51:13 +01:00
ColinD 0e98f0e370 Code inspections 2019-07-19 14:33:41 +01:00
ColinD 9cf63c4912 Code inspections 2019-07-19 14:23:27 +01:00
ColinD d6f72c8222 Code inspections 2019-07-19 13:22:15 +01:00
ColinD c1cae2b0c4 Removed redundant using statements 2019-07-19 13:13:15 +01:00
ColinD 2ce8c4e123 Removed redundant qualifiers 2019-07-19 13:12:22 +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 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 8e1188ac49 Moved develop onto version 0.7.0.0 2019-06-08 21:01:57 +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 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 2b5b5d7188 First draft of the installer 2019-05-23 22:34:14 +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 79a77d4e1d 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
2019-05-17 14:21:26 +00:00