Is it possible to reuse ROS messages?
After calling `publish`, can I reuse the same message object to send a similar message with some small changes? Basically I'm asking if the message is already serialized by the time the `publish`...
View ArticleSubscribe and publish velocity
Hi, I have a code where I want to see the linear velocity of a powered wheelchair and then publish linear velocity to it. An example of the code is: ros::Publisher vel_pub_=n.advertise("cmd_vel", 1);...
View ArticleProblems with static tf publisher
I am using my own URDF file for my custom built robot, the robot is properly visible and moves properly in rviz, If I run the simulation with /odom publisher. But when open the camera nodlet with...
View Articlepublish up wifi
i can't puplish mesage up wifi .. can you help me ? sorry I don't speak English well. thank you
View Articlehow to publish int8,float ...and function ?
i can't publish int8 .. can you help me? #include "ros/ros.h" #include "std_msgs/Int8.h" #include int main(int argc, char **argv) { ros::init(argc, argv, "talker"); ros::NodeHandle n; ros::Publisher...
View Articlehow to publish and sub camera in opencv
i've finished my opencv program ! I want to publish to pc other (LAN) What should I do Here my program opencv /* * roscolor.cpp * * Created on: Sep 5, 2014 * Author: dell */ #include #include #include...
View ArticlePackage to Interact with the turtlebot Simulator in Gazebo.''
How to create a package to Interact with the turtlebot Simulator in Gazebo using software outside, What features I can use to interact with the simulation and turtlebot gazebo, have pretension to...
View Articlepublish odometry code
hi everyone I have two arduino uno boards and i need to connect my encoders to each of them. I have two encoder and i dont want to use shield for them. I use rosserial stack to connect my laptop to...
View ArticleHow to publish a topic on NAO (c++)?
Hello, It's my first time programming with ROS and NAO and I am trying to create a topic speech for NAO. When I write this command in the console rosrun proyects nao_test the program run, but the NAO...
View ArticleAbout Subscriber Structure and “latch” on Publisher
Hi everyone. Recently I met a question when I read something about "latch" in Publisher. On the Publisher wiki page, "latch" is described...
View Articlehow to receive non-const shared_ptr without copies when publishing between...
I have several nodelets sharing a C++ class adapted to ROS message_traits. I'm publishing a non-const shared_ptr to other nodelets. The nodelets expecting a ConstPtr on the callback receive the same...
View ArticleHow to publish topic with old rosbag time?
I first set /use_sim_time to true. Then play the ros bag file. My code subscribe the point cloud in the bag. After some processing, my code publish the processed point cloud. However, the rviz can only...
View ArticleCan a non-usb camera (mounted camera sensor) be published with topic & info?
Hi Experts, I am naive to ROS and its environment. Forgive, if the solution is straight forward. As a task, i need to use a camera sensor (not a USB camera) mounted on my arm based target board. I need...
View ArticleHow to publish ROS program?
Like windows programs, hos to publish a single simple "setup" install package on ROS so that I can reduce server configuration work when transfer to other machine? Is anyone has experience on this...
View ArticlePublish Image msg
Hey all, I'm working on a code which publishes images coming from a camera (atm a video is used for testing). To publish those Images I would like to use the sensor_msgs. In the following is the code I...
View ArticlePublishing an image from disk
Hi! What's te best way to solely stream an image from disk? How do I convert from cv::Mat to proper ROS image message? The relevant snippet would be: cv_bridge::CvImagePtr cv_ptr; cv_ptr->image =...
View ArticleRqt_myPlugin can't subscribe node
Hello guys, I have a GUI as a rqt plugin and I want to subscribe a topic but I can't see my rqt_plugin node on the rqt_graph. The topic which i want to subscribe is in the same machine, which I want to...
View ArticleImplement shared memory data publishing between nodelets
I have a set of 3 nodelets running which publish and subscribe to topics amongst themselves. To optimize the process I want to use the shared memory functionality for zero-copy data being shared...
View ArticleNeed to resolve rosserial rostopic echo chatter not published yet
After uploading the Hello World sketch to my Arduino Uno per the rosserial tutorial, I'm getting this "rostopic echo chatter WARNING: topic [/chatter] does not appear to be published yet". I'm a real...
View ArticleInterprocess publishing slowing down nodelets ?
Hi, I have a node composed of nodelets that does image processing. I use nodelets in order to avoid the overhead of interprocess image transfers which helps a lot. However, while I only use image data...
View Article