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

IvanV's profile - activity

2023-07-09 15:31:31 -0500 answered a question Local planner not working in ROS noetic - Ubuntu 20.04 LTS

In a quick look, I see you have not defined any layer in your local costmap. Thus, the costmap will be empty and will no

2023-07-09 15:31:31 -0500 received badge  Rapid Responder (source)
2023-03-26 22:59:22 -0500 received badge  Popular Question (source)
2022-06-29 05:59:22 -0500 marked best answer move_base respawning with wrong parameters after crash

I'm running an instance of move_base using carrot_planner and dwa_local_planer, with global map not initialised. The move_base instance is launched with the "respawn" parameter set to true.

The problem is that move_base crashes frequently when starting (seems to be a well known problem reported several times elsewhere), but when it is respawned, it does it with incorrect parameters, as if it doesn't re-read the configuration files. Here is an example:

core service [/rosout] found
process[move_base-1]: started with pid [30418]
[ INFO] [1417702343.240796462]: Subscribed to Topics: point_cloud_sensor
[ INFO] [1417702343.429482351]: MAP SIZE: 1999, 1999
[ INFO] [1417702343.434297875]: Subscribed to Topics: point_cloud_sensor
move_base: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:69: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(array) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
[move_base-1] process has died [pid 30418, exit code -6, cmd /opt/ros/groovy/stacks/navigation/move_base/bin/move_base odom:=odometry/imu __name:=move_base __log:=/home/indra/.ros/log/7d3fff28-7bbe-11e4-9961-00f1f31a2be5/move_base-1.log].
log file: /home/indra/.ros/log/7d3fff28-7bbe-11e4-9961-00f1f31a2be5/move_base-1*.log
respawning...
[move_base-1] restarting process
process[move_base-1]: started with pid [30870]
[ INFO] [1417702344.065824161]: Subscribed to Topics: point_cloud_sensor
[ INFO] [1417702344.233580934]: MAP SIZE: 99, 99
[ INFO] [1417702344.237308001]: Subscribed to Topics: point_cloud_sensor
move_base: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:69: Eigen::internal::plain_array<T, Size, MatrixOrArrayOptions, 16>::plain_array() [with T = float, int Size = 4, int MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(array) & 0xf) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
[move_base-1] process has died [pid 30870, exit code -6, cmd /opt/ros/groovy/stacks/navigation/move_base/bin/move_base odom:=odometry/imu __name:=move_base __log:=/home/indra/.ros/log/7d3fff28-7bbe-11e4-9961-00f1f31a2be5/move_base-1.log].
log file: /home/indra/.ros/log/7d3fff28-7bbe-11e4-9961-00f1f31a2be5/move_base-1*.log
respawning...
[move_base-1] restarting process
process[move_base-1]: started with pid [31300]
[ INFO] [1417702344.861728138]: Subscribed to Topics: point_cloud_sensor
[ INFO] [1417702345.035579432]: MAP SIZE: 99, 99
[ INFO] [1417702345.040263928]: Subscribed to Topics: point_cloud_sensor
[ INFO] [1417702345.214279138]: Sim period is set to 0.05
[ WARN] [1417702345.721490201]: The origin for the sensor at (0.06, -0.26, 1.60) is out of map bounds. So, the costmap cannot raytrace for it.

As can be seen, when it respawns, the MAP SIZE is 99x99 instead the original 1999x1999. It also gives the error of sensor being out of map, so it's also not getting the configuration for local costmap.

I really need to fix the respawning problem, since it looks like I'm pretty stuck with the buggy version of move_base (older Groovy version, on a 32 bit system).

Any insight will be appreciated.

Thank you and best regards,

Launch file:

<launch>

<node pkg="move_base" type="move_base" name="move_base" output="screen" respawn="true">
    <remap from="odom" to="odometry/imu"/>
    <rosparam file="$(find adam_2dnav)/cfg/costmap_common_params.yaml" command="load" ns="global_costmap" />
    <rosparam file="$(find adam_2dnav)/cfg/costmap_common_params.yaml" command="load ...
(more)
2022-06-29 05:57:43 -0500 asked a question Sick S3000 ros driver with intensity values

Sick S3000 ros driver with intensity values Hi, I'm looking for a ROS driver for the Sick S3000 safety laser scanner th

2021-07-13 02:02:18 -0500 commented question teb_local_planner: unfeasible trajectories with high dt_ref

Actually, after updating to a newer version of the package the issue basically disappeared.

2021-07-07 04:46:26 -0500 commented answer Autoware - can't launch .launch file without runtime manager

@sgermanserrano I'm trying to follow the guide, but I'm unable to download some of the files (headless_setup.yaml), as t

2021-05-26 06:48:02 -0500 received badge  Famous Question (source)
2021-01-14 11:36:28 -0500 received badge  Notable Question (source)
2020-11-27 01:14:09 -0500 received badge  Popular Question (source)
2020-11-02 07:31:06 -0500 commented question teb_local_planner: unfeasible trajectories with high dt_ref

The unfeasible trajectories start at about a dt_ref of 0.5. At 0.3 it doesn't produce unfeasible ones, but the trajector

2020-10-29 06:54:45 -0500 asked a question teb_local_planner: unfeasible trajectories with high dt_ref

teb_local_planner: unfeasible trajectories with high dt_ref Hi, I'm trying to use teb_local_planner in a double Ackerma

2020-10-24 20:38:39 -0500 received badge  Great Question (source)
2019-04-12 13:47:27 -0500 received badge  Good Question (source)
2018-12-17 13:30:31 -0500 received badge  Favorite Question (source)
2018-08-13 11:31:20 -0500 received badge  Famous Question (source)
2018-07-02 02:48:06 -0500 edited question teb_local_planner: avoid constant path replanning

teb_local_planner: avoid constant path replanning Hello, We are working on a heavy omnidirectional platform using orien

2018-07-02 02:45:26 -0500 edited question teb_local_planner: avoid constant path replanning

teb_local_planner: avoid constant path replanning Hello, We are working on a heavy omnidirectional platform using orien

2018-07-02 02:33:55 -0500 commented question teb_local_planner: avoid constant path replanning

Yes, still working on it. There doesn't seem to be any warning being displayed. I've added a small edit with more detail

2018-06-15 11:37:27 -0500 received badge  Famous Question (source)
2018-04-17 01:45:55 -0500 received badge  Notable Question (source)
2018-04-11 03:17:44 -0500 commented question Problem when using move_base in my own robot model

You need a lot more information for troubleshooting move_base. You should start by attaching your configuration files fo

2018-04-11 03:05:06 -0500 received badge  Popular Question (source)
2018-04-06 03:11:30 -0500 asked a question teb_local_planner: avoid constant path replanning

teb_local_planner: avoid constant path replanning Hello, We are working on a heavy omnidirectional platform using orien

2018-04-05 14:35:08 -0500 received badge  Nice Question (source)
2018-03-15 16:13:41 -0500 marked best answer viso2_ros covariance matrix and robot_pose_ekf

Hi,

We want to use viso2_ros package with a Bumblebee camera to perform visual odometry and feed it to the robot_pose_ekf.

robot_pose_ekf requires covariance matrices to be published in the odometry it receives, giving an error if the input covariance is zero. In the documentation of viso2_ros it says that covariance matrices are not publised, so we are unsure if it will be possible to combine viso2_ros with robot_pose_ekf.

In other answer (answers.ros.org/question/34323/viso2_ros-and-robot_pose_ekf/), it is suggested to use it directly (publishing viso2_ros/odometry to robot_pose_ekf/vo), but according to documentation this shouldn't work, as viso2 doesn't publish covariance matrices and following coments in the answer are not conclusive on the results. We have been unable to test it ourselves yet since we are still setting up everithing.

Before continuing, we would like to know if anyone has used viso2_ros with robot_pose_ekf with success and how have they done it. Also, has anyone estimated the covariances for the viso2_ros process, to insert them manually in the published topic?

Thank you and best regards,

Ivan.

2018-01-23 02:30:07 -0500 marked best answer How can generate a list of dependencies from the src folder of a workspace?

Hello all,

We have a large workspace with plenty packages coming from third party developers. At its moment, dependencies of those packages where solved using rosdep.

However, for documentation purposes we need the complete list of dependencies of all packages.

Is there a way of automatically generate that dependencies list? Something like an option on rosdep to not install anything, but just list all dependencies and output them to console or file.

So far I haven't find such a tool.

Thank you and best regards.

Edit:

Just tested rosdep with --simulate --reinstall options in a new workspace where some source has been placed.

First we run with --simulate:

rosdep install --simulate --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
  sudo -H apt-get install ros-indigo-hokuyo-node

It successfully list a ROS package dependency.

If we run also with --reinstall:

rosdep install --simulate --reinstall --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
  sudo -H apt-get install ros-indigo-hokuyo-node
  sudo -H apt-get install libeigen3-dev

And it additionally shows an already installed non-ROS dependency.

We now install missing dependencies using rosdep:

rosdep install --from-paths ~/workspaces/project/src --ignore-src

And after that, we run it again with --simulate --reinstall options:

rosdep install --simulate --reinstall --from-paths ~/workspaces/project/src --ignore-src
#[apt] Installation commands:
  sudo -H apt-get install libeigen3-dev

It successfully lists the non-ROS dependency, but doesn't list the ROS dependency.

Running it without --reinstall just gives emply output, as all dependencies are already installed:

rosdep install --simulate --from-paths ~/workspaces/project/src --ignore-src

So its seems that rosdep --reinstall only lists/reinstalls non-ROS packages. Is that the expected --reinstall behaviour?

2018-01-16 10:30:48 -0500 received badge  Notable Question (source)
2018-01-16 08:43:16 -0500 commented question controller_manager update rate

Ok. So that was a misunderstanding on my part due my light knowledge of ros_control. I guess I was looking for the value

2018-01-16 08:37:30 -0500 received badge  Popular Question (source)
2018-01-16 08:35:37 -0500 commented question controller_manager update rate

... However, I guess I could use dt to compute the current frequency instead of using it as a parameter. Have to check w

2018-01-16 08:27:40 -0500 commented question controller_manager update rate

... However, I guess I could use dt to compute the current frequency.

2018-01-16 08:24:30 -0500 edited question controller_manager update rate

controller_manager update rate I have a controller that uses 2 velocity and 2 position hardware interfaces, and I need t

2018-01-16 08:19:30 -0500 commented question controller_manager update rate

Thank you. However, in that case update_rate is used to guarantee that the controller makes something at a specific rate

2018-01-16 07:50:09 -0500 commented question controller_manager update rate

I need to make some computations on the controller that depend on the relation between the controller execution rate and

2018-01-16 06:16:19 -0500 asked a question controller_manager update rate

controller_manager update rate I have a controller that uses 2 velocity and 2 position hardware interfaces, and I need t

2017-11-27 09:47:43 -0500 commented question Turtlebot with a Map/ devation of Position after drive into an Object

Avoiding obstacles is one of the main purposes of the navigation stack. You can either change the planner parameters to

2017-11-23 09:51:34 -0500 answered a question DWA local planner fails to produce path

Have you tried using different dynamic parameters? I'm thinking that acc_lim_th: 0.05 is just a too low angular accelera

2017-11-21 05:34:41 -0500 commented answer Is there a way to determine IP address of publisher for each message

You don't actually need to modify current steering node. You can just put a "filtering node" in the middle that reads cu

2017-11-21 05:13:29 -0500 answered a question Is there a way to determine IP address of publisher for each message

I don't think that feature comes out of the box in ROS. You can always use custom messages or encapsulated messages with

2017-11-20 04:32:27 -0500 answered a question How to clear the traces of the dynamic obstacle in a costmap?

Probably your problem is that you don't have anything beyond the dynamic obstacle, so costmap doesn't get any valid lase

2017-11-20 04:25:32 -0500 commented question move_base/teb_local_planner requires a map during startup

My guess is that costmap is trying to susbscribe to map topic before hector actually creates it, and in my experience to

2017-11-07 10:26:34 -0500 commented question Importing services declared in the same package in python and catkin

@akash_p My problem was actually what is mentioned in the first answer: the script had the same name as the package and

2017-11-07 10:23:02 -0500 marked best answer Importing services declared in the same package in python and catkin

I'm building om groovy a catkin package that declares a service and contains a python node that acts as server for the service.

The service is declared in the file usv_comm/srv/sendTwist.srv.

The node script is in the file usv_comm/scripts/usv_comm.py.

The service is listed correctly when I make a rossrv list and rossrv show usv_comm/sendTwist.

The service is imported into the python script by from usv_comm.srv import sendTwist.

However, when I run the node as rosrun usv_comm usv_comm.py, I get the following error:

from usv_comm.srv import sendTwist
ImportError: No module named srv

I have previously declared and used services with rosbuild without problems, but I'm quite new to catkin so I'm basically lost right now.

I have followed the tutorials for creating srv (wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv) and using services (wiki.ros.org/ROS/Tutorials/WritingServiceClient%28python%29) for catkin and python.

Any insight in this problem will be appreciated.

Configuration files:

setup.py

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
    packages=['usv_comm'],
    package_dir={'': 'scripts'}
)

setup(**d)

CMakeLists.txt

cmake_minimum_required(VERSION 2.8.3)
project(usv_comm)

find_package(catkin REQUIRED COMPONENTS
  rospy
  roscpp
  std_msgs
  geometry_msgs
  message_generation
)

add_service_files(
  DIRECTORY srv
  FILES
  sendTwist.srv
)

generate_messages(
  DEPENDENCIES
  std_msgs
  geometry_msgs
)

catkin_package(
  CATKIN_DEPENDS rospy std_msgs geometry_msgs message_runtime
)

include_directories(
  ${catkin_INCLUDE_DIRS}
)

package.xml

<?xml version="1.0"?>
<package>
  <name>usv_comm</name>
  <version>0.0.0</version>
  <description>The usv_comm package</description>

  <build_depend>message_generation</build_depend> 
  <run_depend>message_runtime</run_depend> 
  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>rospy</build_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>std_msgs</build_depend>
  <build_depend>geometry_msgs</build_depend>
  <run_depend>rospy</run_depend>
  <run_depend>roscpp</run_depend>
  <run_depend>std_msgs</run_depend>
  <run_depend>geometry_msgs</run_depend>

</package>

Thank you and best regards.

Edit 1: Added CMakeLists.txt file.

Edit 2: Added package.xml

Edit 3: Added setup.py