Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Ruby problem?

Post any examples or modules that you want to share here

Ruby problem?

Postby adic » Fri Oct 30, 2015 1:03 pm

Hello,

I made an example of Ruby animation on FS 3.06, which does not work for some reason on the latest version 3.08.1 (trial). Have DSProbotics perhaps changed the specification of Ruby's draw method?

So long
Attachments
circle_lfo.fsm
this schematic works well on FS3.06 but does not work on FS3.08.1
(14.9 KiB) Downloaded 950 times
adic
 
Posts: 27
Joined: Fri Nov 02, 2012 6:37 pm

Re: Ruby problem?

Postby KG_is_back » Fri Oct 30, 2015 1:41 pm

The problem is, variable @x now by default references the current Thread. Unfortunately you cannot use it. Just change it to some different name and everything should be OK
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Ruby problem?

Postby adic » Fri Oct 30, 2015 3:19 pm

Hello, KG

I've replaced the variable names (@x -> @x1) as you told and the schematic is working well on the latest version 3.08.1.

thank you.
Attachments
circle_lfo_v2.fsm
corrected version
(15.36 KiB) Downloaded 938 times
adic
 
Posts: 27
Joined: Fri Nov 02, 2012 6:37 pm


Return to User Examples

Who is online

Users browsing this forum: No registered users and 26 guests