sdss / lvmcam

An actor implementation of sdss-araviscam for lvmagp
https://sdss-lvmcam.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

How do I start lvmcam ? #50

Closed wasndas closed 2 years ago

wasndas commented 2 years ago

Tried it with and without config file. poetry run lvmcam -v start --debug poetry run lvmcam --config=python/lvmcam/etc/cameras.yaml -v start --debug

The result is always:

lvmcam list
07:24:18.968 lvmcam >
07:24:18.981 lvmcam e {
    "error": "Failed validating the reply: message {'cameras': [], 'default_cameras': None} does not match the schema."
}
mgjeon commented 2 years ago

Currently lvmcam list command is unavailable, instead you can use lvmcam show all.

You can start lvmcam as follows. If you still were in trouble with starting lvmcam, please let me know.

  1. Start directly

    $ lvmcam start --debug
  2. Use docker image

    $ poetry run container_start --kill --name=lvm.cam
mgjeon commented 2 years ago

Currently lvmcam list command is unavailable, instead you can use lvmcam show all.

You can start lvmcam as follows. If you still were in trouble with starting lvmcam, please let me know.

  1. Start directly
$ lvmcam start --debug
  1. Use docker image
$ poetry run container_start --kill --name=lvm.cam

If everything is fine, you can get an image by using a below command.

$ clu
lvmcam connect -n lvm.sci.agw.cam
lvmcam expose 5 1 lvm.sci.agw.cam
mgjeon commented 2 years ago

Currently lvmcam list command is unavailable, instead you can use lvmcam show all.

You can start lvmcam as follows. If you still were in trouble with starting lvmcam, please let me know.

  1. Start directly
$ lvmcam start --debug
  1. Use docker image
$ poetry run container_start --kill --name=lvm.cam

I'm sorry. I forgot to say that for connecting skymakercam, you have to flag --virtual option when starting lvmcam using docker image.

 $ poetry run container_start --virtual --kill --name=lvm.cam

And if you want to start lvmcam directly, you have to change python/lvmcam/etc/camtype.yaml file as follows.

camtype:
    araviscam: False
    skymakercam: True
wasndas commented 2 years ago

done