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

Sapodilla's profile - activity

2023-05-25 19:09:50 -0500 received badge  Famous Question (source)
2021-07-31 11:34:58 -0500 received badge  Famous Question (source)
2021-05-25 06:10:28 -0500 received badge  Notable Question (source)
2021-04-24 09:45:43 -0500 received badge  Nice Answer (source)
2021-04-24 09:45:38 -0500 received badge  Student (source)
2020-11-16 13:45:03 -0500 received badge  Notable Question (source)
2020-11-16 13:45:03 -0500 received badge  Popular Question (source)
2020-07-24 07:59:53 -0500 received badge  Famous Question (source)
2020-07-24 07:59:53 -0500 received badge  Notable Question (source)
2020-07-24 07:59:53 -0500 received badge  Popular Question (source)
2020-05-15 02:05:13 -0500 received badge  Famous Question (source)
2020-04-02 09:54:11 -0500 asked a question Publisher and subscriber have more than one Datawriter and Datareader as default

Publisher and subscriber have more than one Datawriter and Datareader as default Hi everyone, I am investigating the D

2020-03-26 12:49:40 -0500 received badge  Famous Question (source)
2020-03-26 12:49:40 -0500 received badge  Notable Question (source)
2020-03-26 12:49:40 -0500 received badge  Popular Question (source)
2020-03-12 06:27:24 -0500 asked a question Error when profiling ROS2 with perf record

Error when profiling ROS2 with perf record Hi everyone, As stated in the title, I would like to do some profiling with

2020-03-06 03:45:49 -0500 received badge  Popular Question (source)
2020-03-04 22:46:07 -0500 marked best answer ROS2 QoS callback function

Hi everyone,

First of all, I just learned about ROS2 so I am not so familiar with it. Also, I apologize for my bad English.

I am now working on how to implement QoS in my subscription. I have a little bit experience on eProsima FastRTPS and I did manage to run publisher and subscriber with QoS policies. Thus, I expected ROS2 works quite the same way. Here I want to have a deadline policy with a callback function. However, I were lost while trying to set up the callback because in FastRTPS, it has publisher/subscriber listener, which handles all the event callback functions. In ROS2, I do not know where and how to put or configure callback function. I had a look in SubscriptionEventCallbacks class but it did not work (maybe I set it wrongly). After searching on internet, I have not had any clue yet.

Below is a part of my code trying to configure QoS (I am also not expert on C++ and I am learning it, so feel free to put any comment):

Listener(): Node("Listener_node") // Constructor
{
rclcpp::QoS qos_profile(10);
std::chrono::milliseconds deadline_time(1000);
qos_profile.deadline(deadline_time);
Subscription = this->create_subscription<std_msgs::msg::String>("topic",qos_profile,std::bind(&Listener::callback,this,std::placeholder::_1));
}

Any recommendation, comment or hint is welcomed!

Thanks

2020-03-04 22:44:40 -0500 received badge  Notable Question (source)
2020-03-03 02:22:27 -0500 commented answer Does ROS2 support keyed topic?

Thanks Steven! Since your answer is sufficient for me, I mark it as correct one.

2020-03-03 02:21:25 -0500 marked best answer Does ROS2 support keyed topic?

Hi everyone,

As stated in the title, does ROS2 have topic with keys? I have been studying ROS2 for few weeks and I have looked around but cannot find anywhere stating about keyed topic in ROS2.

Maybe I have missed something or ROS2 uses this properties in a different way. Thanks in advance for any answer!

Cheers!

2020-03-03 02:21:25 -0500 received badge  Scholar (source)
2020-03-03 02:21:22 -0500 received badge  Supporter (source)
2020-03-02 02:38:14 -0500 asked a question Does ROS2 support keyed topic?

Does ROS2 support keyed topic? Hi everyone, As stated in the title, does ROS2 have topic with keys? I have been studyi

2020-03-02 02:23:42 -0500 received badge  Popular Question (source)
2020-02-26 22:39:40 -0500 received badge  Self-Learner (source)
2020-02-26 22:39:40 -0500 received badge  Teacher (source)
2020-02-26 09:35:33 -0500 answered a question ROS2 QoS callback function

To whoever struggles the same problem as me, for having your callback function for QoS, specify the callback function in

2020-02-26 09:35:33 -0500 received badge  Rapid Responder (source)
2020-02-26 09:30:53 -0500 commented question ROS2 QoS callback function

Hi Steven, sorry for my late response. I already found the solution for my issue a few second before typing this comment

2020-02-26 09:30:25 -0500 commented question ROS2 QoS callback function

Hi Steven, sorry for my late response. I already found the solution for my issue a few second before typing this comment

2020-02-25 06:26:57 -0500 asked a question ROS2 QoS callback function

ROS2 QoS callback function Hi everyone, First of all, I just learned about ROS2 so I am not so familiar with it. Also,

2020-01-21 18:48:56 -0500 received badge  Famous Question (source)
2019-12-19 03:07:10 -0500 received badge  Notable Question (source)
2019-11-07 07:23:12 -0500 received badge  Enthusiast
2019-11-06 04:26:44 -0500 received badge  Popular Question (source)
2019-11-05 14:06:13 -0500 commented answer Learning about pointcloud, pointcloud2 data

Thanks a lot! That is very helpful. I will keep that in mind.

2019-11-05 13:44:02 -0500 commented answer Learning about pointcloud, pointcloud2 data

Thanks for your confirmation! How about my question about data and field in pointcloud2? By the way, I checked the width

2019-11-05 13:39:29 -0500 edited question Learning about pointcloud, pointcloud2 data

Learning about pointcloud, pointcloud2 data Hi everyone, I am doing a project implementing VLP-16 lidar from Velodyne.

2019-11-05 09:01:12 -0500 asked a question Learning about pointcloud, pointcloud2 data

Learning about pointcloud, pointcloud2 data Hi everyone, I am doing a project implementing VLP-16 lidar from Velodyne.

2019-10-08 11:42:53 -0500 asked a question Error when installing velodyne lidar on ROS

Error when installing velodyne lidar on ROS Hi, I am freshly new to ROS, so forgive if I ask inappropriate question and