Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add status_rate option as we had in rosmake #141

Closed
wants to merge 6 commits into from

Conversation

k-okada
Copy link
Contributor

@k-okada k-okada commented Jan 28, 2015

No description provided.

@wjwwood
Copy link
Member

wjwwood commented Jan 28, 2015

Thanks for the pull request, I'll have a look at it as soon as possible.

Also, it looks like there are some failing tests related to PEP8 compliance.

@wjwwood wjwwood added this to the untargeted milestone Jan 28, 2015
@k-okada k-okada force-pushed the add_status_rate_option branch from 0507dd7 to 655abe6 Compare January 28, 2015 04:06
@k-okada k-okada force-pushed the add_status_rate_option branch from 655abe6 to dc62a99 Compare January 28, 2015 04:09
@k-okada
Copy link
Contributor Author

k-okada commented Jan 28, 2015

fixed style

◉ Kei Okada

On Wed, Jan 28, 2015 at 12:55 PM, William Woodall notifications@github.com
wrote:

Thanks for the pull request, I'll have a look at it as soon as possible.

Also, it looks like there are some failing tests related to PEP8
compliance.


Reply to this email directly or view it on GitHub
#141 (comment).

@@ -215,6 +217,7 @@ def main(opts):
quiet=not opts.verbose,
interleave_output=opts.interleave_output,
no_status=opts.no_status,
status_update_rate=opts.status_update_rate,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should ensure that the given status update rate is positive and non-zero.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, we should put a limit on it based on the update loop rate, which is currently running at 10Hz:

https://github.com/catkin/catkin_tools/pull/141/files#diff-2482c854781a7d39252bf95c9201c631R521

Because as is, if the user puts --status-rate=20 it will still only run at 10Hz.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check these case in 6c682ed

@k-okada k-okada force-pushed the add_status_rate_option branch from 277e642 to eca90f9 Compare January 30, 2015 02:16
@k-okada
Copy link
Contributor Author

k-okada commented Jan 30, 2015

passed the test

@wjwwood
Copy link
Member

wjwwood commented Feb 4, 2015

I want to do the check differently, but I'll merge it manually with the appropriate changes.

@wjwwood
Copy link
Member

wjwwood commented Feb 4, 2015

I merged your commits in 70bbe0b and touched them up in 6997625.

The option now allows you to set 0 to turn off limiting (as fast as normal), and there is no upper limit. I did this because it actually ended up working differently that I had first imagined. I also renamed the option to --limit-status-rate, but I left --status-rate as a valid alternative flag.

Anyways, give master a spin and see if it is ok with you.

@wjwwood wjwwood closed this Feb 4, 2015
@k-okada
Copy link
Contributor Author

k-okada commented Feb 4, 2015

it works find for me! thanks.

◉ Kei Okada

On Wed, Feb 4, 2015 at 10:58 AM, William Woodall notifications@github.com
wrote:

I merged your commits in 70bbe0b
70bbe0b
and touched them up in 6997625
6997625
.

The option now allows you to set 0 to turn off limiting (as fast as
normal), and there is no upper limit. I did this because it actually ended
up working differently that I had first imagined. I also renamed the option
to --limit-status-rate, but I left --status-rate as a valid alternative
flag.

Anyways, give master a spin and see if it is ok with you.


Reply to this email directly or view it on GitHub
#141 (comment).

@k-okada k-okada deleted the add_status_rate_option branch February 12, 2015 13:58
@jbohren jbohren modified the milestones: x.x.x - Untargeted Features, 0.4.0 - Second Beta Release Dec 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants