The Sandbox Thread

5 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Microsoft Visual Programming Language Sample - Explorer

Back to Forum: The Sandbox
  • User profile image
    PaulR

    This is a Vpl Diagram with similar (inspired by, not equivalent to!) functionality to that in Robotics Tutorial 5.

    A simulated Pioneer 3DX robot wanders in an obstacle strewn environment.

    A wired XBox 360 controller can be used to override the wandering behavior by holding the right shoulder button, the left thumbstick is for steering, the triggers control acceleration and braking.

  • User profile image
    raymond139

    Is there a similar example in C# or VB.net?

    I am trying to do the Robotics Tutorial 5 (explorer) in simulation but some methods are not implemented.

    Thx

    Ray

  • User profile image
    jeremysmart​in

    Is there similiar code in c#? robotics tutorial 5doesn't seem to work . .  . Window opens up with robot sitting still, but even when bumper is bumped, it doesn't move, or turn. Log file says motor start failed.

  • User profile image
    PaulR

    There isn't currently a C# equivalent and, as you point out, the Explorer service relies on messages that the simulated differential drive doesn't implement.

    Writing an equivalent service in C# would be a good exercise. If you leave the XInputController part out, Then the service just needs to partner with a generic differential drive and the SickLRF and subscribe to the SickLRF. The processing that VplExplorer does on the laser data is very simple, merely dividing the laser data into three fields and finding the lowest point in each field, something that is much easier in C# than in MVPL

    Service Tutorials 4 and 5 cover subscribing to a service.

    Setting the manifests up correctly to run in the simulation will take some work, but you can use existing manifests (for example the one that ships with vplexplorer) and edit them to add your own service.

  • User profile image
    crotchrocket

    The link you provided for The Vpl Diagram similar to Robotics Tutorial 5 is not working properly. when I dowloaded the folder for the vpl program, it had a problem opening up.

    Steve-O

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.