Skip to content

Do not show freq parameter on help when not necessary#296

Merged
dirk-thomas merged 1 commit intoros2:masterfrom
gonzodepedro:gonzalodepedro/freq-param-check
Jan 8, 2019
Merged

Do not show freq parameter on help when not necessary#296
dirk-thomas merged 1 commit intoros2:masterfrom
gonzodepedro:gonzalodepedro/freq-param-check

Conversation

@gonzodepedro
Copy link
Copy Markdown
Contributor

@gonzodepedro gonzodepedro commented Dec 12, 2018

Do not show frequency parameter on image_tools when not necessary. Relate ros2/ros2_documentation#41

@tfoote tfoote added the in review Waiting for review (Kanban column) label Dec 12, 2018
ss << " -d: Depth of the queue: only honored if used together with 'keep last'. " <<
"10 (default)" << std::endl;
ss << " -f: Publish frequency in Hz. 30 (default)" << std::endl;
if( freq != nullptr ){
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would expect this line to fail the linters. Please run the unit tests of the package locally to check.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Got it. Fixed now

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't see any change.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm very sorry. Now it should be fixed.

@gonzodepedro gonzodepedro force-pushed the gonzalodepedro/freq-param-check branch from b6b8ada to 80d6436 Compare December 12, 2018 19:46
@gonzodepedro gonzodepedro force-pushed the gonzalodepedro/freq-param-check branch from 80d6436 to 515f07e Compare December 12, 2018 20:15
@dirk-thomas
Copy link
Copy Markdown
Member

Thank you for the improvement.

@dirk-thomas dirk-thomas merged commit bb0caa2 into ros2:master Jan 8, 2019
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants