It is currently May 23rd, 2013, 4:09 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: LEGO Simulated Ultrasonic
PostPosted: February 24th, 2010, 1:42 pm 
Offline
3D Simulation Rookie
3D Simulation Rookie

Joined: February 24th, 2010, 1:27 pm
Posts: 1
Hi,

I have a question about Lego Simulated Ultrasonic. I would like to use it into my simulated robot, but I am unable to communicate with this simulated sensor from another service. How can I receive notification from this sensor. It could be helpful if you can release some documentation or manual how to use your simulated services.

Thank you.


Top
 Profile  
 
 Post subject: Re: LEGO Simulated Ultrasonic
PostPosted: February 25th, 2010, 10:06 am 
Offline
SimplySim Team
SimplySim Team
User avatar

Joined: December 11th, 2008, 7:39 pm
Posts: 118
Our simulated ultrasonic sensor implements "analog sensor" generic service contract. If you want to make a service that communicates with the simulated ultrasonic service, just add a partner "analog sensor" (in RoboticCommons.Proxy.dll, mode information here http://msdn.microsoft.com/en-us/library/dd145244.aspx) and bind your service with the simulated one with a manifest. With a generic partner, your service will be able to communicate with a real ultrasonic sensor too.

You should also take a look to the manifests included in the NXT-MSRDS pack (under "Microsoft Robotics Dev Studio 2008 R2\SimplySim\NXT-MSRDS\Manifests) to see how simulated service is created. All simulated services have the simulation entity name has partner. So you may have to change this name with your robot's name.

Regards,

_________________
Vincent Maurin
CTO
SimplySim


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 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!