ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-08-11 05:13:22 -0500 | received badge | ● Teacher (source) |
2021-08-11 05:13:22 -0500 | received badge | ● Self-Learner (source) |
2021-06-16 07:04:47 -0500 | received badge | ● Famous Question (source) |
2021-05-11 20:15:32 -0500 | received badge | ● Notable Question (source) |
2021-04-28 00:50:45 -0500 | received badge | ● Popular Question (source) |
2021-04-27 09:20:26 -0500 | marked best answer | Issue subscribing to topic that is populated from libgazebo_ros_ray_sensor.so I have created a ray sensor in my Gazebo SDF file. This sensor includes the following plugin defined: In my ROS2 node c++ file, i use the following to subscribe to the /ray/range topic: ray_sub = this->create_subscription<sensor_msgs::msg::range>( "ray/range", 1, std::bind(&DVL::setRayData, this, std::placeholders::_1)); I put a simple print statement in the setRayData() function. When I run my test world with the ray sensor model and my ROS2 node, it never makes it to the setRayData() function. In a terminal: ros2 topic list has /ray/range included ros2 topic echo /ray/range shows the data and it is updating at the appropriate rate Am I missing something unique that may be needed in the node when using the gazebo_ros sensor plugins available? FYI: ROS2 Foxy, Gazebo 11 |
2021-04-27 09:01:51 -0500 | answered a question | Issue subscribing to topic that is populated from libgazebo_ros_ray_sensor.so The queue argument in the create_subscription() needs to be of type rclcpp::SensorDataQoS(). The following works: ray_ |
2021-04-27 09:01:51 -0500 | received badge | ● Rapid Responder (source) |
2021-04-26 12:24:01 -0500 | asked a question | Issue subscribing to topic that is populated from libgazebo_ros_ray_sensor.so Issue subscribing to topic that is populated from libgazebo_ros_ray_sensor.so I have created a ray sensor in my Gazebo S |
2021-03-13 08:02:11 -0500 | received badge | ● Notable Question (source) |
2021-03-04 07:04:58 -0500 | received badge | ● Popular Question (source) |
2021-03-03 10:50:40 -0500 | asked a question | Approach to convert from ROS2 to robot specific communication protocols when your robot does not run ROS? Approach to convert from ROS2 to robot specific communication protocols when your robot does not run ROS? We are using R |