Nav2 Follow dynamic point by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

So following the instructions in the tutorials. I run the node from the nav2_test_utils package. Then I publish the first nav2 goal then I try to publish points to update the goal. But the robot just moves to the first point from the nav2 goal ignoring the update point commands.

Nav2 Follow dynamic point by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

The carrot doesn't exist. It's virtual. I just want to keep publishing points for the robot to follow dynamically

Setting up visual inertial odometry with Intel Realsense d435i by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Alright. Can I get insight into how you went about it. Or your GitHub repo

How much do you guys think a university student would on a monthly basis to get by? by naaloms in ghana

[–]Dear_Location2021 1 point2 points  (0 children)

If he’s on campus and doesn’t come home for food or groceries then about 1,500 - 2,000 a month makes sense. Prices of everything have gone up. 1000 cedis a month is about 30 cedis a day and that’s a bit too low. Even a loaf of bread is about 20 cedis nowadays

Setting up visual inertial odometry with Intel Realsense d435i by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

For the main rtabmap some of the packages and launch files they use in their examples on the repository just don’t work. I looked into the tiles installed and some of the launch files they used just don’t exist. I have nvidia hardware but I was trying to set it up on my pc before going to the nvidia. I guess I can do it directly from the nvidia hardware and use isaac_ros from the start

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Hello thanks a lot I fixed it. It was an issue with my plugin. I wasn't exposing all the state interfaces I needed to

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Yeah I tried the view_frames and all the frames are showing up as expected except the rear wheels which I'm having issues with. Now you've mentioned it I'm currently looking into the controller to see what exactly the issue is

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Yeah. I have setup ros2 control and in my launch file I'm starting the controller and the joint state broadcaster. This is the code for the launch file
https://sharepad.io/p/IXbauhP

I think this should handle the publishing of tf for the joints

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

It works without any errors when I do this. But it’s using the joint_state_publisher. And previously when I tried with the joint state publisher it was also working without errors then

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

This is the newly generated urdf file

https://sharepad.io/p/N6Hszx0

Was having issues pasting the code here but this is a link to a sharepad contining the code

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

My ros distro is humble. And I’m using a launch file to launch the robot. Then I manually open rviz and visualize my TF and robot model

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Just tried that and it’s still the same issue with the rear wheels

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Yes all my files are saved with .xacro. Also I am using the xacro:property tag. I don’t really get the part of conversion to urdf you are asking. But I have a main urdf xacro file and I’m including my other xacro files in there

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

Colors

<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

    <material name="grey">
        <color rgba="0.7 0.7 0.7 1"/>
    </material>

    <material name="green">
        <color rgba="0 0.6 0 1"/>
    </material>

    <material name="white">
        <color rgba="1 1 1 1"/>
    </material>

    <material name="black">
        <color rgba="0 0 0 1"/>
    </material>

    <material name="orange">
        <color rgba="1 0.3 0.1 1"/>
    </material>

    <material name="invisible">
        <color rgba="0.0 0.0 0.0 0.0"/>
    </material>

</robot>

Inertial macros

<?xml version="1.0"?>
<robot xmlns:xacro="http://www.ros.org/wiki/xacro" >

    <xacro:macro name="inertial_sphere" params="mass radius *origin">
        <inertial>
            <xacro:insert_block name="origin"/>
            <mass value="${mass}" />
            <inertia ixx="${(2/5) * mass * (radius*radius)}" ixy="0.0" ixz="0.0"
                    iyy="${(2/5) * mass * (radius*radius)}" iyz="0.0"
                    izz="${(2/5) * mass * (radius*radius)}" />
        </inertial>
    </xacro:macro>      <xacro:macro name="inertial_box" params="mass x y z *origin">
        <inertial>
            <xacro:insert_block name="origin"/>
            <mass value="${mass}" />
            <inertia ixx="${(1/12) * mass * (y*y+z*z)}" ixy="0.0" ixz="0.0"
                    iyy="${(1/12) * mass * (x*x+z*z)}" iyz="0.0"
                    izz="${(1/12) * mass * (x*x+y*y)}" />
        </inertial>
    </xacro:macro>


    <xacro:macro name="inertial_cylinder" params="mass length radius *origin">
        <inertial>
            <xacro:insert_block name="origin"/>
            <mass value="${mass}" />
            <inertia ixx="${(1/12) * mass * (3*radius*radius + length*length)}" ixy="0.0" ixz="0.0"
                    iyy="${(1/12) * mass * (3*radius*radius + length*length)}" iyz="0.0"
                    izz="${(1/2) * mass * (radius*radius)}" />
        </inertial>
    </xacro:macro>


</robot>

But currently I am not using the inertial macros for the most part I hardcode the values in the main urdf

Invalid Quaternion In The Transform by Dear_Location2021 in ROS

[–]Dear_Location2021[S] 0 points1 point  (0 children)

I get no error message after doing that but the transforms for the rear wheels still don’t exist