Modify

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#140 closed enhancement (invalid)

Add a third `active' state to a camera object

Reported by: Matthias Vogelgesang Owned by: Matthias Vogelgesang
Priority: major Milestone:
Component: libuca Version:
Keywords: Cc:

Description

In order to implement a "polling" uca node, we need a way to distinguish between a stopped camera (that is able to acquire frames after a start command) and an inactive camera which is not yet ready to take frames.

Thus, we need three states S = { inactive, started, stopped } and four commands C = { activate, deactivate, start, stop } and the following transitions:

  • activate({inactive}) = stopped
  • start({inactive, stopped}) = started
  • stop({started}) = stopped
  • deactivate({started, stopped}) = inactive

All other transitions are illegal.

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Matthias Vogelgesang

Milestone: libuca-1.1libuca-wishlist

comment:2 Changed 12 years ago by Matthias Vogelgesang

Resolution: invalid
Status: newclosed

Data acquisition is triggered from outside, so we don't have to wait in a polling mode.

comment:3 Changed 11 years ago by Matthias Vogelgesang

Milestone: libuca-wishlist

Milestone libuca-wishlist deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthias Vogelgesang.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.