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

jwin's profile - activity

2020-08-09 09:44:40 -0500 received badge  Famous Question (source)
2020-08-09 09:44:40 -0500 received badge  Notable Question (source)
2020-08-09 09:44:40 -0500 received badge  Popular Question (source)
2020-06-23 17:13:06 -0500 received badge  Famous Question (source)
2020-03-01 07:45:12 -0500 received badge  Notable Question (source)
2020-03-01 07:45:12 -0500 received badge  Popular Question (source)
2019-07-18 05:06:36 -0500 marked best answer View text files of ROS logs in color

Sometimes we save our ROS logs as text files and view them later when we need them. However, it can be difficult to parse everything when it's not in color. Is there any built-in ROS solution for view ROS log text files in the normal stdout color?

2019-07-17 16:46:14 -0500 asked a question View text files of ROS logs in color

View text files of ROS logs in color Sometimes we save our ROS logs as text files and view them later when we need them.

2019-07-09 03:55:47 -0500 marked best answer Message size with defined constants

Hi all. Was just wondering if message enum constants get included in the message size. For example, if I have a message that has a uint8 constant defined to be 1 and then the actual uint8 payload, would the message take up 8 bits or 16 bits?

2019-07-09 03:55:33 -0500 commented answer Message size with defined constants

Ah I see that's perfect then since the network bandwidth will only consist of the actual payload (except for the initial

2019-07-08 16:50:39 -0500 asked a question Message size with defined constants

Message size with defined constants Hi all. Was just wondering if message enum constants get included in the message siz

2019-04-23 11:38:14 -0500 marked best answer Understanding registerCallback() from TF MessageFilter tutorial

I'm going through the TF MessageFilter tutorial and I understand the code except for line 13:

tf_filter_->registerCallback( boost::bind(&PoseDrawer::msgCallback, this, _1) );

I'm more of a novice when it comes to using the boost libraries, but after reading some documentation, it seems that this line is creating a function object that equates to something of this form: msgCallback(this, _1) where this is the PoseDrawer object and _1 is a placeholder that will be substituted with the first argument provided to the function object (which I'm assuming is done by the TF library under the hood).

What I'm confused about is how you know to provide the this object and that the callback function needs an _1 placeholder. Is the _1 simply because the callback function (shown below) only takes one argument? If my callback function had no parameters, would I just remove the _1 argument when calling the function? Why is the this object necessary?

void msgCallback(const boost::shared_ptr<const geometry_msgs::PointStamped>& point_ptr)
2019-04-23 11:38:14 -0500 received badge  Scholar (source)
2019-04-22 09:36:33 -0500 received badge  Famous Question (source)
2019-01-16 01:57:18 -0500 received badge  Notable Question (source)
2019-01-03 02:52:28 -0500 commented answer c++ : one file class-in-node to three files class, node, and header

@Wolf thanks it worked great. I know this post is old now, but which of the two options do you recommend? Linking to a s

2018-12-30 03:53:34 -0500 received badge  Enthusiast
2018-12-29 11:49:14 -0500 received badge  Popular Question (source)
2018-12-29 11:30:34 -0500 commented question Understanding registerCallback() from TF MessageFilter tutorial

Ok sorry about that. Do you think I should post this somewhere else? I posted here because this was code directly given

2018-12-29 11:29:58 -0500 commented question Understanding registerCallback() from TF MessageFilter tutorial

Ok sorry about that. Do you think I should post this somewhere else? I posted here because this was code directly given

2018-12-29 11:28:46 -0500 commented question Understanding registerCallback() from TF MessageFilter tutorial

Also, I looked at the Lambda functions tutorial you linked. Could you specify how my question is related? I don't think

2018-12-29 11:26:50 -0500 commented question Understanding registerCallback() from TF MessageFilter tutorial

Ok sorry about that. Do you think I should post this somewhere else?

2018-12-29 03:38:04 -0500 asked a question Understanding registerCallback() from TF MessageFilter tutorial

Understanding registerCallback() from TF MessageFilter tutorial I'm going through the TF MessageFilter tutorial and I un

2018-12-29 01:51:30 -0500 edited answer turtle_tf_sensor.launch error

I also have this issue and I'm running ROS kinetic. However, according to this post, the user found the turtle_tf_messag

2018-12-29 01:51:30 -0500 received badge  Editor (source)
2018-12-29 01:38:28 -0500 answered a question turtle_tf_sensor.launch error

I also have this issue and I'm running ROS kinetic. However, according to this post, the user found the turtle_tf_messag

2018-12-23 21:34:59 -0500 commented question rossrv show tab complete

Ok thanks for the help. I'll give that a shot if my workaround starts to get annoying.

2018-12-23 03:30:46 -0500 received badge  Popular Question (source)
2018-12-22 15:25:21 -0500 commented question rossrv show tab complete

Right I've tried that too. In that case, <tab tab=""> doesn't produce any output (it doesn't tab-complete to anyth

2018-12-22 14:02:31 -0500 commented question rossrv show tab complete

Sorry I should have been more clear. rossrv show does have tab completion support, but it shows the output above. When I

2018-12-22 14:02:07 -0500 commented question rossrv show tab complete

Sorry I should have been more clear. rossrv show does have tab completion support, but it shows the output above. When I

2018-12-22 13:59:13 -0500 commented question rossrv show tab complete

I'm using ROS Kinetic and I'm running Ubuntu 16.04 on an x86 laptop. I installed ROS the way it was mentioned on the ROS

2018-12-22 13:58:52 -0500 commented question rossrv show tab complete

I'm using ROS Kinetic and I'm running Ubuntu 16.04 on an x86 laptop. I installed ROS the way it was mentioned on the ROS

2018-12-22 13:54:40 -0500 commented question rossrv show tab complete

Sorry I should have been more clear. rossrv show does have tab completion support, but it shows the output above. When I

2018-12-22 13:53:41 -0500 edited question rossrv show tab complete

rossrv show tab complete Is there a way to get rossrv show to have tab-complete functionality? Something like this would

2018-12-22 08:52:32 -0500 received badge  Supporter (source)
2018-12-22 01:25:12 -0500 asked a question rossrv show tab complete

rossrv show tab complete Is there a way to get rossrv show to have tab-complete functionality? Something like this would