Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Simox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Leander Singer
Simox
Commits
c2311ae5
Commit
c2311ae5
authored
6 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Added compiler attributes
parent
ba82adf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
VirtualRobot/MJCF/elements/compiler.h
+29
-0
29 additions, 0 deletions
VirtualRobot/MJCF/elements/compiler.h
with
29 additions
and
0 deletions
VirtualRobot/MJCF/elements/compiler.h
+
29
−
0
View file @
c2311ae5
...
...
@@ -9,6 +9,35 @@ struct CompilerSection : public Element<CompilerSection>
{
static
const
std
::
string
tag
;
mjcf_ElementDerivedConstructors
(
CompilerSection
)
mjcf_FloatAttributeDef
(
CompilerSection
,
boundmass
,
0
);
mjcf_FloatAttributeDef
(
CompilerSection
,
boundinertia
,
0
);
mjcf_FloatAttributeDef
(
CompilerSection
,
settotalmass
,
-
1
);
mjcf_BoolAttributeDef
(
CompilerSection
,
balanceinertia
,
false
);
mjcf_BoolAttributeDef
(
CompilerSection
,
strippath
,
false
);
// local, global
mjcf_StringAttributeDef
(
CompilerSection
,
coordinate
,
"local"
);
// degree, radian (default "degree" for MJCF, always "radian" for URDF)
mjcf_StringAttributeDef
(
CompilerSection
,
angle
,
"degree"
);
mjcf_BoolAttributeDef
(
CompilerSection
,
fitaabb
,
false
);
mjcf_StringAttributeDef
(
CompilerSection
,
eulerseq
,
"xyz"
);
mjcf_StringAttributeOpt
(
CompilerSection
,
meshdir
);
mjcf_StringAttributeOpt
(
CompilerSection
,
texturedir
);
// Default: false for MJCF, true for URDF
mjcf_BoolAttributeDef
(
CompilerSection
,
discardvisual
,
false
);
mjcf_BoolAttributeDef
(
CompilerSection
,
convexhull
,
true
);
mjcf_BoolAttributeDef
(
CompilerSection
,
userthread
,
true
);
// Default: false for MJCF, true for URDF
mjcf_BoolAttributeDef
(
CompilerSection
,
fusestatic
,
false
);
// false, true, auto
mjcf_StringAttributeDef
(
CompilerSection
,
inertiafromgeom
,
"auto"
);
mjcf_AttributeDef
(
CompilerSection
,
Eigen
::
Vector2i
,
inertiagrouprange
,
Eigen
::
Vector2i
(
0
,
5
));
};
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment