ColinD
d9acad1caa
removed unneeded ncrunch file
2021-01-30 15:50:04 +00:00
ColinD
f827a1ea3a
Added ncrunchsolution.user files to .gitIgnore
2021-01-30 15:46:39 +00:00
ColinD
26b94de48c
Fixed unit test TargetDeclination_Get_WhenValueOK_ThenSetsNewTargetDeclination
2021-01-30 15:42:31 +00:00
ColinD
779d314748
Fixed another unit test
2021-01-30 15:33:23 +00:00
ColinD
199b068e94
Fixed another broken unit test
2021-01-17 20:18:07 +00:00
ColinD
e8f3b00912
Fixed test case to send the correct encoded string rather than a english readable non encoded string.
2021-01-17 18:48:53 +00:00
ColinD
579ea164f8
Fixed another unit test
2021-01-17 18:24:15 +00:00
ColinD
902d6bbc6e
Added a check to the telescope to ensure that this is only triggered for the LX200CLASSIC other scopes do not need to the extra work.
2021-01-17 18:23:20 +00:00
ColinD
927d6bce47
Fixed the log message to be returned from IsSlewing with the final state every time without exception.
2021-01-17 18:19:16 +00:00
ColinD
65afa07125
Another unit test fail bites the dust
2021-01-17 18:13:32 +00:00
ColinD
58992c2947
More unit tests fixed
2021-01-17 18:04:24 +00:00
ColinD
1297b5eb78
Fixed 9 of the broken unit tests by populating the mock information properly.
2021-01-17 17:49:45 +00:00
ColinD
cd8330196e
Made a few minor tweaks whilst reviewing.
2021-01-17 17:30:29 +00:00
ColinD
4126b2ee44
Added JetBrains.Annotations
2021-01-07 20:07:00 +00:00
ColinD
ca0028f08d
Upgraded to .net 4.7.2, and fixed issue with the site location being set wrongly
2021-01-07 19:28:46 +00:00
ColinD
a59ecaf21d
Added support for being able to enable the Rts/Dtr signals which is needed to Meade LS series scopes
2020-10-13 10:30:43 +01:00
ColinD
1b73bb62b6
Fixed logic for LX200 Classic is slewing test
2020-09-24 22:01:52 +01:00
ColinD
c34ed41ddf
Added check to ensure that the LX-200 classic return value is sanitised when it's not slewing.
2020-09-22 17:34:57 +01:00
ColinD
d0406b32dd
Added ability to unpark telescope
...
Added extra logging information to the "isslewing test"
2020-09-21 23:04:58 +01:00
ColinD
b33d1741c4
Removed the Classname static as it doesn't work as desired. Replace with a parameter on the initialise method instead.
2020-09-04 15:23:46 +01:00
ColinD
d728dbe272
Trying to reduce code duplication
2020-09-03 23:34:04 +01:00
ColinD
47d0a047a5
Code inspection
2020-09-03 23:07:54 +01:00
ColinD
83dd7d87f0
Code Inspections
2020-09-03 22:52:02 +01:00
ColinD
03f2022f2f
Refactored the error message
2020-09-03 21:04:28 +01:00
ColinD
89600c463b
Removed unneeded variable
2020-09-03 20:53:11 +01:00
ColinD
92ab807eae
Code inspections
2020-09-03 20:35:37 +01:00
ColinD
a2fcaac2a9
Code inspections
2020-09-03 20:28:32 +01:00
ColinD
da4e4fd81a
Refactored code to reduce duplication.
2020-09-03 19:05:01 +01:00
ColinD
4266139429
Removed all # symbols from before the commands, as they're not really needed.
2020-09-03 18:35:40 +01:00
ColinD
1dc7d7142a
Refactored the backlash compensation so that less move commands are issued.
2020-09-03 17:06:16 +01:00
ColinD
b9f1dd9d61
Another try
2020-09-03 14:07:41 +01:00
ColinD
6c25373d7f
Trying older version of nuget api
2020-09-03 13:39:36 +01:00
ColinD
c19115f252
Added nuget.config file
2020-09-03 13:32:08 +01:00
ColinD
9c4329deed
Nuget packages updated to latest versions
2020-09-03 13:20:44 +01:00
ColinD
a563a77554
Implemenated a few todo notes
2020-09-03 13:12:06 +01:00
ColinD
f9792b22bc
Implemenated a few todo notes
2020-09-03 13:11:47 +01:00
ColinD
8d097fefe1
Added reverse direction feature
2020-06-04 23:31:41 +01:00
ColinD
71ed5cc58b
removed redundant using
2020-06-03 12:44:23 +01:00
ColinD
d6cec4d63e
Checked and removed completed todo tasks
2020-06-03 00:10:27 +01:00
ColinD
139191a1ce
Unneeded code
2020-06-02 23:54:19 +01:00
ColinD
946fb4b141
Implementation of backlash compensation feature
2020-06-02 23:52:25 +01:00
ColinD
3d47e03240
Added a post connect check to see if the serial port is functioning correctly.
2020-05-24 22:02:21 +01:00
ColinD
855a21122a
Added a trim, so that whitespace is ignored when seeing the result of is slewing to target.
2020-05-24 18:30:46 +01:00
ColinD
2c7de157e8
Added unit test for telescope hitting tripod.
2020-05-24 16:40:47 +01:00
ColinD
1e59d5610e
Fixed spelling mistake
2020-05-24 16:39:09 +01:00
ColinD
bd8476e11a
Added support for a warning when the telescope could hit the mount. (older command used by the Meade CSD prior to the LX200 command set.)
2020-05-24 16:38:30 +01:00
ColinD
3e00398af0
Modified the puleguide method to make sure that the _isGuiding property is set correctly regardless of the old or new guiding method.
...
Added log message for when PulseGuide fails with an error for any reason
2020-05-24 15:56:24 +01:00
ColinD
2ab9cfb9c8
Merged in develop (pull request #21 )
...
Develop
2020-05-23 18:35:43 +00:00
ColinD
894b78d9f1
code inspections
2020-05-23 19:23:48 +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
07665b7617
removed unused local variable
2020-02-27 23:42:23 +00:00
ColinD
6130cb6d64
Added new feature to allow the guiding style to be forced, Auto = driver decides. Pulse guiding will use the newer pulse guiding technique, Guide rate slew, will use the older technique.
2020-02-27 22:57:19 +00:00
ColinD
d925312403
Merge branch 'master' into develop
2020-02-24 21:05:10 +00:00
ColinD
5a18577552
Merged in develop (pull request #20 )
...
Develop
2020-02-24 21:01:21 +00:00
ColinD
c7f1a4272f
Slewing now reports false when performing a guide command using the old guiding method.
2020-02-20 21:31:09 +00:00
ColinD
6601fa6205
Added a check to ensure that pulse guide commands fail when the scope is slewing or already being moved on the same axes.
2019-12-11 23:53:37 +00:00
ColinD
e2abda2d14
Merged in develop (pull request #19 )
...
Develop
2019-12-03 21:10:42 +00:00
ColinD
97810b5575
Attempt ad fixing the double.parse error.
2019-12-02 12:39:03 +00:00
ColinD
1185770a94
Added try catch to the default constructor to show the details of an error if something goes wrong.
2019-12-01 00:11:13 +00: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
85c77787ce
Added unit test for getting site count
2019-11-12 10:35:03 +00:00
ColinD
2181ff5602
Added extra # in front of every command as recommended by Meade.
...
Code inspections
Duplicate reconcile
Code upgraded to use .net 4.5
Added log message for when a pulse guide move is completed that will show the difference.
.net 4.5 is not being recognised as installed, so trying a different variable.
Modified how the old guiding method is implmented - it's now much simplified and uses the same move axis commands as normal slewing, which is what it does under the hood anyway.
Modified how the RA detection is done, and changed the message logs
RA position report on connect to trigger for ALL connects.
Modified the LX200 Classic connections, so that if a :GVP is returned when :GVP# is sent, it assumes an error. A timeout will be assumed to be an LX200 Classic.
Started working on unit testing for the sharedresources class.
Changed the code to detect any exception when trying to run a :GVP after the initial connect.
Upgraded the Profile code to be contained inside a wrapper and started adding unit tests to cover.
2019-10-22 21:52:42 +00:00
ColinD
9505468efc
Code inspection cleanup
2019-10-22 22:06:40 +01:00
ColinD
2cbb1fb68c
Code inspection cleanup
2019-10-22 21:51:59 +01:00
ColinD
ba0ae056ea
Forcing the disconnect to make sure that the tests work as expected.
2019-10-22 21:40:45 +01:00
ColinD
dff7bce6b0
Unit Testing for the connect method.
2019-10-22 21:27:07 +01: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
438ec779b4
Changed the code to detect any exception when trying to run a :GVP after the initial connect.
2019-10-19 11:54:04 +01:00
ColinD
307517ded0
Updated nuget packages. Started working on unit testing for the sharedresources class.
2019-10-15 21:33:51 +01:00
ColinD
8efa8752df
Corrected defect where the scope will not attempt to connect the serial port
2019-10-13 21:15:30 +01:00
ColinD
7f6f478dfc
Modified the LX200 Classic connections, so that if a :GVP is returned when :GVP# is sent, it assumes an error. A timeout will be assumed to be an LX200 Classic.
2019-10-12 12:40:01 +01:00
ColinD
7a92581fa8
Moved the RA position report on connect to trigger for ALL connects, not just the first connection.
2019-10-05 13:47:14 +01:00
ColinD
7f8c2cb559
Removed the alignmode check as it is not supported on all telescopes.
...
Added current RA and dec to the log when the telescope connects.
2019-10-05 11:23:10 +01:00
ColinD
3dc87e3724
Added new alignment mode to the log
2019-10-04 20:42:46 +01:00
ColinD
670a5ccf81
Modified how the RA detection is done, and changed the message logs
2019-10-04 20:34:42 +01:00
ColinD
9af0613183
Modified how the old guiding method is implmented - it's now much simplified and uses the same move axis commands as normal slewing, which is what it does under the hood anyway.
2019-10-04 18:20:32 +01:00
ColinD
5df0e21a58
Another attempt at adding .net 4.5 checking
2019-10-03 23:34:13 +01:00
ColinD
149bad2d31
.net 4.5 is not being recognised as installed, so trying a different variable.
2019-10-03 23:12:27 +01:00
ColinD
276f0352e3
Added log message for when a pulse guide move is completed that will show the difference.
2019-10-02 18:55:24 +01:00
ColinD
f22e9cdd02
Code inspections
2019-10-01 22:06:42 +01:00
ColinD
ee3862f949
Code inspections
2019-10-01 22:03:57 +01:00
ColinD
2972ae31aa
Code upgraded to use .net 4.5
2019-10-01 22:00:55 +01:00
ColinD
79cdd60d07
Duplicate reconcile
2019-10-01 21:51:06 +01:00
ColinD
f92f21ab72
Code inspections
2019-10-01 21:44:36 +01:00
ColinD
2a56cfa700
Duplicate reconcile
2019-10-01 21:16:47 +01:00
ColinD
babb2a7492
Code inspections
2019-10-01 20:57:49 +01:00
ColinD
23960d8c7c
Code inspections
2019-10-01 19:42:40 +01:00
ColinD
cb97358100
Code inspections
2019-10-01 19:37:39 +01:00
ColinD
28889bdb49
Code inspections
2019-10-01 19:12:34 +01:00
ColinD
5efde9f6e0
Code inspections
2019-10-01 19:03:48 +01:00
ColinD
12e46edc74
Code inspections
2019-10-01 18:55:20 +01:00
ColinD
9969fce375
Merge branch 'master' into develop
2019-09-30 23:30:44 +01:00
ColinD
97e77c839a
Added extra # in front of every command as recommended by Meade.
2019-09-30 23:27:18 +01:00
ColinD
0ea195e073
Merge branch 'master' into develop
2019-09-30 22:28:10 +01:00
ColinD
4aa5cf233e
Merged in develop (pull request #17 )
...
Added support for LX-200 EMC
2019-09-30 21:27:36 +00:00
ColinD
eb775bba18
Code inspections
2019-09-30 22:14:34 +01:00
ColinD
4ff193fadf
Unneeded collection, so commented it out
2019-09-30 22:11:58 +01:00
ColinD
a61915a3b5
Adding some experimental support for the LX-200 EMC
2019-09-30 22:10:00 +01:00
ColinD
f33ca49592
Code inspections
2019-09-29 23:20:44 +01:00
ColinD
1c4d65bec3
Code inspections
2019-09-29 23:07:56 +01:00