Generic6DOFJoint.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="Generic6DOFJoint" inherits="Joint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
  3. <brief_description>
  4. The generic 6-degrees-of-freedom joint can implement a variety of joint types by locking certain axes' rotation or translation.
  5. </brief_description>
  6. <description>
  7. The first 3 DOF axes are linear axes, which represent translation of Bodies, and the latter 3 DOF axes represent the angular motion. Each axis can be either locked, or limited.
  8. </description>
  9. <tutorials>
  10. </tutorials>
  11. <methods>
  12. <method name="get_flag_x" qualifiers="const">
  13. <return type="bool" />
  14. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  15. <description>
  16. </description>
  17. </method>
  18. <method name="get_flag_y" qualifiers="const">
  19. <return type="bool" />
  20. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  21. <description>
  22. </description>
  23. </method>
  24. <method name="get_flag_z" qualifiers="const">
  25. <return type="bool" />
  26. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  27. <description>
  28. </description>
  29. </method>
  30. <method name="get_param_x" qualifiers="const">
  31. <return type="float" />
  32. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  33. <description>
  34. </description>
  35. </method>
  36. <method name="get_param_y" qualifiers="const">
  37. <return type="float" />
  38. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  39. <description>
  40. </description>
  41. </method>
  42. <method name="get_param_z" qualifiers="const">
  43. <return type="float" />
  44. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  45. <description>
  46. </description>
  47. </method>
  48. <method name="set_flag_x">
  49. <return type="void" />
  50. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  51. <argument index="1" name="value" type="bool" />
  52. <description>
  53. </description>
  54. </method>
  55. <method name="set_flag_y">
  56. <return type="void" />
  57. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  58. <argument index="1" name="value" type="bool" />
  59. <description>
  60. </description>
  61. </method>
  62. <method name="set_flag_z">
  63. <return type="void" />
  64. <argument index="0" name="flag" type="int" enum="Generic6DOFJoint.Flag" />
  65. <argument index="1" name="value" type="bool" />
  66. <description>
  67. </description>
  68. </method>
  69. <method name="set_param_x">
  70. <return type="void" />
  71. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  72. <argument index="1" name="value" type="float" />
  73. <description>
  74. </description>
  75. </method>
  76. <method name="set_param_y">
  77. <return type="void" />
  78. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  79. <argument index="1" name="value" type="float" />
  80. <description>
  81. </description>
  82. </method>
  83. <method name="set_param_z">
  84. <return type="void" />
  85. <argument index="0" name="param" type="int" enum="Generic6DOFJoint.Param" />
  86. <argument index="1" name="value" type="float" />
  87. <description>
  88. </description>
  89. </method>
  90. </methods>
  91. <members>
  92. <member name="angular_limit_x/damping" type="float" setter="set_param_x" getter="get_param_x" default="1.0">
  93. The amount of rotational damping across the X axis.
  94. The lower, the longer an impulse from one side takes to travel to the other side.
  95. </member>
  96. <member name="angular_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="true">
  97. If [code]true[/code], rotation across the X axis is limited.
  98. </member>
  99. <member name="angular_limit_x/erp" type="float" setter="set_param_x" getter="get_param_x" default="0.5">
  100. When rotating across the X axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
  101. </member>
  102. <member name="angular_limit_x/force_limit" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  103. The maximum amount of force that can occur, when rotating around the X axis.
  104. </member>
  105. <member name="angular_limit_x/lower_angle" type="float" setter="_set_angular_lo_limit_x" getter="_get_angular_lo_limit_x" default="0.0">
  106. The minimum rotation in negative direction to break loose and rotate around the X axis.
  107. </member>
  108. <member name="angular_limit_x/restitution" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  109. The amount of rotational restitution across the X axis. The lower, the more restitution occurs.
  110. </member>
  111. <member name="angular_limit_x/softness" type="float" setter="set_param_x" getter="get_param_x" default="0.5">
  112. The speed of all rotations across the X axis.
  113. </member>
  114. <member name="angular_limit_x/upper_angle" type="float" setter="_set_angular_hi_limit_x" getter="_get_angular_hi_limit_x" default="0.0">
  115. The minimum rotation in positive direction to break loose and rotate around the X axis.
  116. </member>
  117. <member name="angular_limit_y/damping" type="float" setter="set_param_y" getter="get_param_y" default="1.0">
  118. The amount of rotational damping across the Y axis. The lower, the more dampening occurs.
  119. </member>
  120. <member name="angular_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="true">
  121. If [code]true[/code], rotation across the Y axis is limited.
  122. </member>
  123. <member name="angular_limit_y/erp" type="float" setter="set_param_y" getter="get_param_y" default="0.5">
  124. When rotating across the Y axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
  125. </member>
  126. <member name="angular_limit_y/force_limit" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  127. The maximum amount of force that can occur, when rotating around the Y axis.
  128. </member>
  129. <member name="angular_limit_y/lower_angle" type="float" setter="_set_angular_lo_limit_y" getter="_get_angular_lo_limit_y" default="0.0">
  130. The minimum rotation in negative direction to break loose and rotate around the Y axis.
  131. </member>
  132. <member name="angular_limit_y/restitution" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  133. The amount of rotational restitution across the Y axis. The lower, the more restitution occurs.
  134. </member>
  135. <member name="angular_limit_y/softness" type="float" setter="set_param_y" getter="get_param_y" default="0.5">
  136. The speed of all rotations across the Y axis.
  137. </member>
  138. <member name="angular_limit_y/upper_angle" type="float" setter="_set_angular_hi_limit_y" getter="_get_angular_hi_limit_y" default="0.0">
  139. The minimum rotation in positive direction to break loose and rotate around the Y axis.
  140. </member>
  141. <member name="angular_limit_z/damping" type="float" setter="set_param_z" getter="get_param_z" default="1.0">
  142. The amount of rotational damping across the Z axis. The lower, the more dampening occurs.
  143. </member>
  144. <member name="angular_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="true">
  145. If [code]true[/code], rotation across the Z axis is limited.
  146. </member>
  147. <member name="angular_limit_z/erp" type="float" setter="set_param_z" getter="get_param_z" default="0.5">
  148. When rotating across the Z axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
  149. </member>
  150. <member name="angular_limit_z/force_limit" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  151. The maximum amount of force that can occur, when rotating around the Z axis.
  152. </member>
  153. <member name="angular_limit_z/lower_angle" type="float" setter="_set_angular_lo_limit_z" getter="_get_angular_lo_limit_z" default="0.0">
  154. The minimum rotation in negative direction to break loose and rotate around the Z axis.
  155. </member>
  156. <member name="angular_limit_z/restitution" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  157. The amount of rotational restitution across the Z axis. The lower, the more restitution occurs.
  158. </member>
  159. <member name="angular_limit_z/softness" type="float" setter="set_param_z" getter="get_param_z" default="0.5">
  160. The speed of all rotations across the Z axis.
  161. </member>
  162. <member name="angular_limit_z/upper_angle" type="float" setter="_set_angular_hi_limit_z" getter="_get_angular_hi_limit_z" default="0.0">
  163. The minimum rotation in positive direction to break loose and rotate around the Z axis.
  164. </member>
  165. <member name="angular_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="false">
  166. If [code]true[/code], a rotating motor at the X axis is enabled.
  167. </member>
  168. <member name="angular_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x" default="300.0">
  169. Maximum acceleration for the motor at the X axis.
  170. </member>
  171. <member name="angular_motor_x/target_velocity" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  172. Target speed for the motor at the X axis.
  173. </member>
  174. <member name="angular_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="false">
  175. If [code]true[/code], a rotating motor at the Y axis is enabled.
  176. </member>
  177. <member name="angular_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y" default="300.0">
  178. Maximum acceleration for the motor at the Y axis.
  179. </member>
  180. <member name="angular_motor_y/target_velocity" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  181. Target speed for the motor at the Y axis.
  182. </member>
  183. <member name="angular_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="false">
  184. If [code]true[/code], a rotating motor at the Z axis is enabled.
  185. </member>
  186. <member name="angular_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z" default="300.0">
  187. Maximum acceleration for the motor at the Z axis.
  188. </member>
  189. <member name="angular_motor_z/target_velocity" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  190. Target speed for the motor at the Z axis.
  191. </member>
  192. <member name="angular_spring_x/damping" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  193. </member>
  194. <member name="angular_spring_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="false">
  195. </member>
  196. <member name="angular_spring_x/equilibrium_point" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  197. </member>
  198. <member name="angular_spring_x/stiffness" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  199. </member>
  200. <member name="angular_spring_y/damping" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  201. </member>
  202. <member name="angular_spring_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="false">
  203. </member>
  204. <member name="angular_spring_y/equilibrium_point" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  205. </member>
  206. <member name="angular_spring_y/stiffness" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  207. </member>
  208. <member name="angular_spring_z/damping" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  209. </member>
  210. <member name="angular_spring_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="false">
  211. </member>
  212. <member name="angular_spring_z/equilibrium_point" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  213. </member>
  214. <member name="angular_spring_z/stiffness" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  215. </member>
  216. <member name="linear_limit_x/damping" type="float" setter="set_param_x" getter="get_param_x" default="1.0">
  217. The amount of damping that happens at the X motion.
  218. </member>
  219. <member name="linear_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="true">
  220. If [code]true[/code], the linear motion across the X axis is limited.
  221. </member>
  222. <member name="linear_limit_x/lower_distance" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  223. The minimum difference between the pivot points' X axis.
  224. </member>
  225. <member name="linear_limit_x/restitution" type="float" setter="set_param_x" getter="get_param_x" default="0.5">
  226. The amount of restitution on the X axis movement. The lower, the more momentum gets lost.
  227. </member>
  228. <member name="linear_limit_x/softness" type="float" setter="set_param_x" getter="get_param_x" default="0.7">
  229. A factor applied to the movement across the X axis. The lower, the slower the movement.
  230. </member>
  231. <member name="linear_limit_x/upper_distance" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  232. The maximum difference between the pivot points' X axis.
  233. </member>
  234. <member name="linear_limit_y/damping" type="float" setter="set_param_y" getter="get_param_y" default="1.0">
  235. The amount of damping that happens at the Y motion.
  236. </member>
  237. <member name="linear_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="true">
  238. If [code]true[/code], the linear motion across the Y axis is limited.
  239. </member>
  240. <member name="linear_limit_y/lower_distance" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  241. The minimum difference between the pivot points' Y axis.
  242. </member>
  243. <member name="linear_limit_y/restitution" type="float" setter="set_param_y" getter="get_param_y" default="0.5">
  244. The amount of restitution on the Y axis movement. The lower, the more momentum gets lost.
  245. </member>
  246. <member name="linear_limit_y/softness" type="float" setter="set_param_y" getter="get_param_y" default="0.7">
  247. A factor applied to the movement across the Y axis. The lower, the slower the movement.
  248. </member>
  249. <member name="linear_limit_y/upper_distance" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  250. The maximum difference between the pivot points' Y axis.
  251. </member>
  252. <member name="linear_limit_z/damping" type="float" setter="set_param_z" getter="get_param_z" default="1.0">
  253. The amount of damping that happens at the Z motion.
  254. </member>
  255. <member name="linear_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="true">
  256. If [code]true[/code], the linear motion across the Z axis is limited.
  257. </member>
  258. <member name="linear_limit_z/lower_distance" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  259. The minimum difference between the pivot points' Z axis.
  260. </member>
  261. <member name="linear_limit_z/restitution" type="float" setter="set_param_z" getter="get_param_z" default="0.5">
  262. The amount of restitution on the Z axis movement. The lower, the more momentum gets lost.
  263. </member>
  264. <member name="linear_limit_z/softness" type="float" setter="set_param_z" getter="get_param_z" default="0.7">
  265. A factor applied to the movement across the Z axis. The lower, the slower the movement.
  266. </member>
  267. <member name="linear_limit_z/upper_distance" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  268. The maximum difference between the pivot points' Z axis.
  269. </member>
  270. <member name="linear_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="false">
  271. If [code]true[/code], then there is a linear motor on the X axis. It will attempt to reach the target velocity while staying within the force limits.
  272. </member>
  273. <member name="linear_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  274. The maximum force the linear motor can apply on the X axis while trying to reach the target velocity.
  275. </member>
  276. <member name="linear_motor_x/target_velocity" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  277. The speed that the linear motor will attempt to reach on the X axis.
  278. </member>
  279. <member name="linear_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="false">
  280. If [code]true[/code], then there is a linear motor on the Y axis. It will attempt to reach the target velocity while staying within the force limits.
  281. </member>
  282. <member name="linear_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  283. The maximum force the linear motor can apply on the Y axis while trying to reach the target velocity.
  284. </member>
  285. <member name="linear_motor_y/target_velocity" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  286. The speed that the linear motor will attempt to reach on the Y axis.
  287. </member>
  288. <member name="linear_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="false">
  289. If [code]true[/code], then there is a linear motor on the Z axis. It will attempt to reach the target velocity while staying within the force limits.
  290. </member>
  291. <member name="linear_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  292. The maximum force the linear motor can apply on the Z axis while trying to reach the target velocity.
  293. </member>
  294. <member name="linear_motor_z/target_velocity" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  295. The speed that the linear motor will attempt to reach on the Z axis.
  296. </member>
  297. <member name="linear_spring_x/damping" type="float" setter="set_param_x" getter="get_param_x" default="0.01">
  298. </member>
  299. <member name="linear_spring_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x" default="false">
  300. </member>
  301. <member name="linear_spring_x/equilibrium_point" type="float" setter="set_param_x" getter="get_param_x" default="0.0">
  302. </member>
  303. <member name="linear_spring_x/stiffness" type="float" setter="set_param_x" getter="get_param_x" default="0.01">
  304. </member>
  305. <member name="linear_spring_y/damping" type="float" setter="set_param_y" getter="get_param_y" default="0.01">
  306. </member>
  307. <member name="linear_spring_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y" default="false">
  308. </member>
  309. <member name="linear_spring_y/equilibrium_point" type="float" setter="set_param_y" getter="get_param_y" default="0.0">
  310. </member>
  311. <member name="linear_spring_y/stiffness" type="float" setter="set_param_y" getter="get_param_y" default="0.01">
  312. </member>
  313. <member name="linear_spring_z/damping" type="float" setter="set_param_z" getter="get_param_z" default="0.01">
  314. </member>
  315. <member name="linear_spring_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z" default="false">
  316. </member>
  317. <member name="linear_spring_z/equilibrium_point" type="float" setter="set_param_z" getter="get_param_z" default="0.0">
  318. </member>
  319. <member name="linear_spring_z/stiffness" type="float" setter="set_param_z" getter="get_param_z" default="0.01">
  320. </member>
  321. </members>
  322. <constants>
  323. <constant name="PARAM_LINEAR_LOWER_LIMIT" value="0" enum="Param">
  324. The minimum difference between the pivot points' axes.
  325. </constant>
  326. <constant name="PARAM_LINEAR_UPPER_LIMIT" value="1" enum="Param">
  327. The maximum difference between the pivot points' axes.
  328. </constant>
  329. <constant name="PARAM_LINEAR_LIMIT_SOFTNESS" value="2" enum="Param">
  330. A factor applied to the movement across the axes. The lower, the slower the movement.
  331. </constant>
  332. <constant name="PARAM_LINEAR_RESTITUTION" value="3" enum="Param">
  333. The amount of restitution on the axes' movement. The lower, the more momentum gets lost.
  334. </constant>
  335. <constant name="PARAM_LINEAR_DAMPING" value="4" enum="Param">
  336. The amount of damping that happens at the linear motion across the axes.
  337. </constant>
  338. <constant name="PARAM_LINEAR_MOTOR_TARGET_VELOCITY" value="5" enum="Param">
  339. The velocity the linear motor will try to reach.
  340. </constant>
  341. <constant name="PARAM_LINEAR_MOTOR_FORCE_LIMIT" value="6" enum="Param">
  342. The maximum force the linear motor will apply while trying to reach the velocity target.
  343. </constant>
  344. <constant name="PARAM_LINEAR_SPRING_STIFFNESS" value="7" enum="Param">
  345. </constant>
  346. <constant name="PARAM_LINEAR_SPRING_DAMPING" value="8" enum="Param">
  347. </constant>
  348. <constant name="PARAM_LINEAR_SPRING_EQUILIBRIUM_POINT" value="9" enum="Param">
  349. </constant>
  350. <constant name="PARAM_ANGULAR_LOWER_LIMIT" value="10" enum="Param">
  351. The minimum rotation in negative direction to break loose and rotate around the axes.
  352. </constant>
  353. <constant name="PARAM_ANGULAR_UPPER_LIMIT" value="11" enum="Param">
  354. The minimum rotation in positive direction to break loose and rotate around the axes.
  355. </constant>
  356. <constant name="PARAM_ANGULAR_LIMIT_SOFTNESS" value="12" enum="Param">
  357. The speed of all rotations across the axes.
  358. </constant>
  359. <constant name="PARAM_ANGULAR_DAMPING" value="13" enum="Param">
  360. The amount of rotational damping across the axes. The lower, the more dampening occurs.
  361. </constant>
  362. <constant name="PARAM_ANGULAR_RESTITUTION" value="14" enum="Param">
  363. The amount of rotational restitution across the axes. The lower, the more restitution occurs.
  364. </constant>
  365. <constant name="PARAM_ANGULAR_FORCE_LIMIT" value="15" enum="Param">
  366. The maximum amount of force that can occur, when rotating around the axes.
  367. </constant>
  368. <constant name="PARAM_ANGULAR_ERP" value="16" enum="Param">
  369. When rotating across the axes, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
  370. </constant>
  371. <constant name="PARAM_ANGULAR_MOTOR_TARGET_VELOCITY" value="17" enum="Param">
  372. Target speed for the motor at the axes.
  373. </constant>
  374. <constant name="PARAM_ANGULAR_MOTOR_FORCE_LIMIT" value="18" enum="Param">
  375. Maximum acceleration for the motor at the axes.
  376. </constant>
  377. <constant name="PARAM_ANGULAR_SPRING_STIFFNESS" value="19" enum="Param">
  378. </constant>
  379. <constant name="PARAM_ANGULAR_SPRING_DAMPING" value="20" enum="Param">
  380. </constant>
  381. <constant name="PARAM_ANGULAR_SPRING_EQUILIBRIUM_POINT" value="21" enum="Param">
  382. </constant>
  383. <constant name="PARAM_MAX" value="22" enum="Param">
  384. Represents the size of the [enum Param] enum.
  385. </constant>
  386. <constant name="FLAG_ENABLE_LINEAR_LIMIT" value="0" enum="Flag">
  387. If enabled, linear motion is possible within the given limits.
  388. </constant>
  389. <constant name="FLAG_ENABLE_ANGULAR_LIMIT" value="1" enum="Flag">
  390. If enabled, rotational motion is possible within the given limits.
  391. </constant>
  392. <constant name="FLAG_ENABLE_LINEAR_SPRING" value="3" enum="Flag">
  393. </constant>
  394. <constant name="FLAG_ENABLE_ANGULAR_SPRING" value="2" enum="Flag">
  395. </constant>
  396. <constant name="FLAG_ENABLE_MOTOR" value="4" enum="Flag">
  397. If enabled, there is a rotational motor across these axes.
  398. </constant>
  399. <constant name="FLAG_ENABLE_LINEAR_MOTOR" value="5" enum="Flag">
  400. If enabled, there is a linear motor across these axes.
  401. </constant>
  402. <constant name="FLAG_MAX" value="6" enum="Flag">
  403. Represents the size of the [enum Flag] enum.
  404. </constant>
  405. </constants>
  406. </class>