playerproject / player

The Player cross-platform robot device interface & server
GNU General Public License v2.0
60 stars 32 forks source link

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

Open CharlySample opened 5 years ago

CharlySample commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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