It is currently May 21st, 2013, 7:09 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Access to a generic encoder
PostPosted: April 21st, 2009, 10:38 pm 
Offline
3D Simulation Rookie
3D Simulation Rookie

Joined: April 21st, 2009, 10:36 pm
Posts: 2
hello,

I am trying to access an encoder contract on your simulated NXT motors. Is it offered?

thanks.


Top
 Profile  
 
 Post subject: Re: Access to a generic encoder
PostPosted: April 22nd, 2009, 3:27 am 
Offline
3D Simulation Rookie
3D Simulation Rookie

Joined: April 21st, 2009, 10:36 pm
Posts: 2
I have been looking more into this.

I have considered writing an encoder service to use with your robot, but I think you are using your own DifferentialDriveEntity. I first though of accesing the wheel's pose of the intity from my service but this I guess wont work. I would need to keep the information in the entity itself, being updated in each update frame.

I might be completly wrong, since its just a couple of days ago i got into this robots thing.


Top
 Profile  
 
 Post subject: Re: Access to a generic encoder
PostPosted: April 22nd, 2009, 3:07 pm 
Offline
SimplySim Team
SimplySim Team
User avatar

Joined: December 11th, 2008, 7:39 pm
Posts: 118
Hi !

We don't offer a simulated encoder, but you are right, you should be able to write your own service. Our Lego NXT entity is a generic Microsoft.Robotics.Simulation.Engine.DifferentialDriveEntity. Your service has to subscribe to this entity and you should be able to retreive informations you need with LeftWheel and RightWheel properties.

Regards,
Vincent


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Color scheme by ColorizeIt!