Hello
I have a polygon mesh created from a pcl point cloud. I wanted to add color to the triangular mesh (pcl::PolygonMesh) knowing the color of each point on my point cloud. I have a pcl::PointCloud PointCloud.
Does anyone know how to do this?
Thank you very much
↧
Is it possible to add color to a polygon mesh using the color from a PCL point cloud?
↧
Disabling line display for .dae models in Gazebo 7
Hi all!
I am trying to carry out a simulated experiment using ROS Kinetic and Gazebo 7. I have imported some COLLADA models with .dae format into Gazebo. One thing that bothers me is that the white triangular contour are also shown by default (see pic below) . I've searched within Gazebo and read some online posts but couldn't find a way to turn it off.
Any help on the issue will be much appreciated, thanks!

↧
↧
RViz doesn't load .dae mesh. Cannot locate it.
I am trying to load an underwater robot mesh in RViz. Because I could not do this with a .osg file, I converted it to .dae with Blender. Even though I have done that, RViz is still not able to load it (it doesn't even locate it although, of course, the file is there).
The file is called *newestexport.dae*.
The error is the following:
> [ERROR] [1518623879.761036843]: Could
> not load resource
> [robot/nessie/newestexport.dae]:
> Unable to open file
> "robot/nessie/newestexport.dae".
> [ERROR] [1518623879.761668482]: Could
> not load model
> 'robot/nessie/newestexport.dae' for
> link 'nessie_base_link': OGRE
> EXCEPTION(6:FileNotFoundException):
> Cannot locate resource
> robot/nessie/newestexport.dae in
> resource group Autodetect or any other
> group. in
> ResourceGroupManager::openResource at
> /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreResourceGroupManager.cpp
> (line 756)
Also, *Meshlab* and *Blender* are able to open the mesh without any problem.
The name of the file is correct. So that is discarded.
Any thoughts?
EDIT: I show the .URDF file that calls the mesh:
Thank you.
UPDATE: If you change the path `"robot/nessie/newestexport.dae"` for ithe absolute path `"/home/daniel/.uwsim/data/robot/nessie/newestexport.dae"` it doesn't work, the error still appears. Nor if you put it in the /home/daniel folder.
↧
How can I add mesh ?
I am a beginner, I am making a 4dof custom arm and I am not able to understand how to add mesh objects to the existing links and code for putting the links at right places with respect to meshes? how does it work? please explain?
How can I find custom mesh objects for my arm, if someone has it please provide a link?
↧
how to use meshes
I am a beginner, I am having trouble using mesh files in my URDF file. My main doubt is how will I specify the origin, joint origin for a complex mesh object?
Normally the URDF files have a cylinder, box, and sphere and it is easy to relate the origin and joint origins and tfs with respect to the shapes but how do I do it mesh objects?
please try to explain with some example. thanks for help.
↧
↧
ROS kinetic mesh error
Hi
I'm trying to create a hand model in Rviz but when I'm trying to launch my hand model, terminal shows error but my robot model has been launched without mesh
error:
[joint_state_publisher-1] process has died [pid 23769, exit code 1, cmd /opt/ros/kinetic/lib/joint_state_publisher/joint_state_publisher __name:=joint_state_publisher __log:=/home/misiek/.ros/log/f283dd5c-6a41-11e8-bf9c-000c2952c6a7/joint_state_publisher-1.log].
log file: /home/misiek/.ros/log/f283dd5c-6a41-11e8-bf9c-000c2952c6a7/joint_state_publisher-1*.log
my urdf code:
1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey 1000.0 10.0 10.0 10.0 Gazebo/Grey
Launch file:
Thank you in advance
↧
How to add a Mesh to PlanningScene in Python
Hi,
I'm having trouble adding a Mesh I've created in Blender (.stl file) to my Planning Scene, which is visualized in Rviz.
It's supposed to be the floor the robot is standing on.
I'm using Python.
Here is the relevant part in my code:
def addPlanningScene():
# Use the planning scene object to add or remove objects //Interface
scene = moveit_commander.PlanningSceneInterface()
REFERENCE_FRAME = '/world'
p = PlanningScene()
p.is_diff = True
# Create a scene publisher to push changes to the scene //PlanningScene
scene_pub = rospy.Publisher('/move_group/monitored_planning_scene', PlanningScene)
# Give each of the scene objects a unique name
Ground_id = 'ground'
Object1_id = 'box1'
Object2_id = 'box2'
# Remove leftover objects from a previous run
scene.remove_world_object(Ground_id)
scene.remove_world_object(Object1_id)
scene.remove_world_object(Object2_id)
scene.remove_world_object(target_id)
pose_Ground = geometry_msgs.msg.PoseStamped()
pose_Ground.header.frame_id = REFERENCE_FRAME
pose_Ground.pose.position.x = 0.0
pose_Ground.pose.position.y = 0.0
pose_Ground.pose.position.z = -0.05
scene.add_mesh(Ground_id,pose_Ground,'./Scene_Mesh/Ground_Plane.stl')
scene_pub.publish(PlanningScene)
I'm trying to use the the add_mesh function from the [planning_scene_interface.py](https://github.com/ros-planning/moveit_commander/blob/indigo-devel/src/moveit_commander/planning_scene_interface.py)
It should be an easy problem to solve but I'm stuck right now.
Appreciate any Help! Thanks.
↧
Pointcloud data to mesh conversion
Hi,
I would like to create a mesh out of a pointcloud which I keep in a list, let's say. Is this really possible? If so, does anyone know a way to do it?
↧