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

PTZ speed actions fail to apply when sending multiple actions on a single button #78

Open
nottooloud opened this issue Oct 5, 2022 · 8 comments
Labels
Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog

Comments

@nottooloud
Copy link

I made a set of buttons with 3 actions each, setting P, T, and Z speeds all to small, medium, or large values. It never works to push a button just once, need to push it 3 times at least, and often more, before the camera will take all 3 values. I tried 5 ms delays between the actions.

P200 firmware 5.0.059 and companion-mac-arm64-2.4.0+4710-beta-05bf0507.

@jmcc94
Copy link
Collaborator

jmcc94 commented Oct 18, 2022

@nottooloud will take a look, but I don't have any P200 to test with, only P100.

Does the problem still exist on the recent release 5.0.064?

@jmcc94 jmcc94 added Bug Something isn't working and removed Bug Something isn't working labels Oct 18, 2022
@joakyhsf69
Copy link

Yes, I have several P200 with firmware 5.0.0.64 and I have the same problem

@obcocav
Copy link

obcocav commented Oct 22, 2022

Can confirm same issue with P200 A2 and A4 revisions on 5.0.0.64 and latest beta Companion.

@jmcc94
Copy link
Collaborator

jmcc94 commented Oct 25, 2022

When you say '...before the camera will take all 3 values...' how do you know?

Are you using variables or checking the BirdUI on the camera?

@nottooloud
Copy link
Author

I'm checking BirdUI. Those values don't update dynamically, have to skip out to another section and back to Cam Control to see the new values.

@jmcc94
Copy link
Collaborator

jmcc94 commented Oct 25, 2022

@nottooloud - As BirdUI / CamControl and Companion all poll the API to get the information, there can be a delay between setting a value, and having that value represented in the visualization.. and, as you say, the BirdUI doesn't auto-refresh.

From what I'm seeing with my testing, the speed changes are behaving similarly to what I would expect ... I'm seeing almost instant change in the companion variables... which polls the camera API

@BBrazner
Copy link

BBrazner commented Nov 1, 2022

I'm having success with minimum 100ms delay between actions involving p/t/z speed. Also, once the camera accepts a speed command, the feedback variables update right away.

@bryce-seifert bryce-seifert changed the title PTZ speed controls PTZ speed actions fail to apply when sending multiple actions on a single button Mar 19, 2023
@bryce-seifert bryce-seifert added the Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog label Mar 19, 2023
@bryce-seifert
Copy link
Member

This has been narrowed down to an issue with the BirdDog firmware itself, as it is reproducible outside of Companion.
We have informed BirdDog of the issue.

The temporary solution is to add a relative delay between each action.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting BirdDog API Issues that require info or fixes to the API by BirdDog
Projects
None yet
Development

No branches or pull requests

6 participants