If you want to integrate your motors with Player, it's best to write a
Player driver for them. You can use the RMP driver as a model if you want,
as you'll basically need to re-implement the C# stuff you did in C++ in the
driver and use it when you receive commands. There's a skeleton template
for a driver in the Player source, under
examples/plugins/exampledriver/exampledriver.cc that you can start with, and
you can use the existing drivers as templates for what a driver is supposed
to do. This article might also help you:
> -----Original Message-----
> From: prithvi [mailto:prithvisekhar@...]
> Sent: Thursday, November 18, 2010 5:04 AM
> To: playerstage-users@...
> Subject: [Playerstage-users] Using CANIO with PCAN-USB Driver
> I am working on a robot with custom CAN Board for motor control and
> interfaced with PCAN-USB device to the onboard computer.
> I need advise on how to proceed in sending commands to the 2 motors
> I have written a program in C# to Test the motors and commands.
> Do i need to write a Driver with interfaces ?
> can i use Segway RMP CAN and modify it, as according to the
> documentation it
> supports PCAN-USB.
> could i reuse some of my code or other code ..
> please advise.
> Thank you