Comments (2)
Update:
It seems that the XML schema is not recognized properly. Running the last dm_control
version, 1.0.15
, I am getting:
ValueError: during initialization of attribute 'type' of element <composite>: Expect keyword to be one of ['particle', 'grid', 'rope', 'loop', 'cloth', 'box', 'cylinder', 'ellipsoid'] but got: cable
when running:
parent = self._mjcf_root.worldbody.add("body", name="body_0")
cable = parent.add("composite", type="cable")
But the xml schema shows:
<element name="composite" repeated="true">
<attributes>
<attribute name="prefix" type="identifier"/>
<attribute name="type" type="keyword" valid_values="particle grid cable rope loop cloth box cylinder ellipsoid" required="true"/>
<attribute name="count" type="array" array_type="int" array_size="3" required="true"/>
<attribute name="spacing" type="float" required="false"/>
<attribute name="offset" type="array" array_type="float" array_size="3"/>
<attribute name="flatinertia" type="float"/>
<attribute name="solrefsmooth" type="array" array_type="float" array_size="2"/>
<attribute name="solimpsmooth" type="array" array_type="float" array_size="5"/>
<attribute name="vertex" type="string"/>
<attribute name="face" type="string"/>
<attribute name="initial" type="string"/>
<attribute name="curve" type="string"/>
<attribute name="size" type="array" array_type="float" array_size="3"/>
</attributes>
,where cable is definitely defined.
from dm_control.
Seems that f2f0e23 solves it.
from dm_control.
Related Issues (20)
- About the action of Jaco-reach HOT 2
- Segmentation index out of bound HOT 3
- mjcf module incorrectly requires all plugin elements to have a name attribute
- Cannot reproduce the joining of parent and child models in "Attaching models" section of mjcf. HOT 1
- how can I find out information about which body part the observation belongs to? HOT 5
- Hash added to stl file name with to_xml_string() HOT 2
- Suite vectorized environments? HOT 1
- How to add a seed to custom environments? HOT 1
- flexcomp object cannot be created
- Unable to load an .xml with bodies which have "user" parameter using "mjcf.from_path()" HOT 4
- How to change the reset function?
- mjcf/schema.xml is missing eulerdamp as flag attribute HOT 1
- Headless rendering on Mac? HOT 2
- Error while trying to create a visualization HOT 1
- A small question about developing based on dm_control and mujoco HOT 1
- Which part of the library is the implementation of NEURAL PROBABILISTIC MOTOR PRIMITIVES FOR HUMANOID CONTROL?
- Do you have some official baseline of several traditional environments? such as SAC,TD3,DDPG,CURL etc?
- MJCF Parsing Error - Identifier Containing Separator HOT 4
- How can I access the angle of a specific joint in the walker model?
- PyMJCF Keyframe Help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dm_control.