Okay, I haven’t given up yet on Flowbotics, even though I still can’t make some sections work.
I loaded the BRAT biped to try and understand what is going on. I don’t have a biped connected…I just want to make things work on screen with the PS2 controller. I can’t. And I don’t see where the connection is between the PS2 and the simulator. I ASSUME that a connected PS2 controller (purchased from RobotShop) will operate the legs of the biped on screen. Is this correct?
Sort of related to this is an issue that comes up every time I try to drill down into the modules to find out how they are made. I get a big red square around the module indicating an error in the Ruby script. I never changed anything…just drilled down and get this error. Sometimes it goes away by itself, eg if I shut down and return to it later, the error is gone. This is irritating.
So I try to drill down to see how the biped inputs are connected to the PS2 outputs and I can’t find anything.
Steer me to the right zone guys. Thanks. (I think my problem is I tend to over think things…can’t see the forest for the trees.)
This is indeed correct. But, for the app to display movement you need to ensure the patterns are loaded. Please check attached images 1,2,3 to see the steps to check if the patterns are there, load the patterns (BratDemo.pat) and start moving around. With the patterns loaded, certain key presses will trigger looping movement of the BRAT.
These would indicate a run-time error in the Ruby code. These may happen from time to time. They are usually due to bad input being fed into a Ruby module (and therefore causing the error). In most cases, you shouldn’t have any issues with this and can safely ignore them.
You can find PS2 code in the User Programming module under the main module. Check image #4 for more details.
Okay, I see. The User Programming isn’t on the first page, but on the second.
I was using a copy of the Brat biped to experiment with and may have screwed something up. Didn’t know there were patterns and was trying to animate
the legs myself. (I know how to use the sequencer). I loaded the patterns, run the sequencer and the legs move as I expect.
The PS2 is now working despite the error in the LED module which is NOT lit. When I click on “Trigger” the LED should light but it doesn’t.
(at one time I had this working). Now there is an error in the LED module. When I clicked on it, it gave me the attached error which is the error I get for
almost any module I select. (screen print attached).
I have something to work with now, so I’ll look back at the help files for these various demos.
The strscan error usually indicates missing or corrupted Ruby support files. We recommend that you look at this post. It contains all instructions required. Since you seem to have many issues related to missing files, it is not too much of a stretch to assume you also have this file related issue. Please follow the steps in the post and let us know if it helps. You will, of course, have to close FlowBotics Studio before doing the steps and start it again afterwards.
I had the Ruby folder and a couple upper level folders under it, but unzipped the file you gave me link for, put files in proper path and NOW - NO ERRORS. I really tried to break it, but it seems to be all working now.
This is good, now I can move on and learn this stuff.
Thanks for all your help. Importance of customer support is 80% of all goods that I buy.
BTW, all working with Windows 10. I don’t think Flowbotics will have any issues here, because all my applications (and I have hundreds…) work as expected.