|
12 | 12 | <mesh name="pcb" file="cf2x/cf2x_pcb.stl" scale="0.001 0.001 0.001"/> |
13 | 13 | <mesh name="motors" file="cf2x/cf2xT_motors.stl" scale="0.001 0.001 0.001"/> |
14 | 14 | <mesh name="motor-holder" file="cf2x/cf2x_motor-holder.stl" scale="0.001 0.001 0.001"/> |
15 | | - <mesh name="propL" file="cf2x/cf2xT_PropL.stl" scale="0.001 0.001 0.001"/> |
16 | | - <mesh name="propR" file="cf2x/cf2xT_PropR.stl" scale="0.001 0.001 0.001"/> |
| 15 | + <!-- Using the wrong propellers for now. Correct ones not available --> |
| 16 | + <mesh name="propL" file="cf21B/cf21B_PropL.stl" scale="0.001 0.001 0.001"/> |
| 17 | + <mesh name="propR" file="cf21B/cf21B_PropR.stl" scale="0.001 0.001 0.001"/> |
17 | 18 | <mesh name="connectors" file="cf2x/cf2x_connectors.stl" scale="0.001 0.001 0.001"/> |
18 | 19 | <mesh name="connector-pins" file="cf2x/cf2x_connector-pins.stl" scale="0.001 0.001 0.001"/> |
19 | 20 | <mesh name="battery" file="cf2x/cf2x_battery.stl" scale="0.001 0.001 0.001"/> |
|
43 | 44 | <geom mesh="connector-pins" material="gold" class="visual" /> |
44 | 45 | <geom mesh="battery" material="light-gray" class="visual" /> |
45 | 46 | <geom mesh="battery-holder" material="black" class="visual" /> |
| 47 | + |
46 | 48 | <!-- Collision geometry is estimated based on the visual mesh. We use a sphere for maximum |
47 | | - computational efficiency with larger swarms. --> |
48 | | - <geom type="sphere" size="0.055" class="collision" name="col" /> |
| 49 | + computational efficiency with larger swarms. Used by default--> |
| 50 | + <geom name="col_sphere" type="sphere" size="0.0725" pos="0 0 0.01" class="collision" contype="1" conaffinity="1" /> |
| 51 | + <!-- For higher accuracy with lower performance, you can use a box. By default off. --> |
| 52 | + <geom name="col_box" type="box" size="0.0575 0.0575 0.02" class="collision" rgba="0.5 0.5 0.5 0" contype="0" conaffinity="0" /> |
| 53 | + |
49 | 54 | <site name="CoM" /> |
50 | 55 | <site name="motor0" pos="0.0325 -0.0325 0.0" /> |
51 | 56 | <site name="motor1" pos="-0.0325 -0.0325 0.0" /> |
52 | 57 | <site name="motor2" pos="-0.0325 0.0325 0.0" /> |
53 | 58 | <site name="motor3" pos="0.0325 0.0325 0.0" /> |
54 | 59 |
|
55 | 60 | <!-- Propellers --> |
56 | | - <body name="prop0" pos="0.0325 -0.0325 0.012" euler="0 0 45"> |
| 61 | + <body name="prop0" pos="0.0325 -0.0325 0.015" euler="0 0 45"> |
57 | 62 | <geom mesh="propL" material="black" class="visual"/> |
58 | 63 | </body> |
59 | | - <body name="prop1" pos="-0.0325 -0.0325 0.012" euler="0 0 135"> |
| 64 | + <body name="prop1" pos="-0.0325 -0.0325 0.015" euler="0 0 135"> |
60 | 65 | <geom mesh="propR" material="black" class="visual"/> |
61 | 66 | </body> |
62 | | - <body name="prop2" pos="-0.0325 0.0325 0.012" euler="0 0 225"> |
| 67 | + <body name="prop2" pos="-0.0325 0.0325 0.015" euler="0 0 225"> |
63 | 68 | <geom mesh="propL" material="black" class="visual"/> |
64 | 69 | </body> |
65 | | - <body name="prop3" pos="0.0325 0.0325 0.012" euler="0 0 315"> |
| 70 | + <body name="prop3" pos="0.0325 0.0325 0.015" euler="0 0 315"> |
66 | 71 | <geom mesh="propR" material="black" class="visual"/> |
67 | 72 | </body> |
68 | 73 | </body> |
|
0 commit comments