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

Is there anyway to change the interface Position2D to Position4D? #14

Open
CharlySample opened this issue Apr 2, 2019 · 2 comments
Open

Comments

@CharlySample
Copy link

CharlySample commented Apr 2, 2019

I'm looking for a interface with 4D, i need to have 4 independent motors velocity..

is there anyway that i can do that?

@richmattes
Copy link
Member

You should be able to define your own Position4D interface to do it. You can make it a plugin interface so you don't have to edit the Player code. There's an example on how to do it here:
https://github.com/playerproject/player/tree/master/examples/plugins/exampleinterface

@CharlySample
Copy link
Author

CharlySample commented Oct 14, 2019

I followed the example interface folder and make the example, but i'm still don't know how to bring those velocities to 4 different wheels ...

Can u explain me where it's the function to change the number of motors ? @richmattes

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