-
Notifications
You must be signed in to change notification settings - Fork 17
Port odom #372
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR ports the odometry calculation from RRDifferentialDriveComponent to DifferentialDriveComponent by updating wheel velocity functions and introducing new wheel link components.
- Added DeltaTime parameter to GetWheelVelocity in several components
- Extended SetWheels to accept additional wheel link components and updated odom update logic
- Adjusted odometry update based on the bUseWheelOdom flag and improved transform calculations
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| Source/RapyutaSimulationPlugins/Public/Drives/RRDifferentialDriveComponent.h | Updated GetWheelVelocity signature to include DeltaTime |
| Source/RapyutaSimulationPlugins/Public/Drives/DifferentialDriveComponentBase.h | Updated GetWheelVelocity signature and introduced bUseWheelOdom property |
| Source/RapyutaSimulationPlugins/Public/Drives/DifferentialDriveComponent.h | Extended SetWheels signature to include wheel link components and updated GetWheelVelocity |
| Source/RapyutaSimulationPlugins/Private/Robots/Turtlebot3/TurtlebotBurger.cpp | Adjusted SetWheels call to pass additional parameters |
| Source/RapyutaSimulationPlugins/Private/Drives/RRDifferentialDriveComponent.cpp | Updated GetWheelVelocity signature |
| Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponentBase.cpp | Updated odom update logic based on bUseWheelOdom and modified GetWheelVelocity calls |
| Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp | Revised SetWheels and GetWheelVelocity implementations to incorporate new wheel link inputs and transform calculations |
| Content/Robots/Turtlebot3/Physics/*.uasset | Updated asset hashes and sizes |
Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp
Outdated
Show resolved
Hide resolved
Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp
Show resolved
Hide resolved
…veComponent.cpp Co-authored-by: Copilot <[email protected]>
…veComponent.cpp Co-authored-by: Copilot <[email protected]>
danicannt
approved these changes
Jul 2, 2025
github-actions bot
pushed a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
github-actions bot
pushed a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
github-actions bot
pushed a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
github-actions bot
pushed a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
github-actions bot
pushed a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
yuokamoto
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
yuokamoto
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
yuokamoto
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
yuokamoto
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
github-actions bot
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
yuokamoto
added a commit
that referenced
this pull request
Jul 2, 2025
* port odom calc method from RRDifferentialDriveComponent to DifferentialDriveComponent * update BP_TurtlebotWaffle for odom update * update waffle param * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp * Update Source/RapyutaSimulationPlugins/Private/Drives/DifferentialDriveComponent.cpp --------- Co-authored-by: yuokamoto <[email protected]> Co-authored-by: Copilot <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
port odom calculation from RRDifferentialDriveComponent to DifferentialDriveComponent