Changeset 1187 for cpp/frams


Ignore:
Timestamp:
11/20/22 20:34:25 (2 years ago)
Author:
Maciej Komosinski
Message:

Updated property names, types, ranges and descriptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/config/f0def.xml

    r419 r1187  
    66  <GROUP NAME="Visual" />
    77  <PROP ID="se" NAME="startenergy" GROUP="0" FLAGS="1024" TYPE="f" />
    8   <PROP ID="Vstyle" NAME="vis_style" GROUP="1" FLAGS="0" TYPE="s" MIN="0" MAX="-1" />
     8  <PROP ID="Vstyle" NAME="Visual style" GROUP="1" FLAGS="0" TYPE="s" MIN="0" MAX="-1" />
    99 </CLASS>
    1010
     
    1616  <PROP ID="y" NAME="position.y" GROUP="0" FLAGS="1024" TYPE="f" />
    1717  <PROP ID="z" NAME="position.z" GROUP="0" FLAGS="1024" TYPE="f" />
    18   <PROP ID="m" XTRA="1" NAME="mass" GROUP="1" FLAGS="0" TYPE="f" MIN="0.1" MAX="999.0" DEF="1.0" />
    19   <PROP ID="sh" NAME="shape" GROUP="1" FLAGS="0" TYPE="d" MIN="0" MAX="3" DEF="0" />
    20   <PROP ID="s" NAME="size" GROUP="1" FLAGS="0" TYPE="f" MIN="0.1" MAX="10.0" DEF="1.0" />
    21   <PROP ID="sx" NAME="scale.x" GROUP="1" FLAGS="0" TYPE="f" MIN="0.001" MAX="1000.0" DEF="1.0" />
    22   <PROP ID="sy" NAME="scale.y" GROUP="1" FLAGS="0" TYPE="f" MIN="0.001" MAX="1000.0" DEF="1.0" />
    23   <PROP ID="sz" NAME="scale.z" GROUP="1" FLAGS="0" TYPE="f" MIN="0.001" MAX="1000.0" DEF="1.0" />
    24   <PROP ID="h" NAME="hollow" GROUP="1" FLAGS="0" TYPE="f" MIN="0" MAX="1" DEF="0" />
     18  <PROP ID="sh" NAME="shape" GROUP="0" FLAGS="0" TYPE="d" MIN="0" MAX="3" DEF="0" />
     19  <PROP ID="s" NAME="size" GROUP="0" FLAGS="0" TYPE="f" MIN="0.1" MAX="10.0" DEF="1.0" />
     20  <PROP ID="sx" NAME="scale.x" GROUP="0" FLAGS="0" TYPE="f" MIN="0.05" MAX="5.0" DEF="1.0" />
     21  <PROP ID="sy" NAME="scale.y" GROUP="0" FLAGS="0" TYPE="f" MIN="0.05" MAX="5.0" DEF="1.0" />
     22  <PROP ID="sz" NAME="scale.z" GROUP="0" FLAGS="0" TYPE="f" MIN="0.05" MAX="5.0" DEF="1.0" />
     23  <PROP ID="h" XTRA="1" NAME="hollow" GROUP="1" FLAGS="0" TYPE="f" MIN="0" MAX="1" DEF="0" />
    2524  <PROP ID="dn" XTRA="1" NAME="density" GROUP="1" FLAGS="0" TYPE="f" MIN="0.2" MAX="5.0" DEF="1.0" />
    2625  <PROP ID="fr" XTRA="1" NAME="friction" GROUP="1" FLAGS="0" TYPE="f" MIN="0.0" MAX="4.0" DEF="0.4" />
     
    3130  <PROP ID="rz" NAME="rot.z" GROUP="0" FLAGS="1024" TYPE="f" />
    3231  <PROP ID="i" NAME="info" GROUP="1" FLAGS="0" TYPE="s" />
    33   <PROP ID="Vstyle" NAME="vis_style" GROUP="2" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="part" />
    34   <PROP ID="vs" XTRA="1" NAME="visual thickness" GROUP="2" FLAGS="0" TYPE="f" MIN="0.05" MAX="0.7" DEF="0.2" />
     32  <PROP ID="Vstyle" NAME="Visual style" GROUP="2" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="part" />
    3533  <PROP ID="vr" XTRA="1" NAME="red component" GROUP="2" FLAGS="0" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.5" />
    3634  <PROP ID="vg" XTRA="1" NAME="green component" GROUP="2" FLAGS="1024" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.5" />
    3735  <PROP ID="vb" XTRA="1" NAME="blue component" GROUP="2" FLAGS="1024" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.5" />
     36 </CLASS>
     37
     38 <CLASS ID="p" NAME="Part_MinMaxDef">
     39  <GROUP NAME="Geometry" />
     40  <PROP ID="f" NAME="volume" GROUP="0" FLAGS="0" TYPE="f" MIN="0.83776" MAX="20.94395" DEF="4.18879" />
    3841 </CLASS>
    3942
     
    5154  <PROP ID="dy" NAME="delta.y" GROUP="1" FLAGS="1024" TYPE="f" MIN="-2" MAX="2" DEF="0" />
    5255  <PROP ID="dz" NAME="delta.z" GROUP="1" FLAGS="1024" TYPE="f" MIN="-2" MAX="2" DEF="0" />
    53   <PROP ID="sh" NAME="shape" GROUP="2" FLAGS="0" TYPE="d" MIN="0" MAX="1" DEF="0" />
     56  <PROP ID="sh" NAME="shape" GROUP="1" FLAGS="0" TYPE="d" MIN="0" MAX="3" DEF="0" />
     57  <PROP ID="hx" NAME="hinge position.x" GROUP="1" FLAGS="0" TYPE="f" DEF="0" />
     58  <PROP ID="hy" NAME="hinge position.y" GROUP="1" FLAGS="1024" TYPE="f" DEF="0" />
     59  <PROP ID="hz" NAME="hinge position.z" GROUP="1" FLAGS="1024" TYPE="f" DEF="0" />
     60  <PROP ID="hrx" NAME="hinge rotation.x" GROUP="1" FLAGS="0" TYPE="f" DEF="0" />
     61  <PROP ID="hry" NAME="hinge rotation.y" GROUP="1" FLAGS="1024" TYPE="f" DEF="0" />
     62  <PROP ID="hrz" NAME="hinge rotation.z" GROUP="1" FLAGS="1024" TYPE="f" DEF="0" />
     63  <PROP ID="hxn" NAME="hinge x negative limit" GROUP="1" FLAGS="0" TYPE="f" MIN="-6.2832" MAX="0" DEF="-1.5708" />
     64  <PROP ID="hxp" NAME="hinge x positive limit" GROUP="1" FLAGS="1024" TYPE="f" MIN="0" MAX="6.2832" DEF="1.5708" />
     65  <PROP ID="hyn" NAME="hinge y negative limit" GROUP="1" FLAGS="0" TYPE="f" MIN="-6.2832" MAX="0" DEF="-1.5708" />
     66  <PROP ID="hyp" NAME="hinge y positive limit" GROUP="1" FLAGS="1024" TYPE="f" MIN="0" MAX="6.2832" DEF="1.5708" />
    5467  <PROP ID="stif" XTRA="1" NAME="stiffness" GROUP="2" FLAGS="0" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
    5568  <PROP ID="rotstif" XTRA="1" NAME="rotation stiffness" GROUP="2" FLAGS="0" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
    5669  <PROP ID="stam" NAME="stamina" GROUP="2" FLAGS="0" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.25" />
    5770  <PROP ID="i" NAME="info" GROUP="2" FLAGS="0" TYPE="s" />
    58   <PROP ID="Vstyle" NAME="vis_style" GROUP="3" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="joint" />
     71  <PROP ID="Vstyle" NAME="Visual style" GROUP="3" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="joint" />
    5972  <PROP ID="vr" XTRA="1" NAME="red component" GROUP="3" FLAGS="0" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.5" />
    6073  <PROP ID="vg" XTRA="1" NAME="green component" GROUP="3" FLAGS="1024" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.5" />
     
    7285  <PROP ID="d" NAME="details" GROUP="1" FLAGS="0" TYPE="s" DEF="N" />
    7386  <PROP ID="i" NAME="info" GROUP="1" FLAGS="0" TYPE="s" />
    74   <PROP ID="Vstyle" NAME="vis_style" GROUP="2" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="neuro" />
     87  <PROP ID="Vstyle" NAME="Visual style" GROUP="2" FLAGS="0" TYPE="s" MIN="0" MAX="-1" DEF="neuro" />
    7588  <PROP ID="getInputCount" NAME="input count" GROUP="0" FLAGS="1+2" TYPE="d" />
    76   <PROP ID="getInputNeuroDef" NAME="get input neuron" GROUP="0" FLAGS="1+2" TYPE="p oNeuroDef(d)" />
    77   <PROP ID="getInputNeuroIndex" NAME="get input neuron index" GROUP="0" FLAGS="1+2" TYPE="p d(d)" />
    78   <PROP ID="getInputWeight" NAME="get input weight" GROUP="0" FLAGS="1+2" TYPE="p f(d)" />
    79   <PROP ID="classObject" NAME="neuron class" GROUP="0" FLAGS="1+2" TYPE="o NeuroClass" />
     89  <PROP ID="getInputNeuroDef" NAME="get input neuron" GROUP="0" FLAGS="0" TYPE="p oNeuroDef(d)" />
     90  <PROP ID="getInputNeuroIndex" NAME="get input neuron index" GROUP="0" FLAGS="0" TYPE="p d(d)" />
     91  <PROP ID="getInputWeight" NAME="get input weight" GROUP="0" FLAGS="0" TYPE="p f(d)" />
     92  <PROP ID="classObject" NAME="neuron class" GROUP="0" FLAGS="1+2" TYPE="oNeuroClass" />
    8093 </CLASS>
    8194
     
    104117 </NEUROCLASS>
    105118
    106  <NEUROCLASS ID="G" NAME="Gyroscope" DESCRIPTION="Equilibrium sensor.\n0=the stick is horizontal\n+1/-1=the stick is vertical" INPUTS="0" OUTPUT="1" LOCATION="2"  VISUALHINTS="32"  SYMBOL="8,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,12,43,24,48,24,48,19,38,19,38,24,43,24,43,54,48,54,48,64,43,69,38,64,38,54,43,54,5,63,69,58,74,48,79,38,79,28,74,23,69,1,43,79,43,74,1,23,69,26,66,1,63,69,60,66,1,55,76,53,73,1,31,75,33,72"  >
    107 
    108 
    109  </NEUROCLASS>
    110 
    111  <NEUROCLASS ID="T" NAME="Touch" DESCRIPTION="Touch sensor.\n-1=no contact\n0=just touching\n>0=pressing, value depends on the force applied" INPUTS="0" OUTPUT="1" LOCATION="1"  VISUALHINTS="32"  SYMBOL="2,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,11,75,50,65,50,60,55,55,45,50,55,45,45,40,50,35,50,30,45,25,50,30,55,35,50"  >
     119 <NEUROCLASS ID="G" NAME="Gyroscope" DESCRIPTION="Tilt sensor.\nSignal is proportional to sin(angle) = most sensitive in horizontal orientation.\n0=the stick is horizontal\n+1/-1=the stick is vertical" INPUTS="0" OUTPUT="1" LOCATION="2"  SHAPETYPE="1"  VISUALHINTS="32"  SYMBOL="8,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,12,43,24,48,24,48,19,38,19,38,24,43,24,43,54,48,54,48,64,43,69,38,64,38,54,43,54,5,63,69,58,74,48,79,38,79,28,74,23,69,1,43,79,43,74,1,23,69,26,66,1,63,69,60,66,1,55,76,53,73,1,31,75,33,72"  >
     120
     121
     122
     123 </NEUROCLASS>
     124
     125 <NEUROCLASS ID="Gpart" NAME="Part Gyroscope" DESCRIPTION="Tilt sensor. Signal is directly proportional to the tilt angle.\n0=the part X axis is horizontal\n+1/-1=the axis is vertical" INPUTS="0" OUTPUT="1" LOCATION="1"  VISUALHINTS="32"  SYMBOL="8,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,12,43,24,48,24,48,19,38,19,38,24,43,24,43,54,48,54,48,64,43,69,38,64,38,54,43,54,5,63,69,58,74,48,79,38,79,28,74,23,69,1,43,79,43,74,1,23,69,26,66,1,63,69,60,66,1,55,76,53,73,1,31,75,33,72"  >
     126
     127
     128  <NEUROPROP ID="ry" NAME="rotation.y" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
     129  <NEUROPROP ID="rz" NAME="rotation.z" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
     130 </NEUROCLASS>
     131
     132 <NEUROCLASS ID="T" NAME="Touch" DESCRIPTION="Touch and proximity sensor (Tcontact and Tproximity combined)\n-1=no contact\n0=just touching\n>0=pressing, value depends on the force applied (not implemented in ODE mode)" INPUTS="0" OUTPUT="1" LOCATION="1"  VISUALHINTS="32"  SYMBOL="2,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,11,75,50,65,50,60,55,55,45,50,55,45,45,40,50,35,50,30,45,25,50,30,55,35,50"  >
    112133
    113134
    114135  <NEUROPROP ID="r" NAME="Range" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
     136  <NEUROPROP ID="ry" NAME="rotation.y" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
     137  <NEUROPROP ID="rz" NAME="rotation.z" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
     138 </NEUROCLASS>
     139
     140 <NEUROCLASS ID="Tcontact" NAME="Touch contact" DESCRIPTION="Touch sensor.\n-1=no contact\n0=the Part is touching the obstacle\n>0=pressing, value depends on the force applied (not implemented in ODE mode)" INPUTS="0" OUTPUT="1" LOCATION="1"  VISUALHINTS="32"  SYMBOL="2,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,11,75,50,65,50,60,55,55,45,50,55,45,45,40,50,35,50,30,45,25,50,30,55,35,50"  >
     141
     142
     143 </NEUROCLASS>
     144
     145 <NEUROCLASS ID="Tproximity" NAME="Touch proximity" DESCRIPTION="Proximity sensor detecting obstacles along the X axis.\n-1=distance is &quot;r&quot; or more\n0=zero distance" INPUTS="0" OUTPUT="1" LOCATION="1"  VISUALHINTS="32"  SYMBOL="2,7,100,50,90,50,90,40,70,40,80,50,70,60,90,60,90,50,11,75,50,65,50,60,55,55,45,50,55,45,45,40,50,35,50,30,45,25,50,30,55,35,50"  >
     146
     147
     148  <NEUROPROP ID="r" NAME="Range" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
     149  <NEUROPROP ID="ry" NAME="rotation.y" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
     150  <NEUROPROP ID="rz" NAME="rotation.z" TYPE="f" MIN="-6.282" MAX="6.282" DEF="0" />
    115151 </NEUROCLASS>
    116152
     
    125161 </NEUROCLASS>
    126162
    127  <NEUROCLASS ID="|" NAME="Bend muscle" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  VISUALHINTS="86"  SYMBOL="6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21"  >
    128 
    129 
    130   <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.01" MAX="1.0" DEF="0.25" />
     163 <NEUROCLASS ID="|" NAME="Bend muscle" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  SHAPETYPE="1"  VISUALHINTS="86"  SYMBOL="6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21"  >
     164
     165
     166
     167  <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.0" MAX="1.0" DEF="0.25" />
    131168  <NEUROPROP ID="r" NAME="bending range" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
    132169 </NEUROCLASS>
    133170
    134  <NEUROCLASS ID="@" NAME="Rotation muscle" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  VISUALHINTS="150"  SYMBOL="5,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,1,69,10,77,17,10,59,15,57,17,57,22,60,26,69,27,78,26,82,21,82,16,79,12,69,10,80,6,3,65,50,65,20,75,20,75,50"  >
    135 
    136 
    137   <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.01" MAX="1.0" DEF="1.0" />
     171 <NEUROCLASS ID="@" NAME="Rotation muscle" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  SHAPETYPE="1"  VISUALHINTS="150"  SYMBOL="5,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,1,69,10,77,17,10,59,15,57,17,57,22,60,26,69,27,78,26,82,21,82,16,79,12,69,10,80,6,3,65,50,65,20,75,20,75,50"  >
     172
     173
     174
     175  <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
     176 </NEUROCLASS>
     177
     178 <NEUROCLASS ID="M" NAME="Muscle for solids" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  SHAPETYPE="2"  JOINTTYPE="12"  VISUALHINTS="532"  SYMBOL="6,5,25,40,35,40,45,50,35,60,25,60,25,40,4,65,85,65,50,75,50,75,85,65,85,3,65,56,49,29,57,24,72,50,4,68,53,70,53,70,55,68,55,68,53,5,50,21,60,15,70,14,79,15,87,20,81,10,1,86,20,77,21"  >
     179
     180
     181
     182
     183  <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.0" MAX="1.0" DEF="1.0" />
     184  <NEUROPROP ID="a" NAME="axis" TYPE="d" MIN="0" MAX="1" DEF="0" />
    138185 </NEUROCLASS>
    139186
     
    169216 </NEUROCLASS>
    170217
    171  <NEUROCLASS ID="Sti" NAME="Sticky [EXPERIMENTAL!]" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="1"  VISUALHINTS="16"  >
    172 
    173  </NEUROCLASS>
    174 
    175  <NEUROCLASS ID="LMu" NAME="Linear muscle [EXPERIMENTAL!]" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  VISUALHINTS="272"  >
     218 <NEUROCLASS ID="Sti" NAME="Sticky [EXPERIMENTAL!]" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="1"  SHAPETYPE="1"  VISUALHINTS="16"  >
     219
     220
     221 </NEUROCLASS>
     222
     223 <NEUROCLASS ID="LMu" NAME="Linear muscle [EXPERIMENTAL!]" DESCRIPTION="" INPUTS="1" OUTPUT="0" LOCATION="2"  SHAPETYPE="1"  VISUALHINTS="272"  >
     224
    176225
    177226  <NEUROPROP ID="p" NAME="power" TYPE="f" MIN="0.01" MAX="1.0" DEF="1.0" />
Note: See TracChangeset for help on using the changeset viewer.