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

Update readmes from ros2 upstream #346

Merged
merged 11 commits into from
Jun 14, 2024
Merged

Update readmes from ros2 upstream #346

merged 11 commits into from
Jun 14, 2024

Conversation

delihus
Copy link
Contributor

@delihus delihus commented Jun 14, 2024

Description

The changes of readmes was added directly to the ros2 branch.
Just backporting this to the ros2-devel

Summary by CodeRabbit

  • Documentation
    • Updated the led_animations section in the README with image URLs for visual representations of animations, replacing textual descriptions.

@delihus delihus requested a review from JanBrzyk June 14, 2024 12:09
Copy link
Contributor

coderabbitai bot commented Jun 14, 2024

Walkthrough

The changes primarily involve updating the panther_lights/README.md file by replacing textual descriptions of LED animations with corresponding image URLs to provide visual representations. Additionally, modifications in the declarations of exported or public entities have been made by changing the DESCRIPTION field to ANIMATION.

Changes

File Change Summary
panther_lights/README.md Replaced text descriptions with image URLs for LED animations.
.../public_entities Updated the field name DESCRIPTION to ANIMATION in the exported entities

Sequence Diagram(s)

No complex control flow changes have been made that necessitate sequence diagrams. Modifications were primarily documentation and field updates.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Outside diff range and nitpick comments (3)
panther_lights/README.md (3)

Line range hint 124-124: Correct verb form for grammatical accuracy.

- It have to match one of the channels defined in the `panels` section.
+ It has to match one of the channels defined in the `panels` section.
Tools
Markdownlint

155-155: null (MD045, no-alt-text)
Images should have alternate text (alt text)


156-156: null (MD045, no-alt-text)
Images should have alternate text (alt text)


157-157: null (MD045, no-alt-text)
Images should have alternate text (alt text)


158-158: null (MD045, no-alt-text)
Images should have alternate text (alt text)


159-159: null (MD045, no-alt-text)
Images should have alternate text (alt text)


160-160: null (MD045, no-alt-text)
Images should have alternate text (alt text)


161-161: null (MD045, no-alt-text)
Images should have alternate text (alt text)


162-162: null (MD045, no-alt-text)
Images should have alternate text (alt text)


163-163: null (MD045, no-alt-text)
Images should have alternate text (alt text)


Line range hint 137-137: Add an article for grammatical correctness.

- The `led_animations` section contains list with definitions for various animations...
+ The `led_animations` section contains a list with definitions for various animations...
Tools
Markdownlint

155-155: null (MD045, no-alt-text)
Images should have alternate text (alt text)


156-156: null (MD045, no-alt-text)
Images should have alternate text (alt text)


157-157: null (MD045, no-alt-text)
Images should have alternate text (alt text)


158-158: null (MD045, no-alt-text)
Images should have alternate text (alt text)


159-159: null (MD045, no-alt-text)
Images should have alternate text (alt text)


160-160: null (MD045, no-alt-text)
Images should have alternate text (alt text)


161-161: null (MD045, no-alt-text)
Images should have alternate text (alt text)


162-162: null (MD045, no-alt-text)
Images should have alternate text (alt text)


163-163: null (MD045, no-alt-text)
Images should have alternate text (alt text)


Line range hint 144-144: Add a comma for clarity.

- If not provided will default to **ANIMATION_<ID>**, where `<ID>` is equal to `id` parameter of the given animation.
+ If not provided, will default to **ANIMATION_<ID>**, where `<ID>` is equal to `id` parameter of the given animation.
Tools
Markdownlint

155-155: null (MD045, no-alt-text)
Images should have alternate text (alt text)


156-156: null (MD045, no-alt-text)
Images should have alternate text (alt text)


157-157: null (MD045, no-alt-text)
Images should have alternate text (alt text)


158-158: null (MD045, no-alt-text)
Images should have alternate text (alt text)


159-159: null (MD045, no-alt-text)
Images should have alternate text (alt text)


160-160: null (MD045, no-alt-text)
Images should have alternate text (alt text)


161-161: null (MD045, no-alt-text)
Images should have alternate text (alt text)


162-162: null (MD045, no-alt-text)
Images should have alternate text (alt text)


163-163: null (MD045, no-alt-text)
Images should have alternate text (alt text)

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c0b1514 and cc1e778.

Files selected for processing (1)
  • panther_lights/README.md (1 hunks)
Additional context used
LanguageTool
panther_lights/README.md

