-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat(xacro): building xacro from sensor calibation #274
Open
Owen-Liuyuxuan
wants to merge
28
commits into
beta/v0.29.0
Choose a base branch
from
feat/build_xacro
base: beta/v0.29.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Owen-Liuyuxuan
force-pushed
the
feat/build_xacro
branch
from
July 30, 2024 05:47
d9a4cce
to
44d8c80
Compare
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Up to this commit; the PR can work fine on XX1 PSim |
Merged
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
…itional script for comparing different xacro files for testing; add optional keywords for frame_id Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
…l look Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
…iginal look Signed-off-by: YuxuanLiuTier4Desktop <[email protected]>
Signed-off-by: YuxuanLiuTier4Desktop <[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.
Updates (12/20)
Merge with #361
Updates (12/13)
After accumulating experience in integration. Here is an updated/robust version that I would like to push forward.
Feature 1: Type Annotation in config
In the Xacro Compilation script, we defined URDF Links into the following types.
Then when sensor configurations are defined as
The compiler will reliably determine what kind of link each transform is.
Feature 2: Force Recompiling on Each Colcon Build
The former PR has the problem of needing to modify the
CMakeLists.txt
to trigger re-compilation. Now we improve theCMakeLists.txt
so that we will create a brand-new urdf every time we rebuild, so that we can make tuning on the fly easily.Description
Proposal of dynamically building xacro files during CMake from sensor calibration configs instead of hard-coding them in the repo.
#275
Methods
Using the jinja2 template mechanism, we can dynamically create as many joints as defined in the calibration Yaml file.
Tricky Problem
To determine the link types, we use the names of the links to infer the types, trying our best to be consistent with the common inputs and also readable. (
determine_link_type
)Test
I have tried successfully launching PSim with the created xacro.