Gazebo | Ignition | Community
Ask Your Question

sm02's profile - activity

2023-04-25 13:44:38 -0500 received badge  Student (source)
2017-05-29 07:28:00 -0500 received badge  Famous Question (source)
2016-06-07 09:00:45 -0500 received badge  Notable Question (source)
2016-05-24 07:24:45 -0500 received badge  Famous Question (source)
2016-05-13 12:45:35 -0500 received badge  Famous Question (source)
2016-05-13 12:45:35 -0500 received badge  Notable Question (source)
2016-05-12 11:12:10 -0500 received badge  Notable Question (source)
2016-03-31 09:06:41 -0500 received badge  Famous Question (source)
2016-03-31 09:06:39 -0500 received badge  Popular Question (source)
2016-03-23 11:28:18 -0500 received badge  Popular Question (source)
2016-03-22 13:21:08 -0500 asked a question QApplication error when using collada model

I am trying to follow the Import Meshes tutorial with a model that I downloaded from the Google Sketchup 3D Warehouse. I downloaded the .dae Collada file. I made a simple world according to the tutorial in the same directory as the model. When I try to launch Gazebo with the world, I get the following error:

Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct null not valid

2016-03-10 16:47:51 -0500 received badge  Popular Question (source)
2016-03-10 11:40:27 -0500 commented answer Is there a way to start Gazebo with a smaller window size?

Great, thank you!

2016-03-08 09:29:10 -0500 asked a question Is there a way to start Gazebo with a smaller window size?

Whenever I launch Gazebo from the command line, it isn't in fullscreen mode but the window is maximized and takes up the whole screen. Is there a way I can launch gazebo with a smaller window that doesn't take up the entire screen?

2016-02-23 14:45:13 -0500 received badge  Notable Question (source)
2016-02-04 14:04:59 -0500 commented answer Animation - polaris ranger wheels won't straighten out

I think that the "front_right_steering_joint" and "front_left_steering_joint" revolute joints are causing the response I'm seeing. If I were to get rid of these joints, would I be able to use the model without the wheels responding that way? Or would I have to replace the joints with some other type?

2016-02-04 13:24:01 -0500 commented question Animation - polaris ranger wheels won't straighten out

Yes, the plugin is attached to the polaris model, in the .world file I did <plugin name="push_animate" filename="libmy_animation.so"/> Physics is enabled in the plugin. The polaris model is not marked as static.

2016-02-04 10:30:22 -0500 asked a question Animation - polaris ranger wheels won't straighten out

I'm trying to do a simple animation with the polaris_ranger_ev where it just takes two 90 degree turns. For the first turn, the front wheels turn appropriately but then once it's done turning and is just moving forward, the wheels don't go back to normal, they're still turned. At the second turn (opposite direction), the wheels don't turn like they did for the first turn.

I followed the Animated Box tutorial, here is the code that I am using:

public: void Load(physics::ModelPtr _parent, sdf::ElementPtr /*_sdf*/)
    {
      // Store the pointer to the model
      this->model = _parent;

        // create the animation
        gazebo::common::PoseAnimationPtr anim(
              // name the animation "test",
              // make it last 60 seconds,
              // and set it not to repeat
              new gazebo::common::PoseAnimation("test", 80.0, false));

        gazebo::common::PoseKeyFrame *key;

        // set starting location of the model
        key = anim->CreateKeyFrame(0);
        key->SetTranslation(math::Vector3(0, 0, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));

        // set waypoint location after 10 seconds
        key = anim->CreateKeyFrame(10.0);
        key->SetTranslation(math::Vector3(0, 0, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));


        key = anim->CreateKeyFrame(20.0);
        key->SetTranslation(math::Vector3(1, 0, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));


        key = anim->CreateKeyFrame(30.0);
        key->SetTranslation(math::Vector3(2, 0, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));


        key = anim->CreateKeyFrame(40.0);
        key->SetTranslation(math::Vector3(3, 1, 0));
        key->SetRotation(math::Quaternion(0, 0, 1.5707));


        key = anim->CreateKeyFrame(50.0);
        key->SetTranslation(math::Vector3(3, 2, 0));
        key->SetRotation(math::Quaternion(0, 0, 1.5707));


        key = anim->CreateKeyFrame(60.0);
        key->SetTranslation(math::Vector3(3, 3, 0));
        key->SetRotation(math::Quaternion(0, 0, 1.5707));


        key = anim->CreateKeyFrame(70.0);
        key->SetTranslation(math::Vector3(4, 4, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));


        key = anim->CreateKeyFrame(80);
        key->SetTranslation(math::Vector3(5, 4, 0));
        key->SetRotation(math::Quaternion(0, 0, 0));

        // set the animation
        _parent->SetAnimation(anim);
    }
2016-02-01 09:20:36 -0500 received badge  Popular Question (source)
2016-01-28 12:35:20 -0500 commented answer Box not moving in animated box tutorial

I had done that, but I just realized that I used ' instead of ` It works now, thank you!

2016-01-28 12:20:44 -0500 commented question Box not moving in animated box tutorial

I just tried 'gazebo --verbose animated_box.world' and I received the following warnings and errors: [Wrn] [gazebo.cc:186] Waited 1seconds for namespaces. [Err] [Plugin.hh:153] Failed to load plugin libanimated_box.so: libanimated_box.so: cannot open shared object file: No such file or directory

2016-01-28 12:16:50 -0500 asked a question Box not moving in animated box tutorial

Hi there,

I'm trying to follow the animated box tutorial. When I run gazebo with animated_box.world, I see the box in the middle of the world but it does not move. Then when I try using the gz topic interface to view the pose, it comes up but doesn't have any pose information.

I'm using gazebo 5.1