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

The JoypadControlServer device sometimes is wrongly configured because the interaction profiles are not properly set yet #49

Closed
S-Dafarra opened this issue Nov 14, 2024 · 2 comments · Fixed by #50
Assignees

Comments

@S-Dafarra
Copy link
Member

It might happen that when running the device, the interaction profiles are not properly set yet. This causes the joypadControlServer to not open the ports properly since it might detect that no button or axis is available.

@S-Dafarra S-Dafarra self-assigned this Nov 14, 2024
@S-Dafarra
Copy link
Member Author

One possibility could be to instantiate the JoypadControlServer device manually, following https://github.com/robotology/yarp/blob/24ec4eda9e88bc6a1a1d4d08cb6c015e503ebacd/src/devices/deviceBundler/DeviceBundler.cpp and reopen it every time the interaction profile changes, or after an RPC command

@S-Dafarra
Copy link
Member Author

Started working on this in #50

I still need to define the logic to start and restart the joypad server from RPC or in case of changes in the interaction profiles.

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

Successfully merging a pull request may close this issue.

1 participant