Tom Erez
f70403d00a
Add support for global custom numeric fields.
...
PiperOrigin-RevId: 495865065
Change-Id: I59ed65e84a0bcaa90220b938ed34fdc26165aa09
2022-12-16 07:03:31 -08:00
Tom Erez
21f10ce1b6
Add user sensor bindings.
...
Stop force-setting nusersensor, instead allow MuJoCo to infer the size.
PiperOrigin-RevId: 494783883
Change-Id: Ia2a1b1803b2904f2dded7b790d01eb6f1920dbaf
2022-12-12 11:43:00 -08:00
Yuval Tassa
c8ff7b3d34
Remove distance constraints.
...
- `distance` constraints were not very useful and increased the contact buffer within the constraint solver, violating a core design principle. Therefore they have been removed.
- The enum value `mjEQ_DISTANCE` is retained, but errors will be thrown in the parser and engine if these constraints are selected.
PiperOrigin-RevId: 467050101
Change-Id: Ie72a07e4fe338eea5107004a9fc0f5e47eb0c3b7
2022-08-11 14:31:11 -07:00
Alessio Quaglino
307cf692e5
Add <damper> actuator shortcut and related mjGAIN_AFFINE.
...
**Rationale**
A general `mjGAIN_AFFINE` actuator adds the term `force = (c + kp * length + kv * velocity) * ctrl`. The damper shortcut restricts it to `kv * velocity * ctrl` and sets the `ctrllimited` attribute to true.
**API**
```xml
<actuator>
<damper ctrlrange="0 1" kv="1"/>
</actuator>
```
* Required attributes: `ctrlrange` (>=0)
* Optional attributes: `kv` (>=0)
PiperOrigin-RevId: 455366866
Change-Id: I88773abbeccabb6442f215c9fc05e205df63f692
2022-06-16 06:21:17 -07:00
Saran Tunyasuvunakool
3577e2cf8b
Version 2.1.2: Python bindings, OBJ assets support, bugfixes.
...
PiperOrigin-RevId: 434731612
Change-Id: I0cfda3e7a3d1c72036764986efc252ffa1b8c6b0
2022-03-15 14:04:44 +00:00