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

fabbro's profile - activity

2023-08-19 14:42:35 -0500 received badge  Famous Question (source)
2023-07-14 15:11:51 -0500 received badge  Notable Question (source)
2023-07-14 15:11:51 -0500 received badge  Famous Question (source)
2023-07-13 12:26:51 -0500 received badge  Self-Learner (source)
2023-05-27 04:41:46 -0500 received badge  Nice Question (source)
2023-05-15 19:13:56 -0500 received badge  Famous Question (source)
2023-04-19 04:36:33 -0500 commented question [ROS2] Set 2 different ROS_DOMAIN_IDs for one node

Did you find a solution to this problem? I am really interested.

2023-03-29 01:28:41 -0500 marked best answer video_recorder compressed image

Hi all,

I am trying to get a video from a compressed Image. I saved the data from the camera in a rosbag file called _2016-09-13-02-10-12.bag.

If I do :

rosbag info _2016-09-13-02-10-12.bag.

I get:

path:        _2016-09-13-02-10-12.bag
version:     2.0
duration:    5:10s (310s)
start:       Sep 13 2016 02:10:13.02 (1473725413.02)
end:         Sep 13 2016 02:15:23.30 (1473725723.30)
size:        1.3 GB
messages:    5380
compression: none [1520/1520 chunks]
types:       sensor_msgs/CompressedImage [8f7a12909da2c9d3332d540a0977563f]
topics:      /camera_2/image_raw/compressed   5380 msgs    : sensor_msgs/CompressedImage

So, I play the rosbag by:

rosbag play --pause _2016-09-13-02-10-12.bag

I try to record the video by:

rosrun image_view video_recorder image:="/camera_2/image_raw" _image_transport:="compressed"  _filename:="video.avi"  _max_depth_range:="0" _fps:="30" _codec:="I420"

But the result is that I get:

[ INFO] [1474033858.402189526]: Waiting for topic /camera_2/image_raw...

And every 10s I have something like:

[ WARN] [1474037302.946135179, 1473725424.251391530]: [image_transport] Topics '/camera_2/image_raw/compressed' and '/camera_2/camera_info' do not appear to be synchronized. In the last 10s:
    Image messages received:      153
    CameraInfo messages received: 0
    Synchronized pairs:           0

It doesn't do anything else If I do CTRL+C it tells me:

Video saved as video.avi

But there is no video saved.

I think the error is in the warning message.

Could you help me ?

Thanks.

2023-03-29 01:28:40 -0500 received badge  Teacher (source)
2023-03-29 01:28:40 -0500 received badge  Self-Learner (source)
2022-11-22 05:11:39 -0500 received badge  Popular Question (source)
2022-11-22 05:11:39 -0500 received badge  Notable Question (source)
2022-11-18 09:23:38 -0500 answered a question Unable to locate package ros foxy desktop

I also went (stupidly) through this for a specific reason: I was using ubuntu 20.04 until few weeks ago and I use ROS2 i

2022-11-18 07:57:43 -0500 commented question Ros2doctor: no definition of [python3-ifcfg] for os version [jammy]

I have the same problem. did you solve it?

2022-10-23 19:24:09 -0500 received badge  Popular Question (source)
2022-10-23 19:24:09 -0500 received badge  Notable Question (source)
2022-10-13 05:51:29 -0500 marked best answer Leaf Topics rqt_graph

Moreover, I would like to know what does it mean LEAF TOPIC in ROS because in the rqt_graph user interface there is the option HIDE LEAF TOPICS.

Could someone help me? Thanks a lot.

p.s. When I launch rqt_graph I have the feeling that it doesn't update properly and previous nodes are showed. Of Course I click on refresh time by time. Is there something else I can do?

2022-08-30 16:31:38 -0500 received badge  Popular Question (source)
2022-08-30 14:30:31 -0500 edited question Improvement of allocation of big python list to custom message data field

Improvement of allocation of big python list to custom message data field Short explanation: I am trying to use ROS2 to

2022-08-30 14:29:31 -0500 commented answer Improvement of allocation of big python list to custom message data field

Yes, this is another possibility indeed. I wanted to leave it as a last option since I am not super familiar with C++. I

2022-08-30 11:20:15 -0500 commented answer Improvement of allocation of big python list to custom message data field

After looking a bit more into generators I understood that this is not the place to use them. Generators help when you h

2022-08-30 03:44:45 -0500 commented answer Improvement of allocation of big python list to custom message data field

Thanks for your answer. Generators are indeed the first thing I am investigating since that's what I found browsing the

2022-08-30 03:10:44 -0500 asked a question Improvement of allocation of big python list to custom message data field

Improvement of allocation of big python list to custom message data field Short explanation: I am trying to use ROS2 to

