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

How do Publisher/Subscriber Message Queues Work?

Hi all, I can't seem to find any documentation on this, but it I want to understand more deeply how messaging queues work. My understanding is that each node has its own publisher and subscriber...

View Article


Can`t publish point array msg and there is no error info

this is my msg file: **point msg: trajectory_point.msg** # time information Header header # the perception object id int32 object_id # x,y donates the position of the object float64 x float64 y float64...

View Article


Avoid sending octomap via message

Hey guys, is there a way to transfer a octomap between two nodes without using ROS messages? Due to high processing time I sourced out the octomap creating - and need the processed octomap in my main...

View Article

Transfer octomap w/out ROS Message

Hey guys, is there a way to transfer a octomap between two nodes without using ROS messages? Due to high processing time I sourced out the octomap creating - and need the processed octomap in my main...

View Article

Python ros multiple publisher

Hello, I'm working on two pioneer 3dx, and i'm trying to make one follow the other. To do that I must first publish a cmd_vel/Twist to my master robot and then publish another cmd_vel/Twist to my slave...

View Article


One time publish executable

Hi, Im trying to use a specific node (program A) as a test program being executed once taking the value to be published on a topic (lets call it "foo"). Program B is already subscribed to this topic...

View Article

The question about ros::publisher and ros::subscriber

I want to achieve receiving and transform data using rostopic at the same time or in a low time. I know that ros::subscriber can subscribe rostopic and receive the data included in topic. So I hope to...

View Article

Setting rviz topic (publish )

I'm trying to view a .pcd file with rviz. I wrote a little script to read the file and than publish it. (Yes I included way to many headers) #include #include #include #include #include #include...

View Article


writing a publisher and subscriber and unsure how to finish it

I am taking this edx course on robotics using ROS and our first project is "writing a node that subscribes to a topic and publishes to another. Your code will subscribe to a topic called 'two_ints',...

View Article


How can i publish/store all the selected point by tool 'select' on rviz?

I've tried the turbo-ros-pkg ... it did not work... and always 'Segmentation fault' in the terminal btw i'm running kinetic have anyone solved the problem?

View Article

How to record NovAtel Raw Observation data in binary for post-processing

New here, is there a way to record raw binary data to a bagfile without using a ROS standard message? I would like to post-process using RTKLIB. Thank you

View Article

Is there an option for a blocking publish() if any subscriber's queue is full?

I have an application where several image processing nodes need to be fed by previously recorded video as fast as possible, but without dropping any frames. To keep memory overhead down, I'm using...

View Article

ROS publish/subscribe queues

We have two nodes in our system where one node publishes frames from the inbuilt camera and the other processing node takes the image and shows it using imshow in opencv. The messages are essentially...

View Article


Rosbridgelb: Received a message without op

I'm using ROSBridgelb to publish "OccupancyGrid Message" from Unity to ROS. However I'm always getting the "Received a message without op" error. I made sure that there is no problem with all brackets,...

View Article

PYTHON + ROS + V-REP

Hi I have got a problem with publish data. I want to publish msg.linear.x and msg.linear.y to V-REP via ROS. When I write in terminal rostopic pub -1 /cmd_vel geometry_msgs/Twist '{linear: {x: -3.0, y:...

View Article


Are ROS2 messages guaranteed to be received by a Subscriber in the same order...

According to https://github.com/ros2/ros2/wiki/About-Quality-of-Service-Settings it's possible to vary the QoS settings of History, Depth, Reliability and Durability. However, I can't find any mention...

View Article

Return a value from a callback function

Hello ! I want to have a value to be returned when I call a callback function while subscribing to a topic. I am using ROS-Hydro I have wrote a demo code that what I want. Please also suggest some new...

View Article


Not able to echo topics published on separate computer with rosmaster

Hello, rostopic echo /turtle1/cmd_vel on my slave computer outputs nothing after using rostopic pub -r 1 /turtle1/cmd_vel geometry_msgs/Twist -- '[2.0 ,0.0, 0.0]' '[0.0, 0.0, 1.8]' on my master over...

View Article

ros_tutorials roscpp talker/listener loses first message or two

This must've been seen before...I ran into it while trying to track down a lost message from a command-line app which publishes one message then exits. I'm running ros kinetic on Ubuntu 16.04.4. My...

View Article

Accessing previous estimated joint states of a robot

Hi, I am new to ROS and I am trying to implement a Kalman filter for estimating the joints velocity and acceleration of a robotic manipulator. The angular position of each joint is published to the...

View Article

Daisy-chained motors' publish rate is slow: dynamixel_workbench

I am running ROS kinetic on Ubuntu 16.04.3 LTS (and kernal name 4.13.0-32-generic). I am working with the dynamixel_workbench stack. Specifically, I have a MX-106, an MX-64, and another MX-64...

View Article


Reducing the publishing rate of a topic from RosLaunch

Hi there, I have a custom-built robot which I am trying to control with move_it. I have written the urdf and generated the srdf using the move_it setup assistant. All the topics from my URDF are being...

View Article


ROS Serialization Values Error

Hi there, I am trying to do a simple ipc over ros serial using the publish subscribe module. The data is a 2D array shaped thus: `10001 x 7`. I write my poublisher like so import rospy from...

View Article

hz of our sensor's the topic was DECREASED, When I record some data with rosbag.

Hello, experts. I used rosbag to acquire our sensor data as camera, lidar. You can reference below spec. Camera Node : 1980x1208 (FHD, RGB), 20 hz Lidar Node : 64 Channel, 20 hz I recorded topics on pc...

View Article

"wrong checksum for id and message" when using interrupts to read ultrasonic...

I am using interrupts to read from ultrasonic sensors on a Teensy 3.5 board. When I publish data I get a stream of "wrong checksum for topic id and message" warnings. I will also occasionally get...

View Article


How to use publish and use multiple sonar range_msg data (using rosserial) on...

Hi, I am learning ROS by developing a differential drive collision avoidance robot. (Specifically the Parallax ARLO Robot). I have written a code that can publish one ping sensor's range value to a...

View Article

check if topic is being published to without subscribing

In our project we want to write a node to check sensor nodes for possible errors. One of the checked criterion is, if the topics of the node are actually published and not just have publisher. **Is it...

View Article

How to publish a ROS2 message in a Linux Terminal

In ROS1, when publishing a message in a terminal (such as in [this question](https://answers.ros.org/question/218818/how-to-publish-a-ros-msg-on-linux-terminal/)) when typing rostopic pub -r 10...

View Article

Tutorial for Image Publisher/Subscriber in Python (Video Stream)

Is there any tutorial or code for image publisher/subscriber in Python?...

View Article



what if computation complexity cannot meet the demand of callback frequency

According to the totorials, the callback function frequency is dependent on the its subscribing topic frequency. What will happen if the callback function is very complex and the computation time is...

View Article
Browsing latest articles
Browse All 99 View Live