From: Javier V <jav...@gm...> - 2014-10-01 18:53:45
|
Dear Alex, If you take a look at one of the latest commits of OMPL: https://bitbucket.org/ompl/ompl/commits/4a0a100c9435a0b5b66db17b193d3fcbfc5b2552 You will see that OptimizationObjective has been modified: the getCost method has been removed from OptimizationObjetctive and this logic has been transferred to Path classes. Therefore, yes, the error is because that old source you neglected to remove :) Javier 2014-10-01 8:25 GMT-07:00 <omp...@li...>: > Send ompl-users mailing list submissions to > omp...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/ompl-users > or, via email, send a message with subject or body 'help' to > omp...@li... > > You can reach the person managing the list at > omp...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ompl-users digest..." > > > Today's Topics: > > 1. how to write codes and compile in OMPL (Shaurya Shriyam) > 2. Re: how to write codes and compile in OMPL (Mark Moll) > 3. OMPL Build Error [Ubuntu Linux] (Alexander Von Moll) > 4. Unable to solve a simple planning problem with RRT, RRT* and > PRM* (Sonny) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 30 Sep 2014 09:48:43 -0400 > From: Shaurya Shriyam <sha...@gm...> > Subject: [ompl-users] how to write codes and compile in OMPL > To: omp...@li... > Message-ID: > <CAJy5h=NsV= > NZS...@ma...> > Content-Type: text/plain; charset="utf-8" > > Sorry for asking a silly doubt. I have installed OMPL and the .app GUI. But > how to compile OMPL demo codes? What is the instruction for the same? I am > new to linux environment. > > I tried <g++ -Wall -W -Werror main.cpp -o mainCPP>..But didn't work... > > Best Regards. > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 2 > Date: Tue, 30 Sep 2014 09:19:00 -0500 > From: Mark Moll <mm...@ri...> > Subject: Re: [ompl-users] how to write codes and compile in OMPL > To: Shaurya Shriyam <sha...@gm...> > Cc: omp...@li... > Message-ID: <32A...@ri...> > Content-Type: text/plain; charset="windows-1252" > > > On Sep 30, 2014, at 8:48 AM, Shaurya Shriyam <sha...@gm...> > wrote: > > Sorry for asking a silly doubt. I have installed OMPL and the .app GUI. > But how to compile OMPL demo codes? What is the instruction for the same? I > am new to linux environment. > > > > I tried <g++ -Wall -W -Werror main.cpp -o mainCPP>..But didn't work? > > You need to tell g++ where the OMPL headers and libraries are: > > g++ -Wall -W -Werror -I/path/to/ompl/include/dir main.cpp -o mainCPP > -L/path/to/ompl/libs -lompl -lompl_app > > If you installed OMPL in /usr/local, then this would be: > > g++ -Wall -W -Werror -I/usr/local/include main.cpp -o mainCPP > -L/usr/local/lib -lompl -lompl_app > > -- > Mark Moll > > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 801 bytes > Desc: Message signed with OpenPGP using GPGMail > > ------------------------------ > > Message: 3 > Date: Wed, 1 Oct 2014 09:06:15 -0400 > From: Alexander Von Moll <avo...@gm...> > Subject: [ompl-users] OMPL Build Error [Ubuntu Linux] > To: omp...@li... > Message-ID: > < > CAB...@ma...> > Content-Type: text/plain; charset="utf-8" > > Hello again, > > As I'm still stuck with my build process for Windows, I've given a try on a > Ubuntu virtual machine. When I tried to install / build originally I was > running into an issue where CCD could not be found (similar to this error: > > https://bitbucket.org/ompl/ompl/issue/83/cant-complete-omplapp-build-stuck-at-make > ). > > > I started over with the latest OMPL source from the repository and got much > further than before. However, I am now getting this error: > > > /home/alexander/omplapp/ompl/src/ompl/base/src/Path.cpp: In member > > function 'virtual ompl::base::Cost ompl::base:::Path::cost(const > > OptimizationObjectivePtr&) const': > > /home/alexander/omplapp/ompl/src/ompl/base/src/Path.cpp:42:15: error: > > 'class ompl::base::OptimizationObjective' has no member named 'getCost' > > return obj->getCost(*this); > > ^ > > /home/alexander/omplapp/ompl/src/ompl/base/src/Path.cpp:43:1: warning: > > control reaches end of non-void function [-Wreturn-type] > > } > > ^ > > make[2]: *** [ompl/src/ompl/CMakeFiles/ompl.dir/base/src/Path.cpp.o] > Error > > 1 > > make[1]: *** [ompl/src/ompl/CMakeFiles/ompl.dir/all] Error 2 > > make: *** [all] Error 2 > > > > I'm wondering if the error is caused by trying to build with old source > that I neglected to remove. > > Any help is greatly appreciated! > > > Best Regards, > Alex Von Moll > avo...@gm... > -------------- next part -------------- > An HTML attachment was scrubbed... > > ------------------------------ > > Message: 4 > Date: Wed, 01 Oct 2014 10:54:28 -0400 > From: Sonny <son...@us...> > Subject: [ompl-users] Unable to solve a simple planning problem with > RRT, RRT* and PRM* > To: omp...@li... > Message-ID: <542...@us...> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I'm using the Baxter SDK to simulate a simple scenario in moveit. > > A vertical cylinder is located in front of the robot and the goal is to > go from one side to the opposite avoiding the obstacle (see file attached). > > This problem is easily solved by most of the planners. For instance, PRM > can find a solution before 0.1s and max 20 states created. > > However, after several trials, RRT, RRT* and PRM* always failed in > resolving the problem. I set the planning time to 20s and even after > ~10000 states created, no solution is found. > > Could anyone help me to find the reason of this dysfunction? > > Thank in advance. > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: baxter_scenario.png > Type: image/png > Size: 182378 bytes > Desc: not available > > ------------------------------ > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > ------------------------------ > > _______________________________________________ > ompl-users mailing list > omp...@li... > https://lists.sourceforge.net/lists/listinfo/ompl-users > > > End of ompl-users Digest, Vol 33, Issue 1 > ***************************************** > |