You can subscribe to this list here.
2012 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(14) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Bener S. <ben...@gm...> - 2014-07-09 17:55:42
|
OK, so then I'll just keep my code as it is (the way I sort and erase duplicates). I would think that SetActiveDOFs would do that for me internally for its own error handling but apparently it doesn't, which is fine. Thanks for the advice! Ben 2014-07-09 10:51 GMT-07:00 Dmitry Berenson <dbe...@cs...>: > Hi Ben, > > This is interesting, I've never tried putting in duplicate DOF indices. I > think in general you may not want to temp fate by duplicating indices in > openrave's activedofs. For instance, if you have a vector of joint values > and you put different joint values for the same DOF, I'm not sure what > openrave would do. If GeneralIK is doing that the results could be pretty > ugly. I would suggest that you filter out the duplicate active DOF before > calling SetActiveDOFs anywhere in openrave (i.e. right after you get the > indices from the manipulators). > > Dmitry > > > > On Wed, Jul 9, 2014 at 1:40 PM, Bener Suay <ben...@gm...> wrote: > >> Hi, >> >> my robot model has two 10 DOF manipulators and the first three joints of >> these manipulators are the same. To be more specific: >> >> leftArm indices: 0,1,2,3,4,5,6,7,8,9 >> rightArm indices: 0,1,2,10,11,12,13,14,15,16 >> >> In OpenRAVE (0.8.2 Stable Release), I do the following to activate my two >> manipulators so I can run DoGeneralIK for the end effectors: >> >> for( size_t m=0; m < manipIdx.size(); m++) >> { >> activedofs.insert( activedofs.end(), >> >> probot->GetManipulators()[manipIdx[m]]->GetArmIndices().begin(), >> >> probot->GetManipulators()[manipIdx[m]]->GetArmIndices().end() >> ); >> } >> >> The block above gives me the vector<int> activedofs as >> >> {0,1,2,3,4,5,6,7,8,9,0,1,2,10,11,12,13,14,15,16} >> >> And then I do >> >> probot->SetActiveDOFs(activedofs); >> >> as usual. >> >> To confirm that the indices are actually active I do: >> >> vector<int> dbug = probot->GetActiveDOFIndices(); >> cout << "checking which indices are active: " << endl; >> // debug >> for( size_t i=0; i < dbug.size(); i++) >> { >> cout << dbug[i] << endl; >> } >> >> And this prints out the same indices. >> >> So far so good... >> >> Now when I make a call to DoGeneralIK with this set of active indices, >> the joints that overlap between manipulators (namely 0, 1 and 2) behave as >> if they are not active (that is, they don't move). >> >> *However*, if I eliminate the repeating indices with the following two >> lines >> >> sort(activedofs.begin(), activedofs.end()); >> activedofs.erase(unique(activedofs.begin(), activedofs.end()), >> activedofs.end()); >> >> so that, my vector of activedofs is >> >> {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} >> >> In this case DoGeneralIK behaves as expected. >> >> I'm wondering if this is a SetActiveDOFs issue, or if this is related to >> the way DoGeneralIK method handles GetActiveDOFIndices()... Curious. >> >> I'd be happy to contribute with the two-liner "remove repeating indices" >> block if that really is the appropriate / elegant solution for the issue. >> >> Thanks for your attention, >> Ben Suay >> wpi.edu/~benersuay >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community >> Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> comps-users mailing list >> com...@li... >> https://lists.sourceforge.net/lists/listinfo/comps-users >> >> > |
From: Dmitry B. <dbe...@cs...> - 2014-07-09 17:52:23
|
Hi Ben, This is interesting, I've never tried putting in duplicate DOF indices. I think in general you may not want to temp fate by duplicating indices in openrave's activedofs. For instance, if you have a vector of joint values and you put different joint values for the same DOF, I'm not sure what openrave would do. If GeneralIK is doing that the results could be pretty ugly. I would suggest that you filter out the duplicate active DOF before calling SetActiveDOFs anywhere in openrave (i.e. right after you get the indices from the manipulators). Dmitry On Wed, Jul 9, 2014 at 1:40 PM, Bener Suay <ben...@gm...> wrote: > Hi, > > my robot model has two 10 DOF manipulators and the first three joints of > these manipulators are the same. To be more specific: > > leftArm indices: 0,1,2,3,4,5,6,7,8,9 > rightArm indices: 0,1,2,10,11,12,13,14,15,16 > > In OpenRAVE (0.8.2 Stable Release), I do the following to activate my two > manipulators so I can run DoGeneralIK for the end effectors: > > for( size_t m=0; m < manipIdx.size(); m++) > { > activedofs.insert( activedofs.end(), > > probot->GetManipulators()[manipIdx[m]]->GetArmIndices().begin(), > > probot->GetManipulators()[manipIdx[m]]->GetArmIndices().end() > ); > } > > The block above gives me the vector<int> activedofs as > > {0,1,2,3,4,5,6,7,8,9,0,1,2,10,11,12,13,14,15,16} > > And then I do > > probot->SetActiveDOFs(activedofs); > > as usual. > > To confirm that the indices are actually active I do: > > vector<int> dbug = probot->GetActiveDOFIndices(); > cout << "checking which indices are active: " << endl; > // debug > for( size_t i=0; i < dbug.size(); i++) > { > cout << dbug[i] << endl; > } > > And this prints out the same indices. > > So far so good... > > Now when I make a call to DoGeneralIK with this set of active indices, the > joints that overlap between manipulators (namely 0, 1 and 2) behave as if > they are not active (that is, they don't move). > > *However*, if I eliminate the repeating indices with the following two > lines > > sort(activedofs.begin(), activedofs.end()); > activedofs.erase(unique(activedofs.begin(), activedofs.end()), > activedofs.end()); > > so that, my vector of activedofs is > > {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} > > In this case DoGeneralIK behaves as expected. > > I'm wondering if this is a SetActiveDOFs issue, or if this is related to > the way DoGeneralIK method handles GetActiveDOFIndices()... Curious. > > I'd be happy to contribute with the two-liner "remove repeating indices" > block if that really is the appropriate / elegant solution for the issue. > > Thanks for your attention, > Ben Suay > wpi.edu/~benersuay > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users > > |
From: Bener S. <ben...@gm...> - 2014-07-09 17:40:27
|
Hi, my robot model has two 10 DOF manipulators and the first three joints of these manipulators are the same. To be more specific: leftArm indices: 0,1,2,3,4,5,6,7,8,9 rightArm indices: 0,1,2,10,11,12,13,14,15,16 In OpenRAVE (0.8.2 Stable Release), I do the following to activate my two manipulators so I can run DoGeneralIK for the end effectors: for( size_t m=0; m < manipIdx.size(); m++) { activedofs.insert( activedofs.end(), probot->GetManipulators()[manipIdx[m]]->GetArmIndices().begin(), probot->GetManipulators()[manipIdx[m]]->GetArmIndices().end() ); } The block above gives me the vector<int> activedofs as {0,1,2,3,4,5,6,7,8,9,0,1,2,10,11,12,13,14,15,16} And then I do probot->SetActiveDOFs(activedofs); as usual. To confirm that the indices are actually active I do: vector<int> dbug = probot->GetActiveDOFIndices(); cout << "checking which indices are active: " << endl; // debug for( size_t i=0; i < dbug.size(); i++) { cout << dbug[i] << endl; } And this prints out the same indices. So far so good... Now when I make a call to DoGeneralIK with this set of active indices, the joints that overlap between manipulators (namely 0, 1 and 2) behave as if they are not active (that is, they don't move). *However*, if I eliminate the repeating indices with the following two lines sort(activedofs.begin(), activedofs.end()); activedofs.erase(unique(activedofs.begin(), activedofs.end()), activedofs.end()); so that, my vector of activedofs is {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} In this case DoGeneralIK behaves as expected. I'm wondering if this is a SetActiveDOFs issue, or if this is related to the way DoGeneralIK method handles GetActiveDOFIndices()... Curious. I'd be happy to contribute with the two-liner "remove repeating indices" block if that really is the appropriate / elegant solution for the issue. Thanks for your attention, Ben Suay wpi.edu/~benersuay |
From: Dmitry B. <dbe...@cs...> - 2012-08-28 19:26:56
|
Looks good! I've updated the code to work with r3606. Dmitry On Mon, Aug 27, 2012 at 10:42 PM, Rosen Diankov <ros...@gm...> wrote: > i forgot to say that we committed patches (r3603) that fix the problem > and updated the ROS openrave package to r3603. > > > > 2012/8/28 Rosen Diankov <ros...@gm...>: >> hi guys, >> >> it looks like boost switched the default versions underneath our feet. >> >> robert, unfortunately your patches will break openrave for older >> versions of boost. >> >> i also updated the ROS package. >> >> i'm hoping we could officially release openrave 0.8 very soon, so if >> you see any other problems/design flaws, now's the time for feedback. >> Once openrave hits 0.8, the API will freeze for a while. >> >> rosen, >> >> 2012/8/28 Robert Ellenberg <rw...@gm...>: >>> Rosen, you were right about having the incorrect version of openrave, I was >>> using the 0.6.6 tag instead of latest_stable. I Also got the same build >>> error as Dmitry after checking out the latest_stable version (r3602): >>> >>> In file included from >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:32:0: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:297:40: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:299:44: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_CreateInterfaceGlobal()’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:156:34: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:159:38: warning: >>> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2662) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_GetPluginAttributes()’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:180:47: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:183:51: warning: >>> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >>> /home/rwe24/openrave/include/openrave/openrave.h:2665) >>> [-Wdeprecated-declarations] >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >>> ‘virtual bool OpenRAVE::RaveDatabase::Init(bool)’: >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: note: >>> suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: note: >>> suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘std::string OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘std::string OpenRAVE::RaveGlobal::FindLocalFile(const string&, const >>> string&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘bool OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >>> ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >>> boost::filesystem3::path&, const boost::filesystem3::path&)’: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: error: >>> ‘complete’ is not a member of ‘boost::filesystem’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: note: suggested >>> alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h: At global scope: >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:115:20: warning: >>> ‘OpenRAVE::g_fEpsilonLinear’ defined but not used [-Wunused-variable] >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:116:20: warning: >>> ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used [-Wunused-variable] >>> /home/rwe24/openrave/src/libopenrave/libopenrave.h:117:20: warning: >>> ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >>> [-Wunused-variable] >>> make[2]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >>> Error 1 >>> make[1]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/all] Error 2 >>> make: *** [all] Error 2 >>> >>> I changed every instance boost::filesystem to boost::filesystem3 and it >>> successfully compiled and ran. I've attached the diff of the src folder in >>> case you want to apply it as a patch. >>> >>> Thanks! >>> Rob >>> >>> On Mon, Aug 27, 2012 at 3:21 PM, Dmitry Berenson <dbe...@cs...> >>> wrote: >>>> >>>> Hi Rosen, >>>> >>>> I was trying to test this out, too. I updated the ROS version to get >>>> r3600 by editing the Makefile and then did rosmake openrave. I got >>>> this error: >>>> >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/plugindatabase.h:397:36: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘std::string >>>> OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘std::string >>>> OpenRAVE::RaveGlobal::FindLocalFile(const string&, const string&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘bool >>>> OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>>> In member function ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >>>> boost::filesystem3::path&, const boost::filesystem3::path&)’: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>>> note: suggested alternative: >>>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>>> ‘boost::filesystem3::complete’ >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h: >>>> At global scope: >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:115:20: >>>> warning: ‘OpenRAVE::g_fEpsilonLinear’ defined but not used >>>> [-Wunused-variable] >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:116:20: >>>> warning: ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used >>>> [-Wunused-variable] >>>> >>>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:117:20: >>>> warning: ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >>>> [-Wunused-variable] >>>> make[3]: *** >>>> [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >>>> Error 1 >>>> make[3]: *** Waiting for unfinished jobs.... >>>> >>>> >>>> It looks like it wants you to use "boost::filesystem3::complete" >>>> instead of "boost::filesystem::complete". Am I missing some boost >>>> thing? I have boost filesystem installed. >>>> >>>> >>>> Dmitry >>>> >>>> >>>> On Sun, Aug 26, 2012 at 12:13 AM, Rosen Diankov <ros...@gm...> >>>> wrote: >>>> > hi robert, >>>> > >>>> > i think you have multiple openrave versions floating around in the >>>> > system. you'll notice that the latest openrave has "class OpenRAVE_API >>>> > Geometry" declared as part of the Link class, but your error message >>>> > says this is not the case. >>>> > >>>> > >>>> > https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h >>>> > >>>> > rosen, >>>> > >>>> > 2012/8/26 Robert Ellenberg <rw...@gm...>: >>>> >> Hi All, >>>> >> I tried to build this latest version (r4) with version 3600 of >>>> >> openRAVE, >>>> >> and got the following errors: >>>> >> >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member >>>> >> function ‘void >>>> >> CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >>>> >> >&, >>>> >> std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, >>>> >> OpenRAVE::Vector)’: >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>>> >> error: >>>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>>> >> error: >>>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: >>>> >> error: >>>> >> template argument 1 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>>> >> error: >>>> >> template argument 1 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>>> >> error: >>>> >> template argument 2 is invalid >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: >>>> >> error: >>>> >> invalid type in declaration before ‘;’ token >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: >>>> >> error: >>>> >> cannot convert ‘const >>>> >> std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to >>>> >> ‘int’ in assignment >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: >>>> >> error: >>>> >> request for member ‘size’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: >>>> >> error: >>>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: >>>> >> error: >>>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>>> >> non-class >>>> >> type ‘int’ >>>> >> make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 >>>> >> make[3]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 >>>> >> make[2]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make[1]: *** [all] Error 2 >>>> >> make[1]: Leaving directory >>>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>>> >> make: *** [install] Error 2 >>>> >> >>>> >> It looks like they may have changed the "Geometry" property of >>>> >> KinBody::Link, because I don't see any references to it in the current >>>> >> openrave source. >>>> >> >>>> >> Thanks! >>>> >> -Rob >>>> >> >>>> >> >>>> >> ------------------------------------------------------------------------------ >>>> >> Live Security Virtual Conference >>>> >> Exclusive live event will cover all the ways today's security and >>>> >> threat landscape has changed and how IT managers can respond. >>>> >> Discussions >>>> >> will include endpoint security, mobile security and the latest in >>>> >> malware >>>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> >> _______________________________________________ >>>> >> comps-users mailing list >>>> >> com...@li... >>>> >> https://lists.sourceforge.net/lists/listinfo/comps-users >>>> >> >>>> > >>>> > >>>> > ------------------------------------------------------------------------------ >>>> > Live Security Virtual Conference >>>> > Exclusive live event will cover all the ways today's security and >>>> > threat landscape has changed and how IT managers can respond. >>>> > Discussions >>>> > will include endpoint security, mobile security and the latest in >>>> > malware >>>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>>> > _______________________________________________ >>>> > comps-users mailing list >>>> > com...@li... >>>> > https://lists.sourceforge.net/lists/listinfo/comps-users >>> >>> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users |
From: Rosen D. <ros...@gm...> - 2012-08-28 02:43:06
|
i forgot to say that we committed patches (r3603) that fix the problem and updated the ROS openrave package to r3603. 2012/8/28 Rosen Diankov <ros...@gm...>: > hi guys, > > it looks like boost switched the default versions underneath our feet. > > robert, unfortunately your patches will break openrave for older > versions of boost. > > i also updated the ROS package. > > i'm hoping we could officially release openrave 0.8 very soon, so if > you see any other problems/design flaws, now's the time for feedback. > Once openrave hits 0.8, the API will freeze for a while. > > rosen, > > 2012/8/28 Robert Ellenberg <rw...@gm...>: >> Rosen, you were right about having the incorrect version of openrave, I was >> using the 0.6.6 tag instead of latest_stable. I Also got the same build >> error as Dmitry after checking out the latest_stable version (r3602): >> >> In file included from >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:32:0: >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:297:40: warning: >> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2662) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:299:44: warning: >> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2665) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_CreateInterfaceGlobal()’: >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:156:34: warning: >> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2662) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:159:38: warning: >> ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2662) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >> ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_GetPluginAttributes()’: >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:180:47: warning: >> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2665) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:183:51: warning: >> ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at >> /home/rwe24/openrave/include/openrave/openrave.h:2665) >> [-Wdeprecated-declarations] >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function >> ‘virtual bool OpenRAVE::RaveDatabase::Init(bool)’: >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: note: >> suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: note: >> suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >> ‘std::string OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >> ‘std::string OpenRAVE::RaveGlobal::FindLocalFile(const string&, const >> string&)’: >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >> ‘bool OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >> ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function >> ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >> boost::filesystem3::path&, const boost::filesystem3::path&)’: >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: error: >> ‘complete’ is not a member of ‘boost::filesystem’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: note: suggested >> alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> /home/rwe24/openrave/src/libopenrave/libopenrave.h: At global scope: >> /home/rwe24/openrave/src/libopenrave/libopenrave.h:115:20: warning: >> ‘OpenRAVE::g_fEpsilonLinear’ defined but not used [-Wunused-variable] >> /home/rwe24/openrave/src/libopenrave/libopenrave.h:116:20: warning: >> ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used [-Wunused-variable] >> /home/rwe24/openrave/src/libopenrave/libopenrave.h:117:20: warning: >> ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >> [-Wunused-variable] >> make[2]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >> Error 1 >> make[1]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/all] Error 2 >> make: *** [all] Error 2 >> >> I changed every instance boost::filesystem to boost::filesystem3 and it >> successfully compiled and ran. I've attached the diff of the src folder in >> case you want to apply it as a patch. >> >> Thanks! >> Rob >> >> On Mon, Aug 27, 2012 at 3:21 PM, Dmitry Berenson <dbe...@cs...> >> wrote: >>> >>> Hi Rosen, >>> >>> I was trying to test this out, too. I updated the ROS version to get >>> r3600 by editing the Makefile and then did rosmake openrave. I got >>> this error: >>> >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/plugindatabase.h:397:36: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>> In member function ‘std::string >>> OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>> In member function ‘std::string >>> OpenRAVE::RaveGlobal::FindLocalFile(const string&, const string&)’: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>> In member function ‘bool >>> OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>> In member function ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >>> In member function ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >>> boost::filesystem3::path&, const boost::filesystem3::path&)’: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>> error: ‘complete’ is not a member of ‘boost::filesystem’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >>> note: suggested alternative: >>> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >>> ‘boost::filesystem3::complete’ >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h: >>> At global scope: >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:115:20: >>> warning: ‘OpenRAVE::g_fEpsilonLinear’ defined but not used >>> [-Wunused-variable] >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:116:20: >>> warning: ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used >>> [-Wunused-variable] >>> >>> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:117:20: >>> warning: ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >>> [-Wunused-variable] >>> make[3]: *** >>> [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >>> Error 1 >>> make[3]: *** Waiting for unfinished jobs.... >>> >>> >>> It looks like it wants you to use "boost::filesystem3::complete" >>> instead of "boost::filesystem::complete". Am I missing some boost >>> thing? I have boost filesystem installed. >>> >>> >>> Dmitry >>> >>> >>> On Sun, Aug 26, 2012 at 12:13 AM, Rosen Diankov <ros...@gm...> >>> wrote: >>> > hi robert, >>> > >>> > i think you have multiple openrave versions floating around in the >>> > system. you'll notice that the latest openrave has "class OpenRAVE_API >>> > Geometry" declared as part of the Link class, but your error message >>> > says this is not the case. >>> > >>> > >>> > https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h >>> > >>> > rosen, >>> > >>> > 2012/8/26 Robert Ellenberg <rw...@gm...>: >>> >> Hi All, >>> >> I tried to build this latest version (r4) with version 3600 of >>> >> openRAVE, >>> >> and got the following errors: >>> >> >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member >>> >> function ‘void >>> >> CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >>> >> >&, >>> >> std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, >>> >> OpenRAVE::Vector)’: >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>> >> error: >>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >>> >> error: >>> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: >>> >> error: >>> >> template argument 1 is invalid >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>> >> error: >>> >> template argument 1 is invalid >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >>> >> error: >>> >> template argument 2 is invalid >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: >>> >> error: >>> >> invalid type in declaration before ‘;’ token >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: >>> >> error: >>> >> cannot convert ‘const >>> >> std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to >>> >> ‘int’ in assignment >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: >>> >> error: >>> >> request for member ‘size’ in ‘_listGeomProperties’, which is of >>> >> non-class >>> >> type ‘int’ >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: >>> >> error: >>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>> >> non-class >>> >> type ‘int’ >>> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: >>> >> error: >>> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >>> >> non-class >>> >> type ‘int’ >>> >> make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 >>> >> make[3]: Leaving directory >>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>> >> make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 >>> >> make[2]: Leaving directory >>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>> >> make[1]: *** [all] Error 2 >>> >> make[1]: Leaving directory >>> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >>> >> make: *** [install] Error 2 >>> >> >>> >> It looks like they may have changed the "Geometry" property of >>> >> KinBody::Link, because I don't see any references to it in the current >>> >> openrave source. >>> >> >>> >> Thanks! >>> >> -Rob >>> >> >>> >> >>> >> ------------------------------------------------------------------------------ >>> >> Live Security Virtual Conference >>> >> Exclusive live event will cover all the ways today's security and >>> >> threat landscape has changed and how IT managers can respond. >>> >> Discussions >>> >> will include endpoint security, mobile security and the latest in >>> >> malware >>> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> >> _______________________________________________ >>> >> comps-users mailing list >>> >> com...@li... >>> >> https://lists.sourceforge.net/lists/listinfo/comps-users >>> >> >>> > >>> > >>> > ------------------------------------------------------------------------------ >>> > Live Security Virtual Conference >>> > Exclusive live event will cover all the ways today's security and >>> > threat landscape has changed and how IT managers can respond. >>> > Discussions >>> > will include endpoint security, mobile security and the latest in >>> > malware >>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> > _______________________________________________ >>> > comps-users mailing list >>> > com...@li... >>> > https://lists.sourceforge.net/lists/listinfo/comps-users >> >> |
From: Rosen D. <ros...@gm...> - 2012-08-28 02:42:19
|
hi guys, it looks like boost switched the default versions underneath our feet. robert, unfortunately your patches will break openrave for older versions of boost. i also updated the ROS package. i'm hoping we could officially release openrave 0.8 very soon, so if you see any other problems/design flaws, now's the time for feedback. Once openrave hits 0.8, the API will freeze for a while. rosen, 2012/8/28 Robert Ellenberg <rw...@gm...>: > Rosen, you were right about having the incorrect version of openrave, I was > using the 0.6.6 tag instead of latest_stable. I Also got the same build > error as Dmitry after checking out the latest_stable version (r3602): > > In file included from > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:32:0: > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:297:40: warning: > ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2662) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:299:44: warning: > ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2665) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function > ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_CreateInterfaceGlobal()’: > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:156:34: warning: > ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2662) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:159:38: warning: > ‘OpenRAVE::PluginExportFn_CreateInterface’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2662) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function > ‘virtual bool OpenRAVE::RaveDatabase::Plugin::Load_GetPluginAttributes()’: > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:180:47: warning: > ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2665) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:183:51: warning: > ‘OpenRAVE::PluginExportFn_GetPluginAttributes’ is deprecated (declared at > /home/rwe24/openrave/include/openrave/openrave.h:2665) > [-Wdeprecated-declarations] > /home/rwe24/openrave/src/libopenrave/plugindatabase.h: In member function > ‘virtual bool OpenRAVE::RaveDatabase::Init(bool)’: > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:395:51: note: > suggested alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/plugindatabase.h:397:36: note: > suggested alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function > ‘std::string OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:459:40: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function > ‘std::string OpenRAVE::RaveGlobal::FindLocalFile(const string&, const > string&)’: > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:628:28: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function > ‘bool OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:661:48: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function > ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:741:48: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:743:33: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:767:52: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp: In member function > ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const > boost::filesystem3::path&, const boost::filesystem3::path&)’: > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: error: > ‘complete’ is not a member of ‘boost::filesystem’ > /home/rwe24/openrave/src/libopenrave/libopenrave.cpp:823:52: note: suggested > alternative: > /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: > ‘boost::filesystem3::complete’ > /home/rwe24/openrave/src/libopenrave/libopenrave.h: At global scope: > /home/rwe24/openrave/src/libopenrave/libopenrave.h:115:20: warning: > ‘OpenRAVE::g_fEpsilonLinear’ defined but not used [-Wunused-variable] > /home/rwe24/openrave/src/libopenrave/libopenrave.h:116:20: warning: > ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used [-Wunused-variable] > /home/rwe24/openrave/src/libopenrave/libopenrave.h:117:20: warning: > ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used > [-Wunused-variable] > make[2]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] > Error 1 > make[1]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/all] Error 2 > make: *** [all] Error 2 > > I changed every instance boost::filesystem to boost::filesystem3 and it > successfully compiled and ran. I've attached the diff of the src folder in > case you want to apply it as a patch. > > Thanks! > Rob > > On Mon, Aug 27, 2012 at 3:21 PM, Dmitry Berenson <dbe...@cs...> > wrote: >> >> Hi Rosen, >> >> I was trying to test this out, too. I updated the ROS version to get >> r3600 by editing the Makefile and then did rosmake openrave. I got >> this error: >> >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/plugindatabase.h:397:36: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >> In member function ‘std::string >> OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >> In member function ‘std::string >> OpenRAVE::RaveGlobal::FindLocalFile(const string&, const string&)’: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >> In member function ‘bool >> OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >> In member function ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: >> In member function ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const >> boost::filesystem3::path&, const boost::filesystem3::path&)’: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >> error: ‘complete’ is not a member of ‘boost::filesystem’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: >> note: suggested alternative: >> /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: >> ‘boost::filesystem3::complete’ >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h: >> At global scope: >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:115:20: >> warning: ‘OpenRAVE::g_fEpsilonLinear’ defined but not used >> [-Wunused-variable] >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:116:20: >> warning: ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used >> [-Wunused-variable] >> >> /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:117:20: >> warning: ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used >> [-Wunused-variable] >> make[3]: *** >> [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] >> Error 1 >> make[3]: *** Waiting for unfinished jobs.... >> >> >> It looks like it wants you to use "boost::filesystem3::complete" >> instead of "boost::filesystem::complete". Am I missing some boost >> thing? I have boost filesystem installed. >> >> >> Dmitry >> >> >> On Sun, Aug 26, 2012 at 12:13 AM, Rosen Diankov <ros...@gm...> >> wrote: >> > hi robert, >> > >> > i think you have multiple openrave versions floating around in the >> > system. you'll notice that the latest openrave has "class OpenRAVE_API >> > Geometry" declared as part of the Link class, but your error message >> > says this is not the case. >> > >> > >> > https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h >> > >> > rosen, >> > >> > 2012/8/26 Robert Ellenberg <rw...@gm...>: >> >> Hi All, >> >> I tried to build this latest version (r4) with version 3600 of >> >> openRAVE, >> >> and got the following errors: >> >> >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member >> >> function ‘void >> >> CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >> >> >&, >> >> std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, >> >> OpenRAVE::Vector)’: >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >> >> error: >> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: >> >> error: >> >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: >> >> error: >> >> template argument 1 is invalid >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >> >> error: >> >> template argument 1 is invalid >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: >> >> error: >> >> template argument 2 is invalid >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: >> >> error: >> >> invalid type in declaration before ‘;’ token >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: >> >> error: >> >> cannot convert ‘const >> >> std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to >> >> ‘int’ in assignment >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: >> >> error: >> >> request for member ‘size’ in ‘_listGeomProperties’, which is of >> >> non-class >> >> type ‘int’ >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: >> >> error: >> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >> >> non-class >> >> type ‘int’ >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: >> >> error: >> >> request for member ‘front’ in ‘_listGeomProperties’, which is of >> >> non-class >> >> type ‘int’ >> >> make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 >> >> make[3]: Leaving directory >> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >> >> make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 >> >> make[2]: Leaving directory >> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >> >> make[1]: *** [all] Error 2 >> >> make[1]: Leaving directory >> >> `/home/rwe24/comps-code/planning/cbirrt2/build' >> >> make: *** [install] Error 2 >> >> >> >> It looks like they may have changed the "Geometry" property of >> >> KinBody::Link, because I don't see any references to it in the current >> >> openrave source. >> >> >> >> Thanks! >> >> -Rob >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Live Security Virtual Conference >> >> Exclusive live event will cover all the ways today's security and >> >> threat landscape has changed and how IT managers can respond. >> >> Discussions >> >> will include endpoint security, mobile security and the latest in >> >> malware >> >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> >> _______________________________________________ >> >> comps-users mailing list >> >> com...@li... >> >> https://lists.sourceforge.net/lists/listinfo/comps-users >> >> >> > >> > >> > ------------------------------------------------------------------------------ >> > Live Security Virtual Conference >> > Exclusive live event will cover all the ways today's security and >> > threat landscape has changed and how IT managers can respond. >> > Discussions >> > will include endpoint security, mobile security and the latest in >> > malware >> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> > _______________________________________________ >> > comps-users mailing list >> > com...@li... >> > https://lists.sourceforge.net/lists/listinfo/comps-users > > |
From: Dmitry B. <dbe...@cs...> - 2012-08-27 19:21:44
|
Hi Rosen, I was trying to test this out, too. I updated the ROS version to get r3600 by editing the Makefile and then did rosmake openrave. I got this error: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/plugindatabase.h:397:36: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: In member function ‘std::string OpenRAVE::RaveGlobal::FindDatabaseFile(const string&, bool)’: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:459:40: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: In member function ‘std::string OpenRAVE::RaveGlobal::FindLocalFile(const string&, const string&)’: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:628:28: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: In member function ‘bool OpenRAVE::RaveGlobal::InvertFileLookup(std::string&, const string&)’: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:661:48: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: In member function ‘void OpenRAVE::RaveGlobal::_UpdateDataDirs()’: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:741:48: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:743:33: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:767:52: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp: In member function ‘bool OpenRAVE::RaveGlobal::_ValidateFilename(const boost::filesystem3::path&, const boost::filesystem3::path&)’: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: error: ‘complete’ is not a member of ‘boost::filesystem’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.cpp:823:52: note: suggested alternative: /usr/include/boost/filesystem/v3/operations.hpp:279:8: note: ‘boost::filesystem3::complete’ /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h: At global scope: /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:115:20: warning: ‘OpenRAVE::g_fEpsilonLinear’ defined but not used [-Wunused-variable] /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:116:20: warning: ‘OpenRAVE::g_fEpsilonJointLimit’ defined but not used [-Wunused-variable] /home/berenson/openrave_planning/openrave/openrave_svn/src/libopenrave/libopenrave.h:117:20: warning: ‘OpenRAVE::g_fEpsilonEvalJointLimit’ defined but not used [-Wunused-variable] make[3]: *** [src/libopenrave/CMakeFiles/libopenrave.dir/libopenrave.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... It looks like it wants you to use "boost::filesystem3::complete" instead of "boost::filesystem::complete". Am I missing some boost thing? I have boost filesystem installed. Dmitry On Sun, Aug 26, 2012 at 12:13 AM, Rosen Diankov <ros...@gm...> wrote: > hi robert, > > i think you have multiple openrave versions floating around in the > system. you'll notice that the latest openrave has "class OpenRAVE_API > Geometry" declared as part of the Link class, but your error message > says this is not the case. > > https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h > > rosen, > > 2012/8/26 Robert Ellenberg <rw...@gm...>: >> Hi All, >> I tried to build this latest version (r4) with version 3600 of openRAVE, >> and got the following errors: >> >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member >> function ‘void >> CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >&, >> std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, >> OpenRAVE::Vector)’: >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: >> ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: error: >> template argument 1 is invalid >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: >> template argument 1 is invalid >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: >> template argument 2 is invalid >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: error: >> invalid type in declaration before ‘;’ token >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: error: >> cannot convert ‘const std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to >> ‘int’ in assignment >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: error: >> request for member ‘size’ in ‘_listGeomProperties’, which is of non-class >> type ‘int’ >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: error: >> request for member ‘front’ in ‘_listGeomProperties’, which is of non-class >> type ‘int’ >> /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: error: >> request for member ‘front’ in ‘_listGeomProperties’, which is of non-class >> type ‘int’ >> make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 >> make[3]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' >> make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 >> make[2]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' >> make: *** [install] Error 2 >> >> It looks like they may have changed the "Geometry" property of >> KinBody::Link, because I don't see any references to it in the current >> openrave source. >> >> Thanks! >> -Rob >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> comps-users mailing list >> com...@li... >> https://lists.sourceforge.net/lists/listinfo/comps-users >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users |
From: Dmitry B. <dbe...@cs...> - 2012-08-27 19:12:25
|
Hi Rob, That's a good question. CBiRRT actually uses GeneralIK for at least two purposes: 1. For TSR Chain IK computation (you don't need to worry about this) 2. For computation of projections to the constraint manifold. GeneralIK does the projection using whatever joints you have set as active on the robot. The above require GeneralIK, so it is more or less unchangeable there. Thus GeneralIK is always initialized whenever you run CBiRRT. There is a third purpose where you could use either GeneralIK or an attached IK solver (like those generated by IK fast): 3. For TSR Chains which represent goal regions. In this case, we need an IK solver to sample possible goals (or starts, if you have that enabled). GeneralIK is actually not a good solution for this b/c goals are usually distant from the start and I recommend using the ikfast solvers (this is what I do on HERB). GeneralIK is a last resort here, and will only be used if there is no attached IK solver. If you have specified a goal TSR Chain and you're seeing "Attached Solver Found %d Solutions!", then it is using the attached IK solver for that manipulator to generate goals. If you're not seeing that, it is defaulting to GeneralIK. As for the lines you mentioned, that is actually a solver I keep around in the problem instance (used in DoGeneralIK) in case I need it, it's not used in the planner. I hope this clears things up! Dmitry On Sat, Aug 25, 2012 at 10:33 PM, Robert Ellenberg <rwe...@gm...> wrote: > Hi All, > I've recently been able to create ikfast closed-form solvers for my robot > model (openHubo), but I'm not sure how to specify that they should be used > in a CBiRRT problem. I didn't see specific options in the "RunCBiRRT" > command other than bikfastsinglesolution, which only seems to control when > collision checking occurs. I have successfully loaded the ikfast solver for > each of the limbs in OpenRAVE, but when I run a CBiRRT probloem, the debug > output still shows that a GeneralIK solver is loaded. This is consistent > with line 106 of cbirrtproblem.cpp: > > _pIkSolver = RaveCreateIkSolver(GetEnv(),"GeneralIK"); > _pIkSolver->Init(robot->GetActiveManipulator()); > RAVELOG_INFO("IKsolver initialized\n"); > > It looks like GeneralIK is always loaded, just in case it's needed during > the problem. > > Is there a way to ensure the problem is using ikfast solvers instead of > GeneralIK? > > Thanks! > > -- > Robert Ellenberg, PhD Candidate > Drexel University > 3141 Chestnut St. > 2-115 MEM Office > Philadelphia, PA 19104 > 215-895-6125 (office) > 215-285-3551 (cell) > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users > |
From: Rosen D. <ros...@gm...> - 2012-08-26 04:13:47
|
hi robert, i think you have multiple openrave versions floating around in the system. you'll notice that the latest openrave has "class OpenRAVE_API Geometry" declared as part of the Link class, but your error message says this is not the case. https://openrave.svn.sourceforge.net/svnroot/openrave/trunk/include/openrave/kinbody.h rosen, 2012/8/26 Robert Ellenberg <rw...@gm...>: > Hi All, > I tried to build this latest version (r4) with version 3600 of openRAVE, > and got the following errors: > > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member > function ‘void > CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >&, > std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, > OpenRAVE::Vector)’: > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: > ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: > ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: error: > template argument 1 is invalid > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: > template argument 1 is invalid > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: > template argument 2 is invalid > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: error: > invalid type in declaration before ‘;’ token > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: error: > cannot convert ‘const std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to > ‘int’ in assignment > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: error: > request for member ‘size’ in ‘_listGeomProperties’, which is of non-class > type ‘int’ > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: error: > request for member ‘front’ in ‘_listGeomProperties’, which is of non-class > type ‘int’ > /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: error: > request for member ‘front’ in ‘_listGeomProperties’, which is of non-class > type ‘int’ > make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 > make[3]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' > make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 > make[2]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' > make: *** [install] Error 2 > > It looks like they may have changed the "Geometry" property of > KinBody::Link, because I don't see any references to it in the current > openrave source. > > Thanks! > -Rob > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > comps-users mailing list > com...@li... > https://lists.sourceforge.net/lists/listinfo/comps-users > |
From: Robert E. <rwe...@gm...> - 2012-08-26 02:34:27
|
Hi All, I've recently been able to create ikfast closed-form solvers for my robot model (openHubo <https://github.com/daslrobotics/openHubo>), but I'm not sure how to specify that they should be used in a CBiRRT problem. I didn't see specific options in the "RunCBiRRT" command other than * bikfastsinglesolution*, which only seems to control when collision checking occurs. I have successfully loaded the ikfast solver for each of the limbs in OpenRAVE, but when I run a CBiRRT probloem, the debug output still shows that a GeneralIK solver is loaded. This is consistent with line 106 of cbirrtproblem.cpp: _pIkSolver = RaveCreateIkSolver(GetEnv(),"GeneralIK"); _pIkSolver->Init(robot->GetActiveManipulator()); RAVELOG_INFO("IKsolver initialized\n"); It looks like GeneralIK is always loaded, just in case it's needed during the problem. Is there a way to ensure the problem is using ikfast solvers instead of GeneralIK? Thanks! -- *Robert Ellenberg, PhD Candidate* Drexel University 3141 Chestnut St. 2-115 MEM Office Philadelphia, PA 19104 215-895-6125 (office) 215-285-3551 (cell) |
From: Robert E. <rw...@gm...> - 2012-08-26 02:27:08
|
Hi All, I tried to build this latest version (r4) with version 3600 of openRAVE, and got the following errors: /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp: In member function ‘void CBirrtProblem::GetSupportPolygon(std::vector<std::basic_string<char> >&, std::vector<double>&, std::vector<double>&, OpenRAVE::Vector, OpenRAVE::Vector)’: /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:35: error: ‘Geometry’ is not a member of ‘OpenRAVE::KinBody::Link’ /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:58: error: template argument 1 is invalid /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: template argument 1 is invalid /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:60: error: template argument 2 is invalid /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1224:80: error: invalid type in declaration before ‘;’ token /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1236:64: error: cannot convert ‘const std::list<OpenRAVE::KinBody::Link::GEOMPROPERTIES>’ to ‘int’ in assignment /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1240:41: error: request for member ‘size’ in ‘_listGeomProperties’, which is of non-class type ‘int’ /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1241:56: error: request for member ‘front’ in ‘_listGeomProperties’, which is of non-class type ‘int’ /home/rwe24/comps-code/planning/cbirrt2/cbirrtproblem.cpp:1242:50: error: request for member ‘front’ in ‘_listGeomProperties’, which is of non-class type ‘int’ make[3]: *** [CMakeFiles/cbirrt.dir/cbirrtproblem.o] Error 1 make[3]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' make[2]: *** [CMakeFiles/cbirrt.dir/all] Error 2 make[2]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/rwe24/comps-code/planning/cbirrt2/build' make: *** [install] Error 2 It looks like they may have changed the "Geometry" property of KinBody::Link, because I don't see any references to it in the current openrave source. Thanks! -Rob |
From: Dmitry B. <ber...@ee...> - 2012-08-22 15:44:35
|
srfgoi |
From: Dmitry B. <dbe...@cs...> - 2012-08-22 15:20:21
|
wfwefwef |
From: Dmitry B. <dbe...@cs...> - 2012-08-22 01:17:52
|
From: Dmitry B. <ber...@gm...> - 2012-08-22 01:12:59
|
From: Dmitry B. <dbe...@cs...> - 2012-08-22 01:11:38
|
test |