~rts2/rts2/+git/trunk:master

Last commit made on 2023-10-07
Get this branch:
git clone -b master https://git.launchpad.net/~rts2/rts2/+git/trunk

Branch merges

Branch information

Name:
master
Repository:
lp:~rts2/rts2/+git/trunk

Recent commits

6ac8bf7... by Eduardo Alonso <email address hidden>

sql: data: Fix SQL data install dir (#69)

When building as a package, the sql files are at the same level as rts2-builddb instead of inside data/. This appears to be just a mistake.

Signed-off-by: Eduardo Alonso <email address hidden>

f1c9f66... by Eduardo Alonso <email address hidden>

Allow targets without coordinates & use them in targets.sql (#68)

* rts2-newtarget: Create targets with no coordinates

Sometimes we want to deal with scripts that will move the telescope to a position we don't know beforehand, hence, it's useful to have RTS2 don't move the telescope when executing the target.

This commit allows us to create targets with null coordinates. This behaviour is not problematic for RTS2 since the ecpg code has indicator variables that will set the position to NAN (do nothing) if tar_ra or tar_dec is null.

Signed-off-by: Eduardo Alonso <email address hidden>

* sql: targets: Don't use 0 for targets with undefined position

Some target types, such as DarkTarget, will prevent the telescope from moving no matter which coordinates the target specifies. For some other targets, such as target 3 (Focusing Frames) we don't want the telescope to move to 00:00:00 +00:00:00, although it does until the focusing script kicks in:

EXEC executing now target Focusing frames(#3) at RA DEC 00:00:00.000 +00:00:00.00
T0 moving from (...) to 00:00:00.000 +000:00:00.00 (altaz +026:24:16.86 +176:14:00.00)
T0 moving from (..) to 23:55:29.804 +063:31:42.24 (altaz +089:00:00.00 +090:00:00.00)

Moreover, I find this behaviour a bit inconsistent, since DarkTarget sets the position to NAN but ConstTarget and CalibrationTarget set it to 0 (which is a valid position in the sky).

In the focusing example I highlighted earlier, it's a OportunityTarget, so it simply moves until the script instructs to move to another position.

Instead of having target 3 as a CalibrationTarget, I propose setting the position of these objects to null, instead of zero.

Signed-off-by: Eduardo Alonso <email address hidden>

---------

Signed-off-by: Eduardo Alonso <email address hidden>

882a2e2... by Eduardo Alonso <email address hidden>

python: Fix focusing (#70)

The __sexFindFWHM was accidentally renamed at ( 3adf817 ), giving as a result, no __sexFindFWHM function and two findBestFWHM functions.

Also, sextractor class is updated for python 3.

Signed-off-by: Eduardo Alonso <email address hidden>

e7f67c3... by Jan Strobl <email address hidden>

Teld: tune the ignoreHorizon feature

Modifying the potentially dangerous feature ignoreHorizon to be correct,
safe and intelligible.

5852837... by Jan Strobl <email address hidden>

Update list of required packages in INSTALL

72d0ab2... by Jan Strobl <email address hidden>

Solve deprecations for postgres, clean relics

4a1211f... by Jan Strobl <email address hidden>

Increase VTIME for sensor-aws-mlab

d9a0cc5... by Jan Strobl <email address hidden>

Exec scripts: repair sleep in cycles

1a3c291... by Jan Strobl <email address hidden>

Repair configure: xml2 detection

bd719ec... by "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>

Bump json from 20131018 to 20230227 in /java (#63)

Bumps [json](https://github.com/douglascrockford/JSON-java) from 20131018 to 20230227.
- [Release notes](https://github.com/douglascrockford/JSON-java/releases)
- [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md)
- [Commits](https://github.com/douglascrockford/JSON-java/commits)

---
updated-dependencies:
- dependency-name: org.json:json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <email address hidden>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>