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

ReneGaertner's profile - activity

2022-03-03 11:30:32 -0500 received badge  Favorite Question (source)
2017-10-26 16:49:12 -0500 received badge  Nice Question (source)
2016-12-04 13:21:17 -0500 received badge  Student (source)
2015-07-15 14:35:04 -0500 received badge  Famous Question (source)
2015-07-09 07:28:12 -0500 received badge  Famous Question (source)
2015-06-10 07:04:22 -0500 received badge  Notable Question (source)
2015-04-17 03:54:49 -0500 commented question Add Ros library to qt creator

Hi, i not complete get your exact question, do u want to use qtcreator to build ros? and then add your Base as a Lib to use it in other ROS-Packages? What Version of ROS you are using? seems not to be catkin already or?

2015-04-17 02:20:33 -0500 commented question Setting class method callback from within object (C++)

Does your Object exists at the time the callback is triggered? if you already left the Object, Ros ll generate a new one.

Did u tried it with a static std::string?

2015-04-13 10:40:22 -0500 received badge  Popular Question (source)
2015-03-23 12:02:47 -0500 asked a question Rosbag Record in Launch File to run_id Log location

Hi,

i m just trying to record a .bag for one Topic in a ros .launch File to the log folder of the run_id.

to record is no problem but i want that it ll be recorded directly to the folder where it also saves the .log files from the started nodes.

If i start a Node in the launch file all logs are written to

/.ros/log/run_id/

e.g. /.ros/log/75232c28-d176-92d8-00032d18db0a

thats changes for every new start of roslaunch

now i want that the bag file is also saved in this log folder

with <node pkg="rosbag" type="record" name="test_record" args="-O mytest_record /test_topic" />

i only can record to /.ros/

can anyone help me on this launch problem?

thanks René

2015-03-02 02:53:41 -0500 commented answer Convert Protobuf Message to ROS Message

i m just going that way, i have a file with the mapping options and search for my topic name to find which one is for which other message, than i choose the 2 header files of the message and fill them to each other. At the moment it s not working but seems to be a good way to do it.

2015-03-02 02:51:31 -0500 commented answer Convert Protobuf Message to ROS Message

tried, hadn t enough characters :)

2015-03-02 02:50:47 -0500 received badge  Notable Question (source)
2015-02-27 05:43:16 -0500 answered a question Convert Protobuf Message to ROS Message

Hey tfoote,

thanks for the answer, yes of course i can do that, and badly if there is no other option i have to do it that way :)

i just hoped that there is a more generic option, cause the income protobufs and the outgoing rosmessages ll change much during development process and i don t want to change it all the time by hand.

best regards René

2015-02-27 05:41:27 -0500 received badge  Popular Question (source)
2015-02-25 12:33:07 -0500 asked a question Convert Protobuf Message to ROS Message

Hi,

i just got the issue, that my incoming message (via an external libary) is in Protobuf 2.5 format.

i got those .proto files and let them generate in catkin_make

now i need a gateway function cause already existing nodes need the data as ros message those are generated via the .msg files

the .proto files have the same internal stuff than the .msg file

as example the .proto file:

package Grid
message MsgExample
{
optional float f_A = 10 [default = - 66666.0];
optional float f_B = 20 [default = - 55555.0];
optional int32 i_A = 1 [default = 0];

and my ros message looks like:

#MsgExample

float32 f_A
float32 f_B
int32 i_A

is it possible to directly copy the to each other?

not only one by one, cause in some cases these are really big number of different variables inside of a message.

at the moment i have to do for every message

ros_message::MsgExample myRosMessage;

    Grid::MsgExample myProtoMessage
   // this data i get from a callback (not important for my question where the data coming from)

    myRosMessage.f_A = myProtoMessage .f_a();
    myRosMessage.f_B = myProtoMessage .f_b();
    myRosMessage.i_A = myProtoMessage .i_a();

to publish the ros message later

is need something to directy publish the protobuf message as ros message or to only do it with one operation like

myRosMessage = myProtoMessage

is this possible?

thanks for your help and intrest best regards Rene Gaertner