brickbots / PiFinder

A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
Creative Commons Zero v1.0 Universal
145 stars 27 forks source link

Find the Planets again #172

Closed brickbots closed 1 month ago

brickbots commented 1 month ago

There were a couple of things that ended up with the Planets catalog always being de-selected, and since it was not in the default_config.json it did not show up in the config selection list and it could not be enabled. I've removed this config item all together now that we can handle more than 10 catalogs in the menu :+1:

While I was digging into this, I figured out that the remove method of the Catalogs object did not actually remove catalogs, so the planets were not re-added when the GPS lock happens and probably would have had the wrong positions. This is fixed now and since it's not particularly slow, I've made this remove/add happen each time the catalog screen is accessed. This should make sure the planet positions are always updated and accurate.