ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2023-01-22 09:35:04 -0500 | received badge | ● Nice Question (source) |
2023-01-22 09:34:59 -0500 | received badge | ● Self-Learner (source) |
2023-01-22 09:34:59 -0500 | received badge | ● Necromancer (source) |
2022-01-24 05:57:13 -0500 | received badge | ● Enthusiast |
2022-01-13 09:51:10 -0500 | marked best answer | ROS2/create_subscription: How to pass callback arguments In ROS 1, I was able to pass arguments to the callback function of a subscriber: rospy.Subscriber(topic_name, type, call_back, call_back_arg) How can I do this in ROS2? My goal is to pass the name of the topic. Because I have a single call back for many topics and when the callback is invoked, I need to know what topic called it. It there a better way to find this? Thank you |
2021-12-27 16:31:29 -0500 | commented question | ROS2/create_subscription: How to pass callback arguments Please see the below answer |
2021-12-27 15:51:43 -0500 | answered a question | ROS2/create_subscription: How to pass callback arguments One of the ROS2 developers, "Ivan Santiago Paunovic", answered this question as following: You can easily solve this us |
2021-10-08 08:36:23 -0500 | received badge | ● Good Question (source) |
2021-08-17 04:18:22 -0500 | received badge | ● Nice Question (source) |
2021-05-08 14:22:13 -0500 | received badge | ● Famous Question (source) |
2021-01-28 00:33:41 -0500 | received badge | ● Famous Question (source) |
2020-12-15 17:36:05 -0500 | received badge | ● Notable Question (source) |
2020-10-19 13:22:34 -0500 | received badge | ● Student (source) |
2020-10-13 07:19:00 -0500 | commented answer | topic name inside the callback This is very handy in ROS1 and I always use it. It seems this "callback_argsis" is not available in ROS2 in "create_pu |
2020-10-13 07:18:42 -0500 | commented answer | topic name inside the callback This is very handy in ROS1 and I always use it. It seems this "callback_argsis" is not available in Ros2 in "create_pu |
2020-10-10 12:50:20 -0500 | received badge | ● Popular Question (source) |
2020-10-08 03:49:13 -0500 | received badge | ● Teacher (source) |
2020-10-07 09:35:07 -0500 | answered a question | ROS remote master: can see topics but no data Assume robot IP is = 192.168.1.10 and remote PC IP is 192.168.1.20 On the robot (the ROS master) run the following comm |
2020-10-07 09:35:07 -0500 | received badge | ● Rapid Responder (source) |
2020-10-06 15:57:29 -0500 | asked a question | ROS2/create_subscription: How to pass callback arguments ROS2/create_subscription: How to pass callback arguments In ROS 1, I was able to pass arguments to the callback functio |
2019-09-19 07:14:27 -0500 | received badge | ● Notable Question (source) |
2019-09-19 07:14:27 -0500 | received badge | ● Popular Question (source) |
2019-07-23 10:28:56 -0500 | asked a question | How to manage clients connecting to rosbridge? How to manage clients connecting to rosbridge? Hello experts. How can I manage and control the clients that join the ro |
2019-02-26 03:00:56 -0500 | received badge | ● Famous Question (source) |
2019-02-26 03:00:56 -0500 | received badge | ● Notable Question (source) |
2019-02-09 03:04:52 -0500 | answered a question | Kill other roscore/master processes on bourn shell I had this issue because the roscore was started as a service. The only way to kill it was to stop the service using: $ |
2018-02-12 16:29:43 -0500 | received badge | ● Popular Question (source) |
2017-12-06 14:17:47 -0500 | asked a question | Planar joint in RVIZ Planar joint in RVIZ Has anyone been able to to make a planar joint. Imagine I have a base link and another link on top |
2017-12-06 14:17:47 -0500 | asked a question | Planar joint in RVIZ Planar joint in RVIZ Has anyone been able to to make a planar joint. Imagine I have a base link and another link on top |