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
Move iris to use jinja templates #609
Conversation
Since generated sdf files are now marked as <model>-gen.sdf, `iris.sdf` should be also marked as `iris-gen.sdf` Move iris to jinja templates This commit deprecates the xacro based sdf generation for the iris model
This commit moves the meshfiles out of rotors_description so that we can deprecate rotors_description once the mutlivehicle scripts are based on jinja templates
e6d3162
to
40f495e
Compare
SITL test failures seem quite intermittent |
Wasn't able to build mavsdk tests due to the incorrect mavsdk version
40f495e
to
107565e
Compare
</joint_control_pid> | ||
<joint_name>zephyr_delta_wing::propeller_joint</joint_name> | ||
</channel> | ||
<channel name='rotor6'> |
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.
and this?
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.
Since this is not related to this PR, and is causing SITL failures can we address it in a separate PR? This is blocking multivehicle scripting and mavsdk testing for jinja based models
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.
But it's not making much sense why this would cause failures. This isn't supposed to exist for this model.
c454311
to
e45e102
Compare
- Explicitly state that the sdf file is genretaed - Remove -0 - Remove redundant channels - Fix model configs
e45e102
to
8aa5294
Compare
@TSC21 Thanks! |
* mark iris.sdf as iris-gen.sdf Since generated sdf files are now marked as <model>-gen.sdf, `iris.sdf` should be also marked as `iris-gen.sdf` Move iris to jinja templates This commit deprecates the xacro based sdf generation for the iris model * Move meshfiles out of rotors_description This commit moves the meshfiles out of rotors_description so that we can deprecate rotors_description once the mutlivehicle scripts are based on jinja templates * Update mavsdk version Wasn't able to build mavsdk tests due to the incorrect mavsdk version * Address review comments - Explicitly state that the sdf file is genretaed - Remove -0 - Remove redundant channels - Fix model configs
Problem Description
iris
was the only model being generated with xacro macros, and xacro macros are slowly becoming out of date by not supporting more recent sdf syntaxes.Solution
This PR moves the
iris
model generation from xacro macros to jinja templates by doing the following.rotors_description
toiris
We keep the xacro macros for now, since the multivehicle scripts still rely on them.
rotors_description
will be deprecated once the multivehicle scripts are based on jinja templating.