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

Replace all single-character strings with chars #2892

Closed

Conversation

EzraBrooks
Copy link
Member

@EzraBrooks EzraBrooks commented Jun 28, 2024

Description

Was looking for something quick to do between tickets. Closes #871.

Regexes are your friend!

Screenshot 2024-06-28 at 2 58 07 PM

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

@EzraBrooks

This comment was marked as resolved.

@EzraBrooks EzraBrooks force-pushed the replace-all-single-character-string-with-char branch 2 times, most recently from 4caec2b to 1d85309 Compare June 28, 2024 20:58
@@ -193,7 +193,7 @@ void computeDB(const rclcpp::Node::SharedPtr& node, const planning_scene::Planni
* y: [0.2, 0.3]
* z: [0.1, 0.6]
* weight: 1.0
* """
* '"'
Copy link
Member Author

Choose a reason for hiding this comment

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

Is this a Python docstring embedded in a C++ comment? Should this be triple backticks or something?

@EzraBrooks EzraBrooks force-pushed the replace-all-single-character-string-with-char branch from 1d85309 to 2f49b95 Compare June 28, 2024 21:12
@EzraBrooks
Copy link
Member Author

There appear to be some load-bearing single-character strings in MoveIt - I guess I am yet another developer brought low by this ticket.

@EzraBrooks EzraBrooks closed this Jun 28, 2024
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.

Char is a char, string is a string
1 participant