User Tools

Site Tools


code:queues

This is an old revision of the document!


Queue modes

RTS2 uses queue to facilitate both human-in-the-loop and autonomous scheduling. Currently only one queue is available in executor, but it is expected that will change in near future. New targets can be added to the queue with queue command. The queue mode can be changed by changing _mode variable between:

  • FIFO (for First-In-First-Out) in this mode the first target is removed from the queue, executed and then the next one is selected. Assuming you selected FIFO mode and queue targets with IDs 1003, 1002, 1001 and 1000, then 1003 will be once observed, then 1002, then 1001, and then 1000. 1000 will remain as the last target and will be observed until observatory circumstances (weather, sun position) allow observations.
  • CIRCULAR in this mode targets are recycled, putting the observed one to the end of queue. So assuming you selected CIRCULAR mode and queue targets with IDs 1002 and 1003, then 1002 will be observed, then 1003, then 1002, then 1003, etc.. untill observatory circumstances allow observations.
code/queues.1294036769.txt.gz · Last modified: 2011/01/03 00:00 (external edit)