Gazebo | Ignition | Community
Ask Your Question

Akm's profile - activity

2014-10-21 11:21:11 -0500 received badge  Taxonomist
2014-09-16 09:18:42 -0500 received badge  Famous Question (source)
2014-04-20 15:09:13 -0500 received badge  Famous Question (source)
2014-03-10 12:47:10 -0500 received badge  Notable Question (source)
2014-03-04 10:30:49 -0500 received badge  Notable Question (source)
2014-03-04 03:11:50 -0500 received badge  Popular Question (source)
2014-03-03 21:21:36 -0500 commented answer Simulating Airplanes

Thank you so much for the info. Will wait for the new release

2014-03-03 21:18:41 -0500 commented answer Simulating Airplanes

Thanks.. I will go through the quad-rotor model. It will surely be helpful to design the plane.

2014-03-03 21:11:51 -0500 received badge  Popular Question (source)
2014-03-03 21:09:38 -0500 commented answer cube rotates with linear velocity

thanks for the answer. It would be great if the expected output could be explained a little better in the tutorials. If I may ask, how did you figure out that the box is colliding with the ground plane? Also, if the gravity is enabled, then as soon as the center of mass shifts beyond the normal then the cube should immediately topple, but the rotational motion looks uniform (constant angular velocity). Am I missing something?

2014-03-03 21:01:17 -0500 received badge  Scholar (source)
2014-03-02 17:14:58 -0500 commented question cube rotates with linear velocity

No its not colliding with anything, I am using the exact same thing as given in this link --- http://gazebosim.org/wiki/Tutorials/2.2/plugins/ModelPush I guess the gravity is disabled, because its not specifically being set anywhere.

2014-03-02 13:46:24 -0500 asked a question Simulating Airplanes

Hi, Are there any airplane models that are available for simulation? Where can I find such models? I am looking for a very basic airplane model, something on which I can mount a camera and fly. Thanks

2014-03-02 12:26:04 -0500 received badge  Editor (source)
2014-03-01 23:21:58 -0500 asked a question cube rotates with linear velocity

Hi, I am new to Gazebo and trying out the tutorials. When I run the second tutorial, in which a cube is created and a linear velocity is given to it, the cube translates for a while and then starts to topple about its edge. This toppling behavior continues from there on. If I increase the velocity I dont see this behavior. Can anyone explain that why is the linear velocity causing rotational motion.

Thanks.

The Plugin Code

include <boost bind.hpp="">

include <gazebo gazebo.hh="">

include <gazebo physics="" physics.hh="">

include <gazebo common="" common.hh="">

include <stdio.h>

namespace gazebo { class ModelPush : public ModelPlugin { public: void Load(physics::ModelPtr parent, sdf::ElementPtr /*sdf*/) { // Store the pointer to the model this->model = _parent;

  // Listen to the update event. This event is broadcast every
  // simulation iteration.
  this->updateConnection = event::Events::ConnectWorldUpdateBegin(
      boost::bind(&ModelPush::OnUpdate, this, _1));
}

// Called by the world update start event
public: void OnUpdate(const common::UpdateInfo & /*_info*/)
{
  // Apply a small linear velocity to the model.
  this->model->SetLinearVel(math::Vector3(.03, 0, 0));
}

// Pointer to the model
private: physics::ModelPtr model;

// Pointer to the update event connection
private: event::ConnectionPtr updateConnection;

};

// Register this plugin with the simulator GZREGISTERMODEL_PLUGIN(ModelPush) }