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

drtritm's profile - activity

2021-09-21 05:13:05 -0500 received badge  Great Answer (source)
2021-08-06 07:54:15 -0500 received badge  Famous Question (source)
2021-06-28 09:22:25 -0500 received badge  Famous Question (source)
2021-06-07 04:18:45 -0500 received badge  Good Answer (source)
2021-05-28 03:50:49 -0500 received badge  Famous Question (source)
2021-05-26 15:39:46 -0500 marked best answer Is this a way to call xacro macro?

Hi everyone, I find some files in this source. And I want to fully understand this source. I found this line and I don't know if it is a way to use xacro macro. Because as far as I know that the way to use it is to declare xacro and then call it using the "xacro: (name of macro) " like the following xml

<xacro:macro name="pr2_caster" params="suffix *origin **content **anothercontent">
  <joint name="caster_${suffix}_joint">
    <axis xyz="0 0 1" />
  </joint>
  <link name="caster_${suffix}">
    <xacro:insert_block name="origin" />
    <xacro:insert_block name="content" />
    <xacro:insert_block name="anothercontent" />
  </link>
</xacro:macro>

<xacro:pr2_caster suffix="front_left">
  <pose xyz="0 1 0" rpy="0 0 0" />
  <container>
    <color name="yellow"/>
    <mass>0.1</mass>
  </container>
  <another>
    <inertial>
      <origin xyz="0 0 0.5" rpy="0 0 0"/>
      <mass value="1"/>
      <inertia ixx="100"  ixy="0"  ixz="0" iyy="100" iyz="0" izz="100" />
    </inertial>
  </another>
</xacro:pr2_caster>

But in my files, I see the author write like this

<xacro:macro name="sensor_kinect" params="parent">
<turtlebot_sim_3dsensor/>                              
</xacro:macro>

The turtlebot_sim_3dsensor is a macro define in another file, but I don't know if this is a way to call macro. I think it should be xacro:turtlebot_sim_3dsensor . And the file declaring this macro is not run, how the ROS know that there is this macro? Sorry for my english and I don't know why my code didn't displayed correctly

2021-05-26 15:38:12 -0500 received badge  Famous Question (source)
2021-05-22 17:07:54 -0500 received badge  Nice Answer (source)
2021-02-26 03:34:42 -0500 commented answer How to calculate sensor_msgs/LaserScan data ?

As @loguna have mentioned, but you should notice that the angle increment play a role in it. In @loguna example, the ang

2021-02-19 13:03:20 -0500 received badge  Notable Question (source)
2021-02-19 09:29:53 -0500 commented answer Updating origin of local costmap when robot moves to a different floor

there's a service to clear costmap, you might want to use it

2021-02-19 00:56:40 -0500 edited answer what is the use of --symlink-install in ROS2 colcon build?

with symlink-install if you change code in your source code, it will take effect, you don't have to compile it again (on

2021-02-19 00:54:29 -0500 answered a question what is the use of --symlink-install in ROS2 colcon build?

with symlink-install you can change code in your source code without having to compile it again (ony with python, not c+

2021-02-18 22:49:30 -0500 commented answer Using Float64MultiArray with C++

I think it should be "std_msgs/msg/float64_multi_array.hpp"

2021-02-17 20:35:19 -0500 commented answer Path planned through unmapped region for goal present inside map.

@spiritninja did you find the solution, I faced the same problem, even change allow_unknown or tracking_unknown_space

2021-02-01 00:36:27 -0500 answered a question Cannot launch node of type, ROS Error

In the source code of the package on github i found that the package_dir in the setup.py of your package is src. And y

2021-02-01 00:36:27 -0500 received badge  Rapid Responder (source)
2021-01-12 07:06:39 -0500 received badge  Popular Question (source)
2021-01-12 05:25:26 -0500 edited answer [ROS2] Global planner create a path pass through obstacle

The answer was that I placed the "observation_sources" and "scan" position wrongly. It needs to be in the same level of

2021-01-12 05:24:08 -0500 edited answer [ROS2] Global planner create a path pass through obstacle

The answer was that I placed the "observation_sources" position wrongly

2021-01-12 05:23:39 -0500 answered a question [ROS2] Global planner create a path pass through obstacle

The answer was that I placed the observation source position wrongly

2021-01-12 05:00:02 -0500 received badge  Teacher (source)
2021-01-12 04:05:20 -0500 answered a question Advantage of adding costmap_2d::ObstacleLayer plugin to global costmap

The "costmap_2d:ObstacleLayer" in global costmap will "add" obstacle into global costmap, which resultes that global pla

2021-01-12 00:41:09 -0500 commented question ros2 teleop_twist_keyboard rate

i'm afraid you have to do it manually, I saw in source code of teleop_twist_keyboard ros2, there is no option to set tha

2021-01-11 22:29:52 -0500 edited answer Implement std_msgs in C++ programs (ros2)

dear my friend, according to directory of ROS2 in opt, maybe you should change it to "std_msgs/msg/float64_multi_array.h

2021-01-11 22:29:23 -0500 answered a question Implement std_msgs in C++ programs (ros2)

dear my friend, according to directory of ROS2 in opt, maybe you change it to "std_msgs/msg/float64_multi_array.hpp"

2021-01-11 22:29:23 -0500 received badge  Rapid Responder (source)
2020-12-10 05:12:50 -0500 asked a question [ROS2] Global planner create a path pass through obstacle

[ROS2] Global planner create a path pass through obstacle Hi everyone, I'm using navigation2 on ROS2 (Dashing) and I hav

2020-11-16 08:45:17 -0500 received badge  Notable Question (source)
2020-11-16 08:45:17 -0500 received badge  Popular Question (source)
2020-11-16 08:44:28 -0500 received badge  Notable Question (source)
2020-11-16 03:07:16 -0500 marked best answer How to source setup.bash in ROS Window10

Hi everyone. I want to install some packages on ROS Win10, I tried with choco install and it didn't work. So I tried to install from source. When I "catkin_make", it succeeded.But I don't know how to source setup.bash By the way, I want to use multi machine with ROS_Master on Window. But I don't know how to config .bashrc file to edit ROS_MASTER_URI to make connect with other devices. Thanks for reading

2020-10-28 05:37:02 -0500 received badge  Famous Question (source)
2020-10-26 08:16:44 -0500 received badge  Notable Question (source)
2020-10-26 08:16:44 -0500 received badge  Popular Question (source)
2020-08-21 01:50:06 -0500 marked best answer rosserial with 2 arduino

Hi every one. I have a problem when interfacing raspberry pi with two arduino through rosserial_python, when I connect to the second arduino after the first one succeeded,the first terminal will say : **shutdown request: new node registered with same name** i search and find the solution like include parameter _name after the rosrun command, but it's not worked for me.please help me. thank you and sorry for my english

2020-06-24 04:35:05 -0500 commented answer kinect frame

@sealguy77 hi, I wonder that how could you choose the origin in joint tag, is it a fix parameter for kinect?

2020-06-22 14:00:58 -0500 commented answer Is this a way to call xacro macro?

chefbot- which is a modified of turtlebot

2020-06-19 05:02:45 -0500 received badge  Popular Question (source)
2020-06-18 09:16:35 -0500 edited question Is this a way to call xacro macro?

Is this a way to call xacro macro? Hi everyone, I find some files in this source. And I want to fully understand this so

2020-06-18 09:15:39 -0500 edited question Is this a way to call xacro macro?

Is this a way to call xacro macro? Hi everyone, I find some files in this source. And I want to fully understand this so

2020-06-18 09:14:57 -0500 asked a question Is this a way to call xacro macro?

Is this a way to call xacro macro? Hi everyone, I find some files in this source. And I want to fully understand this so

2020-05-26 14:14:10 -0500 commented answer Bad maps produced by gmapping in simulation with feature-poor environments

it worked, thanks

2020-05-26 13:41:29 -0500 commented question Bad maps produced by gmapping in simulation with feature-poor environments

@zsaigol hello, could you tell me how to disable the scan matching? thanks in advance

2020-05-26 13:41:29 -0500 received badge  Commentator
2020-05-25 06:18:07 -0500 commented question keyboard teleop but publish a same message at a fixed rate?

PS: it just publishes the message if I push the button

2020-05-25 06:10:05 -0500 edited question keyboard teleop but publish a same message at a fixed rate?

keyboard teleop but publish a same message at a fixed rate Hi everyone, I tried to modify the source of package keyboard

2020-05-25 06:10:05 -0500 received badge  Editor (source)
2020-05-25 06:09:38 -0500 asked a question keyboard teleop but publish a same message at a fixed rate?

keyboard teleop but publish a same message at a fixed rate Hi everyone, I tried to modify the source of package keyboard