Gazebo | Ignition | Community
Ask Your Question

Saras Arya's profile - activity

2016-03-22 00:39:37 -0500 received badge  Taxonomist
2014-08-22 14:13:06 -0500 received badge  Famous Question (source)
2014-05-28 18:28:19 -0500 received badge  Famous Question (source)
2014-04-09 07:46:37 -0500 received badge  Notable Question (source)
2014-03-26 03:15:26 -0500 received badge  Popular Question (source)
2014-02-27 13:21:06 -0500 received badge  Notable Question (source)
2013-12-26 04:46:58 -0500 received badge  Editor (source)
2013-12-26 04:42:02 -0500 answered a question Joints Ros-Gazebo

I am trying to use Set Force on my model in update function i checked Force is getting Set but the vehicle is not moving my update function is public: void Update(const common::UpdateInfo &) { physics::JointPtr MyJoint = this->model->GetJoint("leftwheelhinge"); MyJoint->SetForce(0,1.00); physics::JointPtr MyJoint2=this->model->GetJoint("rightwheelhinge"); MyJoint2->SetForce(0,1.00); }

2013-12-26 02:52:19 -0500 received badge  Popular Question (source)
2013-12-26 02:51:23 -0500 asked a question My model is not moving even after giving it a SetForce(0,1.00)

My model is a simple mobile Robot taught in the tutorial. I am trying to make it move via plugin giving it parameters as in update function like

public: void Update(const common::UpdateInfo &)
{          std::cout<<"In update function"<<std::endl;
               physics::JointPtr MyJoint = _model->GetJoint("left_wheel_hinge");
                      if(MyJoint==NULL)
                          std::cout<<"My Left leg not working"<<std::endl;
               MyJoint->SetForce(0,1.00);
               std:: cout << "Joint Force : " << MyJoint->GetForce(0) << std::endl;
               physics::JointPtr MyJoint2=_model->GetJoint("right_wheel_hinge");
               MyJoint2->SetForce(0,1.00);
   }
};

i am confused plzz help fastt... thanks so much

2013-12-13 00:42:11 -0500 asked a question Simple Arm Gripper Not Picking up Objects

Hey there i am new to gazebo and trying out all tutorials mentioned on Gazebo's wiki page. I am facing problem particularly in picking up a object in Gazebo. the object seems to slip from the gripper's grip . I tried to increase friction on both tip and cube but same thing was happening. I also used <gripper> tag but that also didn't help. if anyone could tell error in my attached code , it would be appreciated. Thank you

<sdf version="1.4"> <model name="simple_gripper"> <link name="riser"> <pose>-0.15 0.0 0.5 0 0 0</pose> <inertial> <pose>0 0 -0.5 0 0 0</pose> <inertia> <ixx>0.01</ixx> <ixy>0</ixy> <ixz>0</ixz> <iyy>0.01</iyy> <iyz>0</iyz> <izz>0.01</izz> </inertia> <mass>10.0</mass> </inertial> <collision name="collision"> <geometry> <box> <size>0.2 0.2 1.0</size> </box> </geometry> </collision> <visual name="visual"> <geometry> <box> <size>0.2 0.2 1.0</size> </box> </geometry> <material> <script>Gazebo/Purple</script> </material> </visual> </link> <link name="palm"> <pose>0.0 0.0 0.05 0 0 0</pose> <inertial> <inertia> <ixx>0.01</ixx> <ixy>0</ixy> <ixz>0</ixz> <iyy>0.01</iyy> <iyz>0</iyz> <izz>0.01</izz> </inertia> <mass>0.5</mass> </inertial> <collision name="collision"> <geometry> <box> <size>0.1 0.2 0.1</size> </box> </geometry> </collision> <visual name="visual"> <geometry> <box> <size>0.1 0.2 0.1</size> </box> </geometry> <material> <script>Gazebo/Red</script> </material> </visual> </link> <link name="left_finger"> <pose>0.1 0.2 0.05 0 0 -0.78539</pose> <inertial> <inertia> <ixx>0.01</ixx> <ixy>0</ixy> <ixz>0</ixz> <iyy>0.01</iyy> <iyz>0</iyz> <izz>0.01</izz> </inertia> <mass>0.1</mass> </inertial> <collision name="collision"> <geometry> <box> <size>0.1 0.3 0.1</size> </box> </geometry> </collision> <visual name="visual"> <geometry> <box> <size>0.1 0.3 0.1</size> </box> </geometry> <material> <script>Gazebo/Blue</script> </material> </visual> </link> <link name="left_finger_tip"> <pose>0.336 0.3 0.05 0 0 1.5707</pose> <inertial> <inertia> <ixx>0.01</ixx> <ixy>0</ixy> <ixz>0</ixz> <iyy>0.01</iyy> <iyz>0</iyz> <izz>0.01</izz> </inertia> <mass>0.1</mass> </inertial> <collision name="collision"> <geometry> <box> <size>0.1 0.2 0.1</size> </box> </geometry> <surface> <friction> <ode> <mu>0.4</mu> <mu2>0.4</mu2> <slip1>0.6</slip1> <slip2>0.6</slip2> </ode> </friction> </surface> </collision>

    <visual name="visual">
        <geometry>
            <box>
                <size>0.1 0.2 0.1</size>
            </box>gedit ~/.gazebo/models/my_gripper/simple_gripper.sdf
        </geometry>
        <material>
            <script>Gazebo/Blue</script>
        </material>
    </visual>
</link>
<link name="right_finger">
    <pose>0.1 -0.2 0.05 0 0 .78539</pose>
    <inertial>
        <inertia>
            <ixx>0.01</ixx>
            <ixy>0</ixy>
            <ixz>0</ixz>
            <iyy>0.01</iyy>
            <iyz>0</iyz>
            <izz>0.01</izz>
        </inertia>
        <mass>0.1</mass>
    </inertial>
    <collision name ...
(more)