Skip to main content
Bumped by Community user

I'm a beginerbeginner at gazebo and rosROS.

I'm trying to make mobile robot which propulsive power ispropels itself using the friction force of normal to the direction of wheel.

I want to use cylinder as wheel, and setset the friction direction of the cylinder which isto have a small friction coefficient in the rolling direction and large in normal direction.

I set fdir1 as 1 0 0 in gazebo tag but didn't perform what I desired.

<link name = "wheel">
        <inertial>
            <mass value="${wheel_mass}"/>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <inertia ixx="${I_wheel_xx}" ixy="0.0" ixz="0.0" iyy="${I_wheel_yy}" iyz="0.0" izz="${I_wheel_zz}"/>
        </inertial>
        <visual>
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <material name = "blue"/>
        </visual>
        <collision>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
        </collision>
    </link>
    <gazebo reference="wheel">
        <material>Gazebo/Blue</material>
        <mu>${mu}</mu>
        <mu2>${mu_2}</mu2>
        <fdir>1 0 0</fdir>

So,I want to ask you

1.Is it enable to set friction direction in URDF?

2.if is, how can set it ?

3.is it able to visualize friction force direction in gazebo or rviz?

  1. Is it possible to set the direction of friction in URDF?

  2. If it is, how?

  3. Is it possible to visualize friction force direction in gazebo or rviz?

Thank you.

I'm a beginer at gazebo and ros.

I'm trying to make mobile robot which propulsive power is friction force of normal direction of wheel.

I want to use cylinder as wheel and set friction direction of cylinder which is small friction coefficient in rolling direction and large in normal direction.

I set fdir1 as 1 0 0 in gazebo tag but didn't perform what I desired.

<link name = "wheel">
        <inertial>
            <mass value="${wheel_mass}"/>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <inertia ixx="${I_wheel_xx}" ixy="0.0" ixz="0.0" iyy="${I_wheel_yy}" iyz="0.0" izz="${I_wheel_zz}"/>
        </inertial>
        <visual>
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <material name = "blue"/>
        </visual>
        <collision>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
        </collision>
    </link>
    <gazebo reference="wheel">
        <material>Gazebo/Blue</material>
        <mu>${mu}</mu>
        <mu2>${mu_2}</mu2>
        <fdir>1 0 0</fdir>

So,I want to ask you

1.Is it enable to set friction direction in URDF?

2.if is, how can set it ?

3.is it able to visualize friction force direction in gazebo or rviz?

Thank you.

I'm a beginner at gazebo and ROS.

I'm trying to make mobile robot which propels itself using the friction force normal to the direction of wheel.

I want to use cylinder as wheel, and set the friction direction of the cylinder to have a small friction coefficient in the rolling direction and large in normal direction.

I set fdir1 as 1 0 0 in gazebo tag but didn't perform what I desired.

<link name = "wheel">
        <inertial>
            <mass value="${wheel_mass}"/>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <inertia ixx="${I_wheel_xx}" ixy="0.0" ixz="0.0" iyy="${I_wheel_yy}" iyz="0.0" izz="${I_wheel_zz}"/>
        </inertial>
        <visual>
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <material name = "blue"/>
        </visual>
        <collision>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
        </collision>
    </link>
    <gazebo reference="wheel">
        <material>Gazebo/Blue</material>
        <mu>${mu}</mu>
        <mu2>${mu_2}</mu2>
        <fdir>1 0 0</fdir>

So,I want to ask you

  1. Is it possible to set the direction of friction in URDF?

  2. If it is, how?

  3. Is it possible to visualize friction force direction in gazebo or rviz?

Thank you.

Source Link
Tama
  • 11
  • 2

Can set friction direction based on link cordinate in URDF

I'm a beginer at gazebo and ros.

I'm trying to make mobile robot which propulsive power is friction force of normal direction of wheel.

I want to use cylinder as wheel and set friction direction of cylinder which is small friction coefficient in rolling direction and large in normal direction.

I set fdir1 as 1 0 0 in gazebo tag but didn't perform what I desired.

<link name = "wheel">
        <inertial>
            <mass value="${wheel_mass}"/>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <inertia ixx="${I_wheel_xx}" ixy="0.0" ixz="0.0" iyy="${I_wheel_yy}" iyz="0.0" izz="${I_wheel_zz}"/>
        </inertial>
        <visual>
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <material name = "blue"/>
        </visual>
        <collision>
            <origin xyz="0 0 0.0" rpy="0 0 0"/> 
            <geometry>
                <cylinder radius="${wheel_radius}" length="${wheel_thickness}"/> 
            </geometry>
        </collision>
    </link>
    <gazebo reference="wheel">
        <material>Gazebo/Blue</material>
        <mu>${mu}</mu>
        <mu2>${mu_2}</mu2>
        <fdir>1 0 0</fdir>

So,I want to ask you

1.Is it enable to set friction direction in URDF?

2.if is, how can set it ?

3.is it able to visualize friction force direction in gazebo or rviz?

Thank you.