Comments (2)
I have the same experience, I did this little change:
if (object_info.has_field("mesh_uri")){
mesh_resource = object_info.get_field<std::string>("mesh_uri");
std::stringstream ss;
ss << "mesh_resource contains: " << mesh_resource << "\n";
ROS_WARN("%s", ss.str().c_str());
mesh_resource.replace(mesh_resource.find("cloud.ply"), mesh_resource.length(), "mesh.stl");
ss << "Replaced cloud.ply for mesh.stl, now contains: " << mesh_resource << "\n";
ROS_WARN("%s", ss.str().c_str());
}
And effectively, now the correct mesh is showing.
I'm tracking down where this info comes from, and mesh_uri becomes filled here:
https://github.com/wg-perception/object_recognition_ros/blob/master/src/info_cache/info_cache.cpp#L121
But I see no evidence of .ply being writen anywhere (I've done a grep -r ply in ork_ros).
Ok, kept debugging, when running the line:
https://github.com/wg-perception/object_recognition_ros/blob/master/src/info_cache/info_cache.cpp#L121
object_info_ptr->has_field("mesh_uri")
Gave me TRUE.
object_info_ptr->has_attachment("mesh")
Gave me FALSE.
So it won't execute the code that references to .stl... so, what is filled in there then? Seems to come from before, maybe at the training/meshing? I'll keep looking into it.
from object_recognition_ros.
Thanks to @vrabaud we fixed this issue with this commit:
wg-perception/object_recognition_core@991cdac
from object_recognition_ros.
Related Issues (19)
- deb ros-fuerte-object-recognition not available HOT 3
- badalloc
- problem with new rviz plugin HOT 1
- starting the server
- OrkObject crashes RViz HOT 3
- Build error HOT 1
- app/server always escalates to SIGTERM on Ctrl+C
- Actionlib server crashed with linemod HOT 2
- OrkObject crashes RViz - ROS kinetic
- object_recognition_capture capture error
- Camera calibration file not used
- the estimation pose of the Coke can is not correct
- info_service always fails
- add rosinstaller for installing all required packages HOT 3
- OrkObjectDisplay RViz plugin crashes HOT 4
- rviz cannot find the plugin described HOT 3
- /recognized_object_array with empty objects HOT 3
- empty mask HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from object_recognition_ros.