Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing latest articles
Browse All 55 View Live
↧

ira_laser_tools merger doesn't subscribe to topics from laser in gazebo

Hey together, please see edit #1 and #2. The node for the laser scanner won't subscribe to the topics given in its parameters in the launch file. But the scan topics are published correctly. I am...

View Article


How to Run Multiple Gazebo Simulations with Unique Clocks

As a follow on to my previous question: http://answers.ros.org/question/241005/gazebo-topic-publication-issue-within-namespaced-group-tag/ I'm trying to run multiple Gazebo simulations on one machine,...

View Article


Why could the time stamp for my bumper plugin be zero?

HI, I've got a bumper plugin on the `r_foot` link of the Atlas robot. The plugin publishes correct data to the topic, but the sec & nsec values in the header are always 0. I tried using the...

View Article

tf::TransformListener gets wrong tf

Hello, TL;DR tf::TransformListener gets a different transform than shown in RVIZ I am having quite a strange problem. I am using a rosbag file to playback recorded data and I am adding new transforms...

View Article

Rosbag and simulated time

Hello all, I am trying to run a bag file if simulated time but I am not succeeding on it. Here is what happens: After I run the bag file with the command rosbag play --clock -l laser_scanner3.bag I am...

View Article


Convert legacy logs to ROS bag

Is there a way to convert legacy logs to ROS bags? I have a set of sensors logs that were recorded before my project started using ROS. I am now converting everything to use ROS, but I still want to...

View Article

Publish at the time of a vector

Dears, I have a vector containing double type numbers representing the ros time that I recorded from a previous simulation. I need to publish data of a node at this given time. I try to explain better:...

View Article

Gazebo is not publishing clock

My Gazebo is not publishing the clock anymore. I don't know what I did wrong. A few days ago it worked, but not anymore. "use_sim_time" is set to true (`rosparam get use_sim_time` returns true) The...

View Article


How to publish messages on a topic of type rosgraph_msgs/Clock?

Hello! I want to give values to a topic with this type of mesage (rosgraph_msgs/Clock) I create a variable called "reloj" for example: rosgraph_msgs::Clock reloj; How do I give a value to that...

View Article


use_sim_time only for some of the running nodes

Is there some way to enable `use_sim_time` only for dedicated nodes? I have a scenario in which a node should use the simulated time published on `/clock` while at the same time other nodes are running...

View Article

Another question about extrapolation in the past

Hello all, That's a question that has been asked multiple times but none of the solution have worked so far. I'm playing data from a rosbag and when trying to query the tf I have this error: [ERROR]...

View Article

ROS2 clock stuck within inhereted class

Hello everyone, my clock always stuck at the moment the node start for the following code. I mimic the coding style of the demo talker node. Am I doing anything wrong? #include #include...

View Article

How use_sim_time works?

I am currently working on VIORB SLAM which using both camera and imu. I have to make the system work without ROS, but currently I successfully run the recorded datasets using use_sim_time only. This...

View Article


WARNING: no messages received and simulated time is active. Laser Scan Matcher

ROS Kinetic - Ubuntu 16.04 Looking this up, all the forum posts I can find are either about gazebo or don't really have an answer. Laser Scan Matcher node takes an input and produces an output. The...

View Article

Why isn't ROS using its own clock server for live situations?

I'm well aware of the fact that if you run ROS nodes on multiple machines, you will need to synchronize system clocks between them (https://answers.ros.org/question/11570/ros-time-across-machines/). I...

View Article


No /clock topic being published when running map_server map_saver

Hello, I have been following the ROS gmapping tutorial, *How to Build a Map Using Logged Data*, and have run into a problem where the sim clock is not being published when I try to save a map from a...

View Article

ros2: Clock sleep_until

Hi, Is there an implementation available for sleep_until or sleep_for with Clock interfaces on ros2? The document here says it does, http://design.ros2.org/articles/clock_and_time.html but could'nt...

View Article


Clock not publishing?

I'm launching a bumblebee2 stereo camera to get my input images. When I check the /clock topic, I don't see any timestamps being published. Is this abnormal?

View Article

Clock server as nodelet

I have a nodelet that should act as clock server when it is started in simulation mode. My problem is that if I set "use_sim_time" to true the "nodelet_manager" does not start because there is no clock...

View Article

Why does /clock slow down under 65% CPU load?

On Ubuntu 16.04, with 8 cores and lots of nodelets. Measuring `/clock` with `rostopic hz /clock` and using `rosbag play --rate xx`, I see that: --rate CPU load /clock 0.5 40% 50 Hz 1.0 65% 38 Hz 2.0...

View Article

TF_OLD_DATA error after upgrading to Gazebo 8 from 7, ROS Kinetic

Thanks for looking! Been trying to rectify this issue for the past few days to no avail. **Background** The differential drive robot project had been worked on using ros kinetic and gazebo7 but I've...

View Article


Pointcloud to Laserscan on Simulated Jackal UGV w/ VLP-16

[Short video of problem description](https://imgur.com/a/CeAMpTh) I have a simulated Jackal equipped with only a VLP-16 sensor. I am trying to get it to do planned navigation but there are noticeable...

View Article


How to set up tfbuffer clock in ROS 2 so it works with sim time?

I'm working on the tip of the ROS 2 master branch. In the example code below, I have a deadlock when `use_sim_time` is active even though Gazebo is running and publishing `/clock` messages. I call...

View Article

Ensuring time synchronization on multi-machine setup

Hi! I'm looking into time synchronization on multi-machine setup (that might or might not have access to internet while it's running). Let's assume 3 computers for the time being and no internet...

View Article

start gazebo simulation with non zero clock time

When gazebo start the simulation it publish clock time to /clock topic. Some package use that time as their timestamps. Is there a way to tell gazebo to start counting from another time? px4 firmware...

View Article


Node not receiving update after simulated time is update on /clock topic.

Hello, I am playing a bit with simulated time in ROS. I have one node that serves as the clock server, and another node that will do some calculations. At times it happens that if I start the...

View Article

Pose in stage_ros simulation is incorrect

Environment and package: ------------------------ Ubuntu 16.04, ros-kinetic, [stage_ros](https://github.com/ros-simulation/stage_ros) branch lunar-devel Problem encountered: -------------------- When a...

View Article

Communication between docker and host

Hi Guys, This is with respect to the [q313094](https://answers.ros.org/question/313094/is-clock-being-published/?comment=313100#post-id-313100), I was able to get rid of the ```/use_sim_time is not...

View Article

[ROS2] msg stamp time difference

Hi, I'm trying to assess if the msg is too old by comparing current time and the msg time stamp. rclcpp::Time time_now = rclcpp::Clock().now(); double dt = (time_now -...

View Article



What happens with `/clock` topic if you use Multimaster FKIE to connect two...

If I understand correctly, if you set `use_sim_tim` as true, the Gazebo simulation will use the time that is being published onto `/clock` topic. Now what happens if you are running two simulation and...

View Article
Browsing latest articles
Browse All 55 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>