Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async mode not working over uca-net #2

Open
MarcusZuber opened this issue Dec 15, 2016 · 3 comments
Open

async mode not working over uca-net #2

MarcusZuber opened this issue Dec 15, 2016 · 3 comments

Comments

@MarcusZuber
Copy link
Member

In the async the acquisition takes for ever without returning frames.

On windows:
ucad mock
On linux client:
uca-benchmark -p host=server:8989 -r 1 -n 20 net

The resulting output is:

sync auto 18.7 Hz 4.5 MB/s 20/20 acquired (0.00% dropped)
async auto 1/1

Here it is stuck (for at least a few minutes).

@matze
Copy link
Contributor

matze commented Dec 15, 2016

This is true. The question is: is real asynchronous acquisition necessary for you? Synchronous-only acquisition simplifies the network code quite a bit because the server is acting like a normal server (i.e. request-reply style). Asynchronous acquisition mode would mean that the server is notifying the client that new data is available.

However, I could of course implement fake asynchronous acquisition on top of the synchronous acquisition, which in fact the mock camera also does.

@MarcusZuber
Copy link
Member Author

For me it is not very important.
I just thought that you want to have the net-camera completely identical to a local one.

@matze
Copy link
Contributor

matze commented Dec 16, 2016

Alright, then I will just do it as in the mock camera and build async mode on top of synchronous.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants