File size: 3,641 Bytes
41e7dab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_st7735_tft">
  <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="st7735_tft"/>
    <text name="atech:name" data="ST7735 TFT Color Display (160x80)"/>
    <text name="atech:category" data="display"/>
    <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/screen.glb"/>
    <text name="atech:visual:sha256" data="3367736208e89cfb758b657b02c47242efb4a487c07937e94b6ebdefa1446f02"/>
  </custom>
  <asset>
    <mesh name="atech_st7735_tft_black_cad_mesh" file="meshes/atech_st7735_tft/black.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_black_m_cad_mesh" file="meshes/atech_st7735_tft/black_m.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_glass_cad_mesh" file="meshes/atech_st7735_tft/glass.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_gloss_cad_mesh" file="meshes/atech_st7735_tft/gloss.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_gold_cad_mesh" file="meshes/atech_st7735_tft/gold.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_pcb_cad_mesh" file="meshes/atech_st7735_tft/pcb.stl" inertia="shell"/>
    <mesh name="atech_st7735_tft_screen_art_cad_mesh" file="meshes/atech_st7735_tft/screen_art.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_st7735_tft" pos="0 0 0.05" quat="1 0 0 0">
      <!-- Atech module st7735_tft (ST7735 TFT Color Display (160x80)); atech 1.0.0a11. Fields in sim.yaml placeholders: are guesses. -->
      <freejoint name="atech_st7735_tft_free"/>
      <geom name="atech_st7735_tft_black_cad" type="mesh" mesh="atech_st7735_tft_black_cad_mesh" rgba="0.0498 0.0498 0.0498 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_black_m_cad" type="mesh" mesh="atech_st7735_tft_black_m_cad_mesh" rgba="0.0849 0.0849 0.0849 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_glass_cad" type="mesh" mesh="atech_st7735_tft_glass_cad_mesh" rgba="0.9352 0.9538 0.9683 0.4196" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_gloss_cad" type="mesh" mesh="atech_st7735_tft_gloss_cad_mesh" rgba="0 0 0 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_gold_cad" type="mesh" mesh="atech_st7735_tft_gold_cad_mesh" rgba="0.721 0.6026 0.2864 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_pcb_cad" type="mesh" mesh="atech_st7735_tft_pcb_cad_mesh" rgba="0.0498 0.1107 0.2069 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_screen_art_cad" type="mesh" mesh="atech_st7735_tft_screen_art_cad_mesh" rgba="0 0 0 1" contype="0" conaffinity="0" group="2" mass="0"/>
      <geom name="atech_st7735_tft_body" type="box" size="0.01975 0.00975 0.00482" pos="0 0 0.00482" mass="0.016" rgba="0.12 0.13 0.15 1" friction="0.4 0.005 0.0001" group="3"/>
      <site name="atech_st7735_tft_connector" pos="0 0 0" quat="1 0 0 0" size="0.002" rgba="0 0.6 1 1" group="4"/>
      <site name="atech_st7735_tft_actuator" pos="0 0 0.00964" quat="1 0 0 0" size="0.002" rgba="1 0.2 0.2 1" group="4"/>
    </body>
  </worldbody>
</mujoco>