[uncategorized] ~102-~102: If this is a compound adjective that modifies the following noun, use a hyphen. (EN_COMPOUND_ADJECTIVE_INTERNAL)
Context: ...o a YAML file with a description of the user defined animations. [//]: # (ROS_API_NODE_PARA...


[uncategorized] ~117-~117: Loose punctuation mark. (UNLIKELY_OPENING_PUNCTUATION)
Context: ...ween multiple panels. - number_of_leds: defines the total number of LEDs presen...


[uncategorized] ~123-~123: Loose punctuation mark. (UNLIKELY_OPENING_PUNCTUATION)
Context: ... segment has three attributes: - name: the identifier for the segment, such as...


[uncategorized] ~124-~124: Loose punctuation mark. (UNLIKELY_OPENING_PUNCTUATION)
Context: ...e between multiple segments. - channel: This specifies which LED panel the segm...


[grammar] ~124-~124: After ‘It’, use the third-person verb form “has”. (IT_VBZ)
Context: ...ch LED panel the segment belongs to. It have to match one of the channels defined in...


[uncategorized] ~125-~125: Loose punctuation mark. (UNLIKELY_OPENING_PUNCTUATION)
Context: ...d in the panels section. - led_range: This defines the range of LEDs within t...


[uncategorized] ~129-~129: Did you mean: “By default,”? (BY_DEFAULT_COMMA)
Context: ...ents defined in the segments section. By default you can use provided mapping: - all ...


[uncategorized] ~137-~137: Possible missing article found. (AI_HYDRA_LEO_MISSING_A)
Context: ... The led_animations section contains list with definitions for various animations...


[uncategorized] ~144-~144: Possible missing comma found. (AI_HYDRA_LEO_MISSING_COMMA)
Context: ...N_**]: name of an animation. If not provided will default to ANIMATION_, whe...

Markdownlint
panther_lights/README.md

146-146: Expected: 2; Actual: 4 (MD007, ul-indent)
Unordered list indentation


147-147: Expected: 2; Actual: 4 (MD007, ul-indent)
Unordered list indentation


148-148: Expected: 2; Actual: 4 (MD007, ul-indent)
Unordered list indentation


273-273: Expected: 1; Actual: 0; Above (MD022, blanks-around-headings)
Headings should be surrounded by blank lines


256-256: null (MD028, no-blanks-blockquote)
Blank line inside blockquote


155-155: null (MD045, no-alt-text)
Images should have alternate text (alt text)


156-156: null (MD045, no-alt-text)
Images should have alternate text (alt text)


157-157: null (MD045, no-alt-text)
Images should have alternate text (alt text)


158-158: null (MD045, no-alt-text)
Images should have alternate text (alt text)


159-159: null (MD045, no-alt-text)
Images should have alternate text (alt text)


160-160: null (MD045, no-alt-text)
Images should have alternate text (alt text)


161-161: null (MD045, no-alt-text)
Images should have alternate text (alt text)


162-162: null (MD045, no-alt-text)
Images should have alternate text (alt text)


163-163: null (MD045, no-alt-text)
Images should have alternate text (alt text)

Comment on lines +153 to +163
| ID | NAME | PRIORITY | ANIMATION |
| :---: | ----------------- | :------: | --------------------------------------------------------------------------------------------------------------------- |
| 0 | E_STOP | 3 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/E_STOP.webp" width="400"> |
| 1 | READY | 3 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/READY.webp" width="400"> |
| 2 | ERROR | 1 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/ERROR.webp" width="400"> |
| 3 | MANUAL_ACTION | 3 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/MANUAL_ACTION.webp" width="400"> |
| 4 | AUTONOMOUS_ACTION | 3 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/AUTONOMOUS_ACTION.webp" width="400"> |
| 5 | GOAL_ACHIEVED | 2 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/GOAL_ACHIEVED.webp" width="400"> |
| 6 | LOW_BATTERY | 2 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/LOW_BATTERY.webp" width="400"> |
| 7 | CRITICAL_BATTERY | 2 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/CRITICAL_BATTERY.webp" width="400"> |
| 9 | CHARGING_BATTERY | 3 | <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/CHARGING_BATTERY.webp" width="400"> |
Copy link
Contributor

Choose a reason for hiding this comment

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

Add alt text to images for accessibility.

- <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/E_STOP.webp" width="400">
+ <img src="https://github.com/husarion/panther_ros/blob/ros2/panther_lights/.docs/E_STOP.webp" alt="E_STOP Animation" width="400">

Please apply similar changes to all image links in the table.

Committable suggestion was skipped due to low confidence.

Tools
Markdownlint

155-155: null (MD045, no-alt-text)
Images should have alternate text (alt text)


156-156: null (MD045, no-alt-text)
Images should have alternate text (alt text)


157-157: null (MD045, no-alt-text)
Images should have alternate text (alt text)


158-158: null (MD045, no-alt-text)
Images should have alternate text (alt text)


159-159: null (MD045, no-alt-text)
Images should have alternate text (alt text)


160-160: null (MD045, no-alt-text)
Images should have alternate text (alt text)


161-161: null (MD045, no-alt-text)
Images should have alternate text (alt text)


162-162: null (MD045, no-alt-text)
Images should have alternate text (alt text)


163-163: null (MD045, no-alt-text)
Images should have alternate text (alt text)

@JanBrzyk JanBrzyk merged commit c9cb3e8 into ros2-devel Jun 14, 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.

4 participants