Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 187 articles
Browse latest View live

Can rqt_graph visualize nodelets?

Hi all, I'm debugging a ROS application that intensively uses nodelets. However, I found that rqt_graph cannot visualize nodelets. Neither can other command line tools such as rostopic. I'm wondering...

View Article


rqt_plot for data in DignosticArray message

I have been trying (unsuccessfully) to plot /diagnostics/status[0]/values[0]/value (a stringified floating point number). Is such a topic string supported by rostopic or rqt_plot ? If so, how do I...

View Article


rosjava nodes isolated and ros tools buggy behavior

I'm trying to connect the android pubsub tutorial of android_core with a master core in my server. https://github.com/rosjava/android_core/tree/indigo/android_tutorial_pubsub I'm using ros indigo,...

View Article

Can't navigate and use camera at the same time

I am working on a project that requires both navigation and object recognition modules. The problem I have is that modules work when they are run individually but as soon as I try to run them...

View Article

How to use the keyboard teleop for programs written in C

I am trying to add keyboard support to some programs written in C++. How would I subscribe to that topic and listen for certain keys?

View Article


read topic without callback

Is there a way to read the last message of a topic wihout using a callback? I mean, the tutorials teach to read a topic assigning a callback in a node, so that whenever a topic updates, the callback is...

View Article

ROS performace as number of topics increase

Hi, I am very curious about how the latency and the communication speed decreases as I increase the number of topics. If I have a package creating 20 topic for control. Is that a good idea? I can make...

View Article

I wang to find the specific data of velocity and position

Hi everyone: I use moveit for my own robot arm.In the Rviz I have my URDF to display already. I want to get the motion information from some topic ,just like the topic /joint_states or /tf. If this...

View Article


How to roslaunch a rostopic echo to text file.

I would like to do something like this from a launch file: rostopic echo -p /mytopic > outputfile.txt I wrote this in the launch file: However, it doesn't work and I received an error like this:...

View Article


rostopic echo shows wrong format of message from arduino

So I made a custom message: odometry_message: Header header int32 encoder1 int32 encoder2 Then I compile in into arduino sketchbook (rosrun rosserial_arduino make_libraries .) I run a python serial...

View Article

Using data from a ROS node in a separate C++/Python program

Suppose there is a user-defined ROS node. I make it publish to a topic. Now i want to use this data published to the topic as input to a C++/Python program. So how do I 1. make the node publish to a...

View Article

Is this RPC communication???

i'm using ssh for ROS network communication. i setted ROS_IP, ROS_MASTER_URI up IP Address that is working roscore. i'm working roscore, roslisp_reql in local. and i'm working turtlesim_node in ssh. Is...

View Article

Network with rosjava RosCore and ubuntu hydro nodes not working

Hi all, I'm trying to run a very simple network consisting of a rosjava MasterServer, and two nodes on a separate Ubuntu 12.04 machine running Hydro. I start the RosCore with the following code: public...

View Article


Using UWSim GPS

Hello, I am a beginner user of UWSim and I was trying to use the GPS sensor. I run "rosrun uwsim uwsim" and the scene with the robot in a tank loads up. I notice that there is a topic "/g500/gps" and I...

View Article

Managing log files

I've noticed that every time I have a new node subscribe to a topic, a new file gets created on .ros/log called rostopic_xxxx_xxxxxxxxxxxxx.log I run rosbag at 1 minute intervals so I create a ton of...

View Article


Nodes stop subscribing over time

I'm running ROS hydro on Ubuntu 12.04. I've written a simple python script that calculates the bandwidth though a network interface and then publishes as an Int16. So there's no data acquisition from...

View Article

Rostopic Hz inaccurate?

Hello everyone. Sometimes when I measure the frequency of messages in a topic, the numbers printed don't make sense. For example: rostopic hz /robot/head/head_state gives: subscribed to...

View Article


Getting list of published topics from within C++ code

I'm using the vicon_bridge node, which publishes a topic "vicon//" for every subject and segment it finds. In this example, consider that it publishes the topics: vicon/subject1/segment1...

View Article

Renaming a topic inside a bag file

When we record a bag file for example X.bag and it contains the topic data /a_topic Is there any way to rename the topics name inside the X.bag /a_topic to /b_topic? Best regards..

View Article

timestamps for ros topics not updating smoothly

I noticed that the timestamps associated with my topics is not updating smoothly. It will go for several messages without changing (or changing by some very small amount), then change a lot all of a...

View Article
Browsing all 187 articles
Browse latest View live


Latest Images