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

shoemakerlevy9's profile - activity

2023-07-20 20:12:07 -0500 received badge  Good Question (source)
2023-02-08 09:14:33 -0500 received badge  Nice Question (source)
2023-01-17 14:29:42 -0500 received badge  Nice Question (source)
2022-08-08 03:38:52 -0500 received badge  Good Question (source)
2022-07-10 23:13:20 -0500 received badge  Famous Question (source)
2022-07-10 23:13:20 -0500 received badge  Notable Question (source)
2022-05-04 12:48:46 -0500 marked best answer ROS Logging Display Node Name

Hi,

I'm very sorry if this is a repeat question, but I'm using robot_upstart which dumps all logging output into the single file /var/log/upstart/foo.log. This makes it really hard to tell which node is talking. I'm currently getting the generic error "Failed to open port" and I'm not sure how to figure out where this message is coming from.

Is there a way to get ROS logging to display to node name?

2022-02-08 22:51:10 -0500 received badge  Famous Question (source)
2022-01-16 11:48:07 -0500 answered a question How to start ROS2 node automatically after starting the system?

The ROS2 Launch system is explained here https://design.ros2.org/articles/roslaunch.html

2021-08-26 20:31:48 -0500 received badge  Nice Question (source)
2021-01-21 03:58:07 -0500 received badge  Famous Question (source)
2020-11-16 08:24:21 -0500 marked best answer Static global map updating

Hi,
I have the ROS navigation stack running on a robot. I can choose a point in RVIZ for the robot to navigate to and it is working well, except for sometimes the robot will start doing clearing rotations because it can't find a route through the global map. I then check the global map and see that obstacles have been put into it even though I have it set to be a static map.

Also in RVIZ the global map sometimes doesn't update until I toggle it off and back on again.

Here is my global_costmap_params.yaml

global_costmap:
  global_frame: /map
  robot_base_frame: base_link
  update_frequency: 5.0
  static_map: true

And here is the part of my launch files that loads move_base

<node pkg="move_base" type="move_base" name="move_base" >
    <rosparam file="$(find goose_chaser_main)/move_base_config/costmap_common_params.yaml" command="load" ns="global_costmap" />
    <rosparam file="$(find goose_chaser_main)/move_base_config/costmap_common_params.yaml" command="load" ns="local_costmap" />
    <rosparam file="$(find goose_chaser_main)/move_base_config/local_costmap_params.yaml" command="load" />
    <rosparam file="$(find goose_chaser_main)/move_base_config/global_costmap_params.yaml" command="load" />
    <rosparam file="$(find goose_chaser_main)/move_base_config/base_local_planner_params.yaml" command="load" />
</node>

Also is there a way to verify that my .yaml file is being loaded?

Update:
I verified that the .yaml file is indeed being loaded by running

rosparam get /move_base/global_costmap/static_map

Which returned: true

Update 2

I am running move_base with the default recovery behavior which includes clear_costmap_recovery, so I'm confused at why this recovery isn't working

Here is a picture of a situation where my robot failed to find a valid plan image description

Update 3

Here are my config files:

base_local_planner_params.yaml
local_costmap_params.yaml
global_costmap_params.yaml
costmap_common_params.yaml

2020-11-13 21:54:30 -0500 marked best answer USING ros2 offline (ROS_LOCALHOST_ONLY=1)

Hi,

I'm trying to do a demo of mapping a large building with ROS2 Foxy, Slam Toolbox and a Rover Pro. I'm starting inside an office connected to wifi and then moving down a hallway where I lose wifi connection. If I have ROS_LOCALHOST_ONLY=0 then I have several nodes crash with error message tev: ddsi_udp_conn_write to udp/10.0.3.119:58679 failed with retcode: -1

image description

I then set ROS_LOCALHOST_ONLY=1 and am able to drive outside of wifi coverage but RVIZ2 fails to open with the error failed to find a free participant index for domain 0 so I am not able to see the map I'm creating.

image description

Here is my ROS2 doctor --report

NETWORK CONFIGURATION ether
: 1c:69:7a:00:c8:04 device : eno1 flags : 4099<up,broadcast,multicast> mtu
: 1500 inet : 127.0.0.1 inet4 : ['127.0.0.1'] inet6 : ['::1'] netmask : 255.0.0.0 device
: lo flags : 73<up,loopback,running> mtu
: 65536 inet : 10.0.3.119 inet4 : ['10.0.3.119'] ether
: d0:c6:37:08:eb:ca inet6 : ['fe80::eef9:c514:2059:e7cb'] netmask : 255.255.248.0 device : wlp0s20f3 flags : 4163<up,broadcast,running,multicast> mtu : 1500 broadcast : 10.0.7.255 inet : 10.10.0.2 inet4 : ['10.10.0.2'] ether
: 9e:39:0f:d3:8b:c9 inet6 : ['fe80::9c39:fff:fed3:8bc9'] netmask
: 255.255.255.0 device : ztppirst4c flags : 4163<up,broadcast,running,multicast> mtu : 2800 broadcast : 10.10.0.255

PACKAGE VERSIONS builtin_interfaces : required=1.0.0, local=1.0.0 nav2_planner
: required=0.4.5, local=0.4.3 action_tutorials_cpp
: required=0.9.3, local=0.9.3 nav2_gazebo_spawner
: required=0.4.5, local=0.4.3 rosidl_typesupport_introspection_cpp
: required=1.1.0, local=1.0.1 actionlib_msgs
: required=2.0.3, local=2.0.3 ament_uncrustify
: required=0.9.5, local=0.9.5 ament_cmake_core
: required=0.9.7, local=0.9.6 cartographer_ros
: required=1.0.9002, local=1.0.9001 sdl2_vendor
: required=2.4.1, local=2.4.1 pendulum_control
: required=0.9.3, local=0.9.3 resource_retriever
: required=2.3.3, local=2.3.2 nav_msgs : required=2.0.3, local=2.0.3

launch_testing_ament_cmake
: required=0.10.3, local=0.10.2 rosbag2_compression
: required=0.3.5, local=0.3.4 rcl_action
: required=1.1.9, local=1.1.7 rosidl_generator_cpp
: required=1.1.0, local=1.0.1 ament_cmake_target_dependencies
: required=0.9.7, local=0.9.6 rclcpp_components
: required=2.2.0, local=2.1.0 nav2_costmap_2d
: required=0.4.5, local=0.4.3 ros2lifecycle
: required=0.9.7, local=0.9.7 lifecycle
: required=0.9.3, local=0.9.3 tinyxml_vendor
: required=0.8.0, local=0.8.0 gazebo_msgs
: required=3.5.0, local=3.5.0 cv_bridge
: required=2.2.1, local=2.2.1 ament_lint_auto
: required=0.9.5, local=0.9.5 nav2_map_server
: required=0.4.5, local=0.4.3 ament_cmake_flake8
: required=0.9.5, local=0.9.5 rqt_py_common ...

(more)
2020-11-11 03:13:32 -0500 received badge  Notable Question (source)
2020-11-10 15:30:35 -0500 commented answer USING ros2 offline (ROS_LOCALHOST_ONLY=1)

How do I tell ROS2 to use a certain interface? In ROS1 there was the variable ROS_IP and ROS_MASTER_URI, but from lookin

2020-11-08 21:44:23 -0500 received badge  Popular Question (source)
2020-11-07 20:31:20 -0500 asked a question USING ros2 offline (ROS_LOCALHOST_ONLY=1)

USING ros2 offline (ROS_LOCALHOST_ONLY=1) Hi, I'm trying to do a demo of mapping a large building with ROS2 Foxy, Slam

2020-06-14 04:30:09 -0500 received badge  Notable Question (source)
2020-06-14 04:30:09 -0500 received badge  Famous Question (source)
2019-12-25 00:57:16 -0500 received badge  Necromancer (source)
2019-08-27 14:30:40 -0500 marked best answer Wheel Odometry Covariance

Hi,

I am using robot_localization. I'm using the typical setup

EKF1 fuses encoders + IMU
EKF2 fuses encoders + IMU + GPS

My question is about encoder covariances. The robot_localization documentation says

  • If the odometry provides both position and linear velocity, fuse the linear velocity.
  • If the odometry provides both orientation and angular velocity, fuse the orientation.

Following this advice I am fusing the orientation that the wheel encoders report, but I don't know what to set the encoders pose covariance to. Logically I would think the pose covariance should grow every time you move. It would just keep growing and growing without bound. But when I look at the example pose covariance diagonals of the diff_drive_contoller package it says to use static values

pose_covariance_diagonal: [0.001, 0.001, 1000000.0, 1000000.0, 1000000.0, 0.03]

I'm very confused because diff_drive_controller seems like a commonly used package but those covariances don't make sense to me.

2019-08-09 17:06:50 -0500 marked best answer Extracting compressed image data from bag file results in doubled up or dropped frames

Hi,

I'm trying to extract compressed images from a bag file. Here is my launch file:

<launch>   
  <!-- Play Bag File -->   
  <node pkg="rosbag" type="play" name="rosbag" required="true" args="-r
  0.2 /media/nick/Samsung\ USB/bag_files/_2018-07-20-16-30-09.bag"/>

  <!-- Uncompress images -->   
  <node pkg="image_transport" type="republish" name="decompress_node" args="compressed in:=/webcam1/image out:=/webcam1/image" />

  <!-- Extract images -->
  <node name="extract" pkg="image_view" type="extract_images" respawn="false" required="true" output="screen" cwd="ROS_HOME">
    <remap from="image" to="/webcam1/image"/>
  </node>
</launch>

This results in some frames not being saved and some frames being saves multiple times. Also a lot of frames are saved out of order so the video I make out of the frames is really choppy.

2019-05-20 02:20:09 -0500 marked best answer Waypoint specific yaw_goal_tolerance for move base

Is there any way to specify a yaw_goal_tolerance for each waypoint you send to move_base? Sometimes I care which direction it ends up in and other times I don't care. And using dynamic reconfigure sounds overly complicated and would result in much less readable code and would be harder to debug.

2019-05-20 01:23:00 -0500 received badge  Notable Question (source)
2019-05-20 01:23:00 -0500 received badge  Famous Question (source)
2019-03-28 04:39:33 -0500 received badge  Famous Question (source)
2019-03-28 04:39:33 -0500 received badge  Notable Question (source)
2019-03-14 01:10:05 -0500 received badge  Popular Question (source)
2019-03-08 15:31:08 -0500 asked a question AMCL Time-based updating

AMCL Time-based updating Hi, I am using an Rover Robotics OpenRover to run AMCL on a robot and I see that AMCL updates

2019-02-13 10:28:54 -0500 received badge  Famous Question (source)
2019-02-08 09:52:48 -0500 received badge  Notable Question (source)
2019-02-07 19:55:51 -0500 received badge  Popular Question (source)
2019-02-07 16:56:02 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:54:21 -0500 commented answer ROS2 Debugging Techniques

Ah okay. I have tried to update my CMakesLists.txt and package.xml but am still getting an error. I have updated my ques

2019-02-07 16:42:12 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:41:11 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:40:30 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:40:06 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:36:32 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:36:00 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:35:12 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:33:56 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre

2019-02-07 16:32:55 -0500 edited question ROS2 Debugging Techniques

ROS2 Debugging Techniques I'm just getting started learning ROS2 and I'm going through the tutorials. I am trying to cre