jontromanab / fetchpy Goto Github PK
View Code? Open in Web Editor NEWrunning fetch from openrave
running fetch from openrave
Hi,
I already successfully run 'env, robot = fetchpy.initialize()'.
In my project, I need access the fetch robot's head camera in the openrave simulator. I tried:
'robot.GetSensors()'
'robot.GetAttachedSensor()'
Thay all return None. But there is sensor's information in the urdf file. Could you please let me know how to access the camera in the openrave simulator?
Thank you very much!
Hi
I already successfully compile fetchpy package and import fetchpy in my script. But when I called fetchpy.initialize(), I got the error saying that 'ValueError: Unable to load or_urdf plugin.'. I realized that I didn't install the or_urdf plugin. But when I tried to compile the 'or_urdf' package, I got the following error:
In file included from /usr/local/include/openrave-0.9/openrave/openrave.h:102:0,
from /home/yuchen/projects/src/or_urdf/src/catkin_finder.cpp:15:
/home/yuchen/projects/src/or_urdf/src/catkin_finder.cpp: In function ‘std::string {anonymous}::getPackageNameFromXML(const string&)’:
/home/yuchen/projects/src/or_urdf/src/catkin_finder.cpp:31:36: error: ‘class tinyxml2::XMLDocument’ has no member named ‘GetErrorStr1’
_path.c_str(), document.GetErrorStr1());
^
/usr/local/include/openrave-0.9/openrave/logging.h:314:201: note: in definition of macro ‘RAVELOG_LOGGER_LEVELA’
#define RAVELOG_LOGGER_LEVELA(logger, LEVEL, level, ...) do { if (int(OpenRAVE::RaveGetDebugLevel()&OpenRAVE::Level_OutputMask)>=int(level)) { OpenRAVE::RavePrintfA ## LEVEL(logger, LOG4CXX_LOCATION, VA_ARGS); } } while (0)
^
/usr/local/include/openrave-0.9/openrave/logging.h:497:28: note: in expansion of macro ‘RAVELOG_LEVELA’
#define RAVELOG_WARNA(...) RAVELOG_LEVELA(_WARNLEVEL,OpenRAVE::Level_Warn,VA_ARGS)
^
/usr/local/include/openrave-0.9/openrave/logging.h:498:22: note: in expansion of macro ‘RAVELOG_WARNA’
#define RAVELOG_WARN RAVELOG_WARNA
^
/home/yuchen/projects/src/or_urdf/src/catkin_finder.cpp:30:5: note: in expansion of macro ‘RAVELOG_WARN’
RAVELOG_WARN("Failed loading package.xml file '%s': %s\n",
^
make[2]: *** [or_urdf/CMakeFiles/or_urdf_plugin.dir/src/catkin_finder.cpp.o] Error 1
make[1]: *** [or_urdf/CMakeFiles/or_urdf_plugin.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed
I already posted this issue here, someone suggested a promising solution to me. But, I need a further guidance on how to implement the solution.
I need fix this problem as soon as possible, so it is a little rush to me. That's why I also posted this issue here. I hope either you or him can help me out.
Thank you very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.