Gazebo | Ignition | Community
Ask Your Question

Kazuhiro Sasabuchi's profile - activity

2016-06-21 11:44:17 -0600 received badge  Student (source)
2016-06-21 11:44:09 -0600 received badge  Famous Question (source)
2016-06-21 11:44:09 -0600 received badge  Notable Question (source)
2016-06-21 11:44:09 -0600 received badge  Popular Question (source)
2015-11-12 23:41:18 -0600 received badge  Famous Question (source)
2015-11-12 23:41:18 -0600 received badge  Notable Question (source)
2015-11-12 23:41:18 -0600 received badge  Popular Question (source)
2015-09-14 02:20:21 -0600 asked a question Creating sdf element in plugin source code and adding collision

I'm trying to create and add collisions from model mesh (not from sdf, but by using sdf::ElementPtr, AddElement, and Model::Load in a plugin).

The collisions are somehow visualized but I don't see the collision element in the menu (see attached figure). How can I fix this (I want the collisions to appear in menu)? or what could be the possible problem? Thanks.

collision.jpg

Notes:

  • I'm using gazebo5_5.1.0 compiled from source, Ubuntu 14.04.
  • The plugin I'm creating is a world plugin but loads a class object that inherits the Model class (this is the class that has the collisions).
  • I'm adding a link element to the _sdf argument, and then loading the _sdf through Model::Load (like in Actor.cc line 124). The collision element is attached to the created link element.
  • link->GetCollision("name-of-collision")->HasType(Base::COLLISION) returns true.
  • world->GetByName("name-of-collision") does not return NULL.

So I'm guessing the CollisionPtr exists, and something not going right with the communication between gzserver and gzclient?

2015-06-24 01:08:29 -0600 asked a question How can I use BVH loader?

Hi

I'd like to control gazebo actor from BVH files, is there any sample program or documents related to this class? -> http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/classgazebo11common11BVHLoader.html