File size: 3,551 Bytes
6726ce8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<mujoco model="atech_neopixel">
  <compiler angle="radian" autolimits="true"/>
  <option timestep="0.002" gravity="0 0 -9.81"/>
  <custom>
    <text name="atech:asset_type" data="module"/>
    <text name="atech:id" data="neopixel"/>
    <text name="atech:name" data="NeoPixel 3x3 Grid"/>
    <text name="atech:category" data="led"/>
    <text name="atech:catalog_version" data="1.0.0a11"/>
    <text name="atech:placeholders" data="mass_kg,colors,connector,physics_material,actuator.frame"/>
    <text name="atech:interface" data="gpio"/>
    <text name="atech:visual:source" data="atechdotdev/atech-module-renders@v1.7 glb_plain/led-grid.glb"/>
    <text name="atech:visual:sha256" data="d81b07d5d6526bc37745100b9d3385a8dbcb98c0514589bce767475e8ccb51e2"/>
  </custom>
  <asset>
    <mesh name="atech_neopixel_black_cad_mesh" file="meshes/atech_neopixel/black.stl" inertia="shell"/>
    <mesh name="atech_neopixel_black_m_cad_mesh" file="meshes/atech_neopixel/black_m.stl" inertia="shell"/>
    <mesh name="atech_neopixel_glass_cad_mesh" file="meshes/atech_neopixel/glass.stl" inertia="shell"/>
    <mesh name="atech_neopixel_gold_cad_mesh" file="meshes/atech_neopixel/gold.stl" inertia="shell"/>
    <mesh name="atech_neopixel_led_or_cad_mesh" file="meshes/atech_neopixel/led_or.stl" inertia="shell"/>
    <mesh name="atech_neopixel_led_warm_cad_mesh" file="meshes/atech_neopixel/led_warm.stl" inertia="shell"/>
    <mesh name="atech_neopixel_pcb_cad_mesh" file="meshes/atech_neopixel/pcb.stl" inertia="shell"/>
  </asset>
  <worldbody>
    <light name="key_light" pos="0 0 1" dir="0 0 -1"/>
    <geom name="floor" type="plane" size="0.5 0.5 0.01" rgba="0.8 0.8 0.8 1"/>
    <body name="atech_neopixel" pos="0 0 0.05" quat="1 0 0 0">
      <!-- Atech module neopixel (NeoPixel 3x3 Grid); atech 1.0.0a11. Fields in sim.yaml placeholders: are guesses. -->
      <freejoint name="atech_neopixel_free"/>
      <geom name="atech_neopixel_black_cad" type="mesh" mesh="atech_neopixel_black_cad_mesh" rgba="0.0498 0.0498 0.0498 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_black_m_cad" type="mesh" mesh="atech_neopixel_black_m_cad_mesh" rgba="0.0849 0.0849 0.0849 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_glass_cad" type="mesh" mesh="atech_neopixel_glass_cad_mesh" rgba="0.9352 0.9538 0.9683 0.4196" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_gold_cad" type="mesh" mesh="atech_neopixel_gold_cad_mesh" rgba="0.721 0.6026 0.2864 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_led_or_cad" type="mesh" mesh="atech_neopixel_led_or_cad_mesh" rgba="1 0.7021 0.2778 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_led_warm_cad" type="mesh" mesh="atech_neopixel_led_warm_cad_mesh" rgba="1 0.9408 0.8228 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_pcb_cad" type="mesh" mesh="atech_neopixel_pcb_cad_mesh" rgba="0.0498 0.1107 0.2069 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_neopixel_body" type="box" size="0.00975 0.00975 0.00477" pos="0 0 0.00477" mass="0.007" rgba="0.12 0.13 0.15 1" friction="0.4 0.005 0.0001" group="3"/>
      <site name="atech_neopixel_connector" pos="0 0 0" quat="1 0 0 0" size="0.002" rgba="0 0.6 1 1" group="4"/>
      <site name="atech_neopixel_actuator" pos="0 0 0.00954" quat="1 0 0 0" size="0.002" rgba="1 0.2 0.2 1" group="4"/>
    </body>
  </worldbody>
</mujoco>