Skip to main content

Questions tagged [rostopic--pub]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
51 views

ROS1 Noetic Custom messages - Command line publish char[]/uint8[] support

I have a custom ROS1 Test.msg message which I use in roscpp Noetic: uint8[] a uint8[] b I use uint8[] to represent strings, because I can't use simple string type ...
Enikő's user avatar
  • 11
0 votes
1 answer
17 views

rostopic pub geometry_msgs/PoseArray example

Can anybody give me an example of geometry_msgs/PoseArray message using rostopic pub? I keep on getting errors when i try and interpret the syntax from the ROS documentation, a solid example would be ...
user avatar
0 votes
1 answer
54 views

Command line: rostopic pub - why is required specify a topic type?

I'm unsure why i must specify a rostopic type, while invoke a rostopic pub command. rostopic pub /topic type [args...] I think, ...
abrzozowski's user avatar
0 votes
1 answer
3 views

Publish imu topics using logged data

Hi, I have a txt file which contains sensors (GPS, Accelerometer, Gyroscope, Magnetic Field) reading along with a time stamp. How do I write a node to publish these data as topics? Ultimately I want ...
user avatar
0 votes
1 answer
14 views

ROS message sent but not received

I'm using ROS in my project and I need to send one message from time to time. I have this function: ...
user avatar
0 votes
2 answers
5 views

Unable to stop publishing on a topic (Resolved)

Hi, I want to stop publishing a message to a topic after 20 iterations. For that I have written the following piece of code, but however the counter reaches to 20, the program is still publishing the ...
user avatar
0 votes
1 answer
1 view

Topic publish/subscribe problem after running dist-upgrade on ROS Hydro

After running apt-get dist-upgrade on ROS Hydro, simulated robot is not responding to published messages. The simulator is running perfectly. The code/topics are working fine on Turtle-bot (hardware) ...
user avatar
0 votes
3 answers
22 views

read cmd_vel commands from a text file

Hello all, Please, note that I'm a beginner in ROS. I'm using the turtlebot robot in gazebo. I know how to send a velocity command from the terminal, e.g., move forward 1m/s. But, What I would like is ...
user avatar
0 votes
1 answer
8 views

Publishing to topic /joint_angles

I was unsure about how to publish a message to joint_angles topic. These are the commands which I have run till now, all in different terminals: roscore ~/naoqi/naoqi-sdk-1.12.5-linux32/naoqi --...
user avatar
0 votes
1 answer
4 views

Unable to do teleop

Hi all, I am unable to move husky (even the teleop operation). The pc connected in husky has fuerte installed in it. When I try to run husky from my pc, which has electric in it, it isn't working. The ...
user avatar
0 votes
1 answer
1 view

argument problem to publish msg to a certain topic

hello. i roslaunch a turtlebot in an empty world, and i am trying to send data in a topic but i am having a problem. the topic is /gazebo/set_model_state, which have a type of gazebo_msgs/ModelState. ...
user avatar