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

Reuben John's profile - activity

2023-05-28 22:48:37 -0500 received badge  Famous Question (source)
2017-04-22 14:16:22 -0500 received badge  Notable Question (source)
2016-11-07 13:53:45 -0500 commented answer JetBrains CLion IDE setup for ROS

A ROS plugin for CLion requires one final Clion issue to be fixed. Voting for the fix will help speed things up!

2016-05-22 04:24:06 -0500 received badge  Famous Question (source)
2016-02-04 11:54:46 -0500 received badge  Notable Question (source)
2016-02-04 07:03:45 -0500 received badge  Popular Question (source)
2016-02-03 07:31:32 -0500 commented answer urg_node timestamp way too far in the future

Your right! rosparam get use_sim_time returns true! But even after tutorial command: roslaunch gazebo_ros empty_world.launch paused:=true use_sim_time:=false gui:=true throttled:=false headless:=false debug:=true, it shows true. rosparam set /use_sim_time false works but maybe the bad approach

2016-02-02 09:29:59 -0500 received badge  Editor (source)
2016-02-02 09:28:01 -0500 asked a question urg_node timestamp way too far in the future

I am trying to get the urg_node to publish scans to the default topic (laser) and the default frame_id (laser). It all works fine when I couple the commands: rosrun urg_node urg_node _ip_address:="192.168.0.10" _ip_port:-"10940" and rosrun tf static_transform_publisher 0 0 0 0 0 0 map laser 40 in two terminals.

But my original intention is to be able to publish it on the laser topic and have the map to laser transform as NOT static. But this means that the transform now has an additional requirement that they their time stamps should be synchronized. But they are not! The laser messages are being published with the time stamp on a scale of 1454425297 seconds as opposed to the rest of the nodes (including the ones publishing the other transforms) which are on a scale of just a few 100 seconds (corresponding to the time passed since I started the roscore).

I would also like to note that I am using gazebo to publish these other transforms.

My question is:
Obviously these time stamps have to match up and there are only two obvious approaches:

  1. Somehow get the lidar to publish laser messages with the timestamp of the gazebo nodes.
  2. Have all other nodes publish messages with the timestamp of the LIDAR.

Unfortunately, I am unable to do either.

Things I tried:

  • rosrun urg_node urg_node _ip_address:="192.168.0.10" _ip_port:-"10940" calibrate_time:="true"
  • rosrun urg_node urg_node _ip_address:="192.168.0.10" _ip_port:-"10940" time_offset:-"-1454425297.0"
  • <include file="$(find manas_ackermann_navigation)empty_world.launch"> <param name="use_sim_time" value="true"/> </include>
2015-12-18 09:45:51 -0500 received badge  Nice Question (source)
2015-12-15 05:53:26 -0500 answered a question Failed to build razor_imu_9dof

What solved the issue for me was incredibly surprising! It looks like ros-indigo-genjava actually interferes with the compilation. Simply removing the package before compiling solves the problem.

Either remove it via:

  • terminal sudo apt-get remove ros-indigo-genjava
  • Synaptic

Then recompile.

2015-12-15 04:44:23 -0500 received badge  Popular Question (source)
2015-12-14 05:01:03 -0500 received badge  Student (source)
2015-12-14 04:18:50 -0500 asked a question getInflationRadius() no longer found in costmap_2d::Costmap2D (Navigation stack)

I pulled some of the code from the carlikemodel (Ackermann steered navigation stack) and found that a lot of the code is either deprecated or obsolete. A lot of function references to members and functions in the navigation stack have been either been moved or removed since then. I have been able to update a lot of the references, however, I have come across some functions to which there are no viable alternatives that I can find. Specifically, there is a reference to the member function of getInflationRadius() from the object of costmap_2d::Costmap2DROS which does not exist in the form: inflation_radius_ = costmap_ros_->getInflationRadius().

On checking the costmap_2d::Costmap2D Class Reference, it apparently seems to exist getInflationRadius(). However, the latest Indigo Navigation stack no longer seems to have this function.

Other relevant information:

  • ROS distro: Indigo
  • I have compiled Navigation stack from source. I have checked out to the indigo-devel branch on commit 28a3f789e0e44413ebdddbbc09cb037f7f4b9720 I have not faced any issues compiling Navigation stack, and I have sourced it to the carlikemodel implementation without any issues.
  • Ubuntu 14.04

Please do mention if there is anything I may have missed out. Thanks in advance!

2015-10-12 07:25:13 -0500 received badge  Enthusiast
2015-10-02 07:13:15 -0500 received badge  Supporter (source)