2022-07-05 07:35:33 -0500 commented question Builderror in workspace setup

did you find a solution?

2022-06-11 08:58:14 -0500 received badge  Popular Question (source)
2022-06-10 10:45:33 -0500 received badge  Rapid Responder (source)
2022-06-10 10:45:33 -0500 answered a question Visualize two different pointclouds (PointCloud2) in separate views of rviz2

In the end, I solved the problem. I used a launch file to open several instances of ROS2 and it works quite well, to be

2022-06-10 06:54:42 -0500 asked a question Visualize two different pointclouds (PointCloud2) in separate views of rviz2

Visualize two different pointclouds (PointCloud2) in separate views of rviz2 I have two different pointclouds (PointClou

2022-03-14 12:01:29 -0500 edited question Assign Header stamp.sec/nanosec from external source

Assign Header stamp.sec/nanosec from external source I have data from some simulated sensors generated not for ROS2. I a

2022-03-14 12:01:03 -0500 asked a question Assign Header stamp.sec/nanosec from external source

Assign Header stamp.sec/nanosec from external source I have data from some simulated sensors generated not for ROS2. I a

2022-03-08 01:55:52 -0500 commented question ERROR : ROS2 RUN package not found

Everytime you build a package, always remember to do (from your ROS2 workspace): source install/setup.bash and source /o

2022-03-08 01:43:17 -0500 commented answer ros2: embedding a msg as a field in a custom msg

I was having the same error. My problem was that in the .msg file I had Header header instead of std_msgs/Header header.

2022-02-24 12:20:53 -0500 commented answer How to use pcl_ros with ROS 2 Eloquent?

Is there a way to see where the porting process is at now? Thanks

2022-02-24 09:34:13 -0500 commented question What went wrong with the installation?

Did you source your setup.bash? WIth source /opt/ros/foxy/setup.bash

2022-02-24 03:50:20 -0500 answered a question How to get a versopm of common_interfaces with sensor_msgs_py package

I am not sure that this is a good answer (to me it does not look too clean but maybe it is the only way out for now). I

2022-02-24 03:50:20 -0500 received badge  Rapid Responder (source)
2022-02-24 03:25:28 -0500 asked a question How to get a versopm of common_interfaces with sensor_msgs_py package

How to get a versopm of common_interfaces with sensor_msgs_py package I am using ROS2 foxy on Ubuntu 20.04. I would li

2022-02-22 05:20:18 -0500 commented answer rqt button not show icon

When I open Qt5 I cannot select Tango. It shows up but if I click nothing happens. How did you select Tango in the "Icon

2022-02-07 15:43:41 -0500 marked best answer ROS_WARN not able to print std::string

Dear All,

I want to print in a ROS WARNING a string. But I am not able to do that.

Someone of you could help me please?

What I am doing is the following:

std::string topicNameTrajInput ="TopicRos";

ROS_WARN(topicNameTrajInput);

Any ideas why this doesn't work? Thanks a lot.

2022-02-01 15:29:13 -0500 commented answer Coloring point clouds from images - how to match 3Dpoint/pixel efficiently?

what does it mean exactly: "the same pixel raster"?

2021-11-29 08:55:54 -0500 marked best answer rospack 2dnav_pr2

I was trying to follow this Tutorial: http://wiki.ros.org/ROS/Tutorials/Ros...

And when There is written to do :

******@************:~$ rospack find 2dnav_pr2/move_base/2dnav_pr2.launch

I have the following error:

[rospack] Error: package '2dnav_pr2/move_base/2dnav_pr2.launch' not found

Someone could help me to solve this problem?

I know that probably it is an easy one but I am not able to go on.

Thanks for your help.

2021-07-19 11:20:36 -0500 marked best answer Graphically monitor CPU - RAM etc over ROS

Hi,

I am using an ODROID-XU4 on a quadrotor. On the ODROID is running ROS. To the Odroid is also connected to a camera flea3 by PointGrey. I am launching the pointgrey node to connect to the camera and it is working fine.

I am not sure but it seems that when I increase the frequency of acquisition of the camera (from 30 Hz and greater) the quadrotor becomes a bit unstable. It does not happen all the time but sometime. Because I don't know where this behavior is coming from I thought that it could come from the CPU/RAM which are working too much.

For this reason I was thinking if there is some tool which enables to store a rosbag file which then can be easily plotted to check the allocation of RAM and CPU when the frequency changes.

Thanks in advance for your help.

2021-07-15 05:57:38 -0500 received badge  Famous Question (source)
2020-11-05 03:11:30 -0500 commented answer Changing parameters with Python

Hi, do you know if this still holds for the current mavros version? Thanks!

2020-07-09 02:28:42 -0500 commented question Debugging - TCP/IP connection failed errors

Did you solve this error? I have the same problem.