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 reling link #474

Merged
merged 5 commits into from
Jan 9, 2025
Merged

Add reling link #474

merged 5 commits into from
Jan 9, 2025

Conversation

rafal-gorecki
Copy link
Contributor

@rafal-gorecki rafal-gorecki commented Dec 20, 2024

Description

  • Add mount_link and standarise cover_link.

Requirements

  • Code style guidelines followed
  • Documentation updated

Tests 🧪

  • Robot
  • Container
  • Simulation

Summary by CodeRabbit

  • New Features

    • Updated camera view settings in RViz, including focal point coordinates and yaw angle adjustments.
    • Added a new fixed joint and link to the robot model's URDF structure, enhancing connectivity between components.
  • Bug Fixes

    • Adjusted the origin attribute for an existing joint to improve structural accuracy.
    • Suppressed marker visualization in the simulation to refine visual feedback during updates.

Copy link
Contributor

coderabbitai bot commented Dec 20, 2024

Walkthrough

The pull request introduces modifications to configuration and robot description files across the Husarion UGV (Unmanned Ground Vehicle) project. Changes include updates to RViz configuration, specifically view settings, and modifications to URDF (Unified Robot Description Format) files for two robot models: Lynx and Panther. The updates involve adding a new joint and link to the robot's structural definition and adjusting some joint origin parameters. Additionally, a method in the LEDStrip class has been altered to suppress marker visualization during the update cycle.

Changes

File Change Summary
husarion_ugv_description/rviz/husarion_ugv.rviz Updated RViz view settings, resetting focal point coordinates to zero and changing Yaw value from ~1.37 to 3.7.
husarion_ugv_description/urdf/lynx/base.urdf.xacro Added new fixed joint cover_to_mount_joint connecting cover_link to new mount_link.
husarion_ugv_description/urdf/panther/base.urdf.xacro - Updated base_to_cover_joint origin from 0.1715 to 0.14
- Added new fixed joint cover_to_mount_joint connecting cover_link to mount_link.
husarion_ugv_gazebo/src/led_strip.cpp Commented out VisualizeMarkers method call in PreUpdate, altering control flow to suppress marker visualization.

Possibly related PRs


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 8a4f413 and 4c73144.

📒 Files selected for processing (2)
  • husarion_ugv_description/urdf/lynx/base.urdf.xacro (1 hunks)
  • husarion_ugv_description/urdf/panther/base.urdf.xacro (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • husarion_ugv_description/urdf/lynx/base.urdf.xacro
  • husarion_ugv_description/urdf/panther/base.urdf.xacro

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>, please review it.
    • 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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @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 using 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 generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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

🧹 Nitpick comments (1)
husarion_ugv_description/urdf/lynx/base.urdf.xacro (1)

Line range hint 15-29: Track technical debt items

There are several TODO comments in the file that should be tracked:

  • Missing collision mesh
  • Inertia calculations needed

Would you like me to create GitHub issues to track these TODO items? This will help ensure they're properly addressed in future updates.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a229d32 and d51d559.

📒 Files selected for processing (3)
  • husarion_ugv_description/rviz/husarion_ugv.rviz (2 hunks)
  • husarion_ugv_description/urdf/lynx/base.urdf.xacro (1 hunks)
  • husarion_ugv_description/urdf/panther/base.urdf.xacro (1 hunks)
🔇 Additional comments (3)
husarion_ugv_description/urdf/panther/base.urdf.xacro (1)

83-83: Verify the height adjustment impact

The z-coordinate change from 0.1715 to 0.14 reduces the cover height by 31.5mm. Please ensure this modification doesn't affect:

  • Physical clearance with internal components
  • Compatibility with existing accessories/mounts
husarion_ugv_description/urdf/lynx/base.urdf.xacro (1)

118-124: Add physical properties to reling_link

The reling_link requires the same physical properties as suggested for the Panther model.

husarion_ugv_description/rviz/husarion_ugv.rviz (1)

188-190: LGTM: View adjustments look reasonable

The changes reset the focal point to the origin and adjust the view angle for better default visualization of the robot model.

Also applies to: 199-199

husarion_ugv_description/urdf/panther/base.urdf.xacro Outdated Show resolved Hide resolved
@rafal-gorecki rafal-gorecki requested a review from delihus January 9, 2025 13:59
@delihus
Copy link
Contributor

delihus commented Jan 9, 2025

I checked both robots in rviz2 and LGTM

@rafal-gorecki rafal-gorecki merged commit b72ec7b into ros2-devel Jan 9, 2025
1 check passed
@rafal-gorecki rafal-gorecki deleted the add-reling-link branch January 9, 2025 15:13
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.

2 participants