locked
determine goal??? RRS feed

  • Question

  • hello ,how can determine the goal of robot by VPL?????
    Monday, August 13, 2012 11:53 AM

Answers

  • Goal-oriented action planning is a subfield of artificial intelligence.

    MRDS is an application framework.  It does not provide this facility, making a robot perform an action is up to you.

    That being said, there is a code sample which demonstrates very basic goal-seeking behavior in an MRDS application.  But it's in C#, not VPL - and it's a lot of fairly advanced code.  See the Chapter7 project (SimMagellen) in the zip file at http://promrds.codeplex.com/.  This project runs in the simulator.  A robot drives around in an obstacle course searching for a traffic cone, drives up to it, and stops.

    Again, this is an advanced project - but you're asking a hard question.

    Wednesday, August 15, 2012 1:23 AM
  • Visual programming languages in general are limited in their ability to write detailed algorithms.  The reality of it is that what can be written in a few lines of code ends up being a few pages of visual programming.  Simple loops and if/then branching works well in visual programming environments and lets you think you're on a successful path, but as you keep adding logic, you'll rapidly find that there's a reason we've 'settled' in some variation of written coding over the years from platform to platform.

    If you want a robot to learn or to do path planning and dead reckoning, you're going to be writing detailed algorithms.  So your first step in this direction should be to switch from VPL to a text based programming language like C#.
    Wednesday, August 15, 2012 1:31 PM
    Moderator

All replies

  • What do you mean by 'determine the goal'?
    Tuesday, August 14, 2012 4:11 PM
    Moderator
  • I need to learn the robot the path and stop when reach the

    destination

    thank you

    Tuesday, August 14, 2012 7:26 PM
  • Goal-oriented action planning is a subfield of artificial intelligence.

    MRDS is an application framework.  It does not provide this facility, making a robot perform an action is up to you.

    That being said, there is a code sample which demonstrates very basic goal-seeking behavior in an MRDS application.  But it's in C#, not VPL - and it's a lot of fairly advanced code.  See the Chapter7 project (SimMagellen) in the zip file at http://promrds.codeplex.com/.  This project runs in the simulator.  A robot drives around in an obstacle course searching for a traffic cone, drives up to it, and stops.

    Again, this is an advanced project - but you're asking a hard question.

    Wednesday, August 15, 2012 1:23 AM
  • Visual programming languages in general are limited in their ability to write detailed algorithms.  The reality of it is that what can be written in a few lines of code ends up being a few pages of visual programming.  Simple loops and if/then branching works well in visual programming environments and lets you think you're on a successful path, but as you keep adding logic, you'll rapidly find that there's a reason we've 'settled' in some variation of written coding over the years from platform to platform.

    If you want a robot to learn or to do path planning and dead reckoning, you're going to be writing detailed algorithms.  So your first step in this direction should be to switch from VPL to a text based programming language like C#.
    Wednesday, August 15, 2012 1:31 PM
    Moderator
  • it is clear now ,,,thanks so much
    • Edited by samar88 Saturday, September 1, 2012 7:02 AM
    Thursday, August 30, 2012 8:37 PM