ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

bzt's profile - activity

2012-11-14 07:56:41 -0500 received badge  Famous Question (source)
2012-11-14 07:56:41 -0500 received badge  Notable Question (source)
2012-09-11 12:07:24 -0500 received badge  Famous Question (source)
2012-09-11 12:07:24 -0500 received badge  Notable Question (source)
2012-08-18 20:24:22 -0500 received badge  Famous Question (source)
2012-07-13 22:25:37 -0500 received badge  Popular Question (source)
2012-07-07 22:40:44 -0500 received badge  Notable Question (source)
2012-05-24 03:20:18 -0500 received badge  Popular Question (source)
2012-04-24 08:12:23 -0500 received badge  Popular Question (source)
2012-02-28 08:53:40 -0500 received badge  Student (source)
2012-02-28 08:20:58 -0500 commented answer ROS subscriber integration

Fixing the headers with "extern "C" {(headers here)}" and converting some data types to c++ solved the issue! (Changing the extension to .cpp) Thanks!

2012-02-27 08:49:17 -0500 commented answer ROS subscriber integration

I've edited my original post to reflect the error I'm now getting after attempting this method.

2012-02-27 08:26:26 -0500 commented answer ROS subscriber integration

Gotcha, the program works up to step 3, where I need to include ros/ros.h right? How do I include ros.h? Will i make the program with "gcc progam.c -m32" or with a "rosmake program" command ?

2012-02-27 08:00:53 -0500 asked a question ROS subscriber integration

Hi,

I have a 32-bit C program that sends data over UDP to a windows GUI. I need to integrate a simple ros subscriber node into the program to subscribe to a node publishing a joy message. I've had no luck following the tutorials or methods I've been able to find. What is the normal method for doing such a task?

I've checked a couple of Q/A already, such as: http://answers.ros.org/question/3277/wrap-existing-crrcsim-project-in-ros with no luck.

EDIT:

After making a new project, adding the file to the CMakeLists.txt, and adding ros.h to the c program, I get the following error:

In file included from /opt/ros/electric/stacks/ros_comm/utilities/rostime/include/ros/time.h:53:0, from /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/include/ros/ros.h:38, from .../ros_workspace/project_1/src/project_1.c:26:

/opt/ros/electric/stacks/ros_comm/utilities/cpp_common/include/ros/platform.h:55:18:

fatal error: string: No such file or directory

2012-02-24 08:56:26 -0500 commented answer Custom Message Creation

Thanks! I thought this was the source of my error, but I see it successfully generated the msg_gen folder and files in the package folder.

2012-02-24 08:50:31 -0500 asked a question Custom Message Creation

I've followed the ros tutorial for creating a custom message, but I'm unsure as to where to put it. Does it go in ros_workspace/package/msg/CustomMessage.msg? Or does it go into opt/ros/electric/stacks? If so, where exactly?

I'm making a node to publish a Vehicle.msg message filled by the Joy driver. I'm using the turtle_teleop_joy tutorial as my base. I need the custom message to define the axes.

2012-02-15 06:23:51 -0500 received badge  Scholar (source)
2012-02-13 09:06:01 -0500 commented answer Sending data stream to c++ Struct

Thanks! If I were to use RoS for Windows, so that RoS would already handle the networking/communication, how would I pull that data stream from Windows RoS to put it in a seperate C++ struct?

2012-02-13 09:05:11 -0500 received badge  Supporter (source)
2012-02-13 08:49:20 -0500 received badge  Editor (source)
2012-02-13 08:48:34 -0500 asked a question Sending data stream to c++ Struct

Hi,

I'm looking to use the a Data Stream from RoS to fill out a C++ Struct for visual output on a Windows GUI.

Currently, the data would go from being published on Ubuntu to a listener on Windows, then the data needs to be put into the C++ struct. I'm not sure how to accomplish that last bit. How would you normally move a data stream to a usable output (outside of RoS)?

Thanks for any help!