Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

FIXED - Scripting Error Unknown type DUMMY, we make a capsule.

FIXED - Scripting Error Unknown type DUMMY, we make a capsule.

Dear Colleagues,

I have somehow introduced a bug in my model and I cannot figure out how to fix it. All work is in OM 1.16 on Windows 10.

The following error shows after compilation with Simulate with Animation

Code:


[1]        20:28:26 Scripting Error
Unknown type DUMMY, we make a capsule.

and at each step of the animation with an increasing index between the square brackets.

I was able to find a shape declaration that uses DUMMY in a file called XXX_visual.xml. It looked like some derivative(?) of a revolute joint.

Is there a way to fix this?

Bedankt!

B

Code:


  <shape>
      <ident>$DER.cmg3.reactionWheelBearing</ident>
      <type>DUMMY</type>
      <T>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></T>
      <r>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></r>
      <r_shape>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></r_shape>
      <lengthDir>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></lengthDir>
      <widthDir>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></widthDir>
      <length>    <exp>-1.0</exp></length>
      <width>    <exp>-1.0</exp></width>
      <height>    <exp>-1.0</exp></height>
      <extra>    <exp>-1.0</exp></extra>
      <color>    <exp>-1.0</exp>
          <exp>-1.0</exp>
          <exp>-1.0</exp></color>
      <specCoeff>    <exp>-1.0</exp></specCoeff>
  </shape>

Edited by: bogey - Aug-17-20 23:13:16

Re: FIXED - Scripting Error Unknown type DUMMY, we make a capsule.

I fixed it by dragging and dropping instances of the component instead of duplicating it.
B

There are 0 guests and 0 other users also viewing this topic
You are here: