Patch to support loading multiple problems

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Patch to support loading multiple problems

Brennan Peter Sellner
Hi,

So it appears that OpenRAVE has support for loading multiple problems, but
the commandline parsing did not.  Attached is a patch to src/main.cpp that
adds support for multiple '-problem' arguments.

By the way, the current parsing only supports arguments to the problem of
a single whitespace-delimited token, which clashes with the usage message.
This patch doesn't address that issue.

Cheers,

-Brennan

openrave_main.diff (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Patch to support loading multiple problems

Rosen Diankov-2
committed, I made some modifications so the solution is more STL'ish.

I'm pretty sure if you surround your message with "", you'll be able
to put whitespace in your args

rosen,

2008/8/16 Brennan Peter Sellner <[hidden email]>:

> Hi,
>
> So it appears that OpenRAVE has support for loading multiple problems, but
> the commandline parsing did not.  Attached is a patch to src/main.cpp that
> adds support for multiple '-problem' arguments.
>
> By the way, the current parsing only supports arguments to the problem of a
> single whitespace-delimited token, which clashes with the usage message.
> This patch doesn't address that issue.
>
> Cheers,
>
> -Brennan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>