Opened 11 years ago
Last modified 11 years ago
#2585 closed defect
connects for array components do not work anymore — at Initial Version
Reported by: | Christian Schubert | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Adrian Pop, michael.kloeppel@…, Volker Waurich |
Description
Hi,
we have a simple N pendulum model, which reads
model NPendulum constant Integer N=10; World world; Body bodies[N]; RevoluteJoint joints[N]; equation connect(world.frame_b, joints[1].frame_a); connect(joints.frame_b, bodies.frame_a) "Connects all instances at once"; connect(bodies[1:N-1].frame_b, joints[2:N].frame_a) "Connects to next chain"; end NPendulum; As of r18987 this model doesn't translate anymore, because an assertion is raised {{{ [Joints.mo:310:5-311:62:writable] Error: Assertion during Translation failed: "Connector frame_b of revolute joint is not connected". }}} It would be great if someone could take a look at this. I will attach the model and a mos file, so that you can test it yourselves.
Note:
See TracTickets
for help on using tickets.
Model