ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

jdj's profile - activity

2022-10-12 04:37:49 -0600 marked best answer robot_state_publisher tf fail.

map -> odom odom -> base_link succeeds in passing tf.

However, it fails to pass from base_footprint to base_link.

For example, when I check the tf tree: Broadcaster: / robot_state_publisher Average rate: 10000.0 Buffer lenth: 0.0 Most recent transform: 0.0 Oldest transform: 0.0

I wonder why I can not receive the data.

--- URDF File ---

<robot name = "robot">

    <link name = "base_footprint" />

    <parent link = "base_footprint" />
    <child link = "base_link" />
    <origin xyz = "0.0 0.0 0.010" rpy = "0 0 0" />
    <parent name = "base_joint" / joint>

    <link name = "base_link">
        <visual> 
            <geometry>
                <box size = "0.5 .26 .04" /> 
            </geometry>
            <origin rpy = "0 0 0" xyz = "0 0 0.075" material name = "body">
                <color rgba = "1.0 0.423529411765 0.0392156862745 1.0" />
                </material>
        </visual>
    </link>

    <link name="wheel_left1">
        <parent link="base_link"/>
        <visual>
            <geometry>
                <cylinder length="0.04" radius="0.065"/>
            </geometry>
            <origin rpy="1.57 0 0" xyz="0.20 0.14 0.065"/>
            <material name="wheel">
                <color rgba="0.0 0.0 0.0 1.0"/>
            </material>
        </visual>
    </link>

    <link name="wheel_right1">
        <visual>
            <geometry>
                <cylinder length="0.04" radius="0.065" />
            </geometry>
            <origin rpy="1.57 0 0" xyz="0.20 -0.14 0.065" />
            <material name="wheel">
                <color rgba="0.0 0.0 0.0 1.0" />
            </material>
        </visual>
    </link>

    <link name="wheel_left2">
        <parent link="base_link" />
        <visual>
            <geometry>
                <cylinder length="0.04" radius="0.065" />
            </geometry>
            <origin rpy="1.57 0 0" xyz="-0.20 0.14 0.065" />
            <material name="wheel">
                <color rgba="0.0 0.0 0.0 1.0" />
            </material>
        </visual>
    </link>
    <link name="wheel_right2">
        <visual>
            <geometry>
                <cylinder length="0.04" radius="0.065" />
            </geometry>
            <origin rpy="1.57 0 0" xyz="-0.20 -0.14 0.065" />
            <material name="wheel">
                <color rgba="0.0 0.0 0.0 1.0" />
            </material>
        </visual>
    </link>

    <link name="base_scan">
        <visual>
            <geometry>
                <cylinder length="0.08" radius="0.05" />
            </geometry>
            <origin rpy="0 0 0" xyz="0.20 0 0.10" />
            <material name="laser">
                <color rgba="0.0 0.0 0.0 1.0" />
            </material>
        </visual>
        <sensor name="base_scan" update_rate="20">
            <parent link="base_link" />
            <origin xyz="0.2 0 0.5165" rpy="0 0 0" />
            <ray>
                <horizontal samples="100" resolution="1" min_angle="-1.5708" max_angle="1.5708" />
                <vertical samples="1" resolution="1" min_angle="0" max_angle="0" />
            </ray>
        </sensor>
    </link>


    <joint name="joint1" type="fixed">
        <parent link="base_link" />
        <child link="wheel_left1" />
        <origin xyz="0 0 0" />
    </joint>

    <joint name="joint2" type="fixed">
        <parent link="base_link" />
        <child link="wheel_right1" />
        <origin xyz="0 0 0" />
    </joint>

    <joint name="joint3" type="fixed">
        <parent link="base_link" />
        <child link="wheel_left2" />
        <origin xyz="0 0 0" />
    </joint>

    <joint name="joint4" type="fixed">
        <parent link="base_link" />
        <child link="wheel_right2" />
        <origin xyz="0 0 0" />
    </joint>

    <joint name="joint5" type="fixed">
        <parent link="base_link" />
        <child link="base_scan" />
    </joint>
</robot>

rviz related files

<launch>
    <arg name="model" default="$(find dynamixel_workbench_operators)/urdf/robot.urdf" />
    <arg name="gui" default="False" />
    <param name="robot_description" textfile="$(arg model)" />
    <param name="use_gui" value="$(arg gui)" />
    <node pkg="dynamixel_workbench_operators" type="wheel_test" name="wheel_test"/>
    <node name="joint_state_publisher" pkg="joint_state_publisher ...
(more)
2021-08-12 03:53:01 -0600 received badge  Nice Answer (source)
2020-11-30 03:18:13 -0600 received badge  Enthusiast
2020-11-02 16:00:05 -0600 received badge  Necromancer (source)
2020-11-02 16:00:05 -0600 received badge  Teacher (source)
2020-11-02 06:02:05 -0600 answered a question Error when building package of calibration_publisher while installing Autoware

This error occurs when the opencv library cannot be loaded. Please refer to the address below https://github.com/Autowar

2020-06-10 22:50:01 -0600 received badge  Famous Question (source)
2019-04-02 01:54:18 -0600 commented question It fails to return to its initial position.

The material of the track is rubber. I try to make a round trip to just 10 meters away.

2019-04-01 19:55:24 -0600 received badge  Notable Question (source)
2019-04-01 04:26:47 -0600 received badge  Famous Question (source)
2019-04-01 03:05:04 -0600 received badge  Popular Question (source)
2019-04-01 02:09:15 -0600 commented question It fails to return to its initial position.

I put a track on both wheels to prevent slipping, and I want to go straight about 10m and then come back again.

2019-04-01 02:00:44 -0600 received badge  Notable Question (source)
2019-04-01 01:56:07 -0600 commented question It fails to return to its initial position.

I want to know the moving speed of the robot, the dynamixel motor for the motor, and the wheel for the 3D printer.

2019-04-01 01:53:47 -0600 received badge  Popular Question (source)
2019-04-01 01:53:10 -0600 edited question robot_state_publisher tf fail.

robot_state_publisher tf fail. map -> odom odom -> base_link succeeds in passing tf. However, it fails to pass fr

2019-04-01 01:40:21 -0600 commented question It fails to return to its initial position.

I want to navigate using a mobile robot with four wheels. After moving from the initial position to the goal position, w

2019-03-31 23:22:36 -0600 asked a question robot_state_publisher tf fail.

robot_state_publisher tf fail. map -> odom odom -> base_link tf를 전달하는데 성공한다. 그러나, base_footprint에서 base_link로 전달

2019-03-31 23:22:36 -0600 asked a question It fails to return to its initial position.

It fails to return to its initial position. I try to get the robot back to its initial position. First, I used the 2D P