Skip to content

Commit

Permalink
fix(image_requests.py): Added rover_wait_for column.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbeyer committed Jan 25, 2024
1 parent df1975b commit 83d51e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/vipersci/vis/db/image_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ class ImageMode(enum.Enum):
CALIBRATION = 5 # Only NavCams: initiates "standard" calibration sequence.


class RoverWaitFor(enum.Enum):
DOWNLINK = 1
VIS_VERIFICATION = 2
DOWNLINK_AND_VIS = 3


class ImageRequest(Base):
"""An object to represent rows in the image_requests table for VIS."""

Expand Down Expand Up @@ -165,6 +171,9 @@ class ImageRequest(Base):
default="any",
doc="One-line description of desired rover orientation",
)
rover_wait_for = mapped_column(
Enum(RoverWaitFor), doc="Details of a rover stop request."
)
# TODO: how do we handle attached images? are we responsible for file
# management?

Expand Down

0 comments on commit 83d51e6

Please sign in to comment.