Open latest posts
motion simulator DIY community 

RealFeel and 6DOF math plugin

on 12.10.2009, 12:46

Re: RealFeel and 6DOF math plugin

Postby FAG on 12.10.2009, 12:46

Very positive news :), and on how many has grown speed of calculations in comparison with old ideology of calculations (in math rounds)?
FAG
full member
 
Posts: 35
Joined: 02.04.2009, 12:51
Local time: 19.06.2013, 13:34
Obtained thanks: 34


on 13.10.2009, 10:46
Re: RealFeel and 6DOF math plugin

Postby ebinary on 13.10.2009, 10:46

I am tied up for a month or two (motion sim disassembled), but I look forward to integrating this into the Ride-u-lator 6DOF eventually.
ebinary
X-SIMER
 
Posts: 90
Joined: 23.06.2009, 20:15
Local time: 19.06.2013, 00:34
Obtained thanks: 19


on 14.03.2012, 18:30
Re: RealFeel and 6DOF math plugin

Postby MSK on 14.03.2012, 18:30

Hello,

I ran into a paradox. Can anyone clear this issue for me ?

Using the Spider Plugin I can do my own math. I can chose from extracted game values and convert these values using my own formula. I do understand that part. However, the problem is that for my stewart platform I need all 6 actuators to work in harmony. For example:

Given : Forces and Angles
Use: Formula
Suggest: The position of the 6 actuators.

BUT.... the big problem is that when I chose the spider plugin in MATH SETUP, it will give me a value for one axis. That I have to send to my arduino through OUTPUT setup. Arduino will receive only one value... how will one value be able to control 6 actuators ??? That does not sound rational.



Can anyone help me out with it ?


Regards
MSK
User avatar
MSK
full member
 
Posts: 41
Joined: 09.10.2011, 00:10
Local time: 19.06.2013, 08:34
Obtained thanks: 7


on 15.03.2012, 00:35
Re: RealFeel and 6DOF math plugin

Postby MSK on 15.03.2012, 00:35

sirnoname wrote:Spider plugin means you set your code in a net of axis.
You insert 6 axis in the math section like the provided profile, you add the spider plugin to each axis once and choose out of the boxes which input value should be chosen, each axis one input for a big array in the background. This values are stored in a array for your code. Each axis will be called but only if 6 axis have a input value you get to your code and set a array of outputs. After the calculation the value go to the output of each axis in the next math round.
But the question is: do you use SCN5 or hardware that is in the interface setup or USO? If not, you control your own hardware out of your plugin code.
If you like more inputs or outputs you must expand your the dialog.


Hello,

I am struggling with it. Thank you for taking the time to help.

I am using USO. I have Arduino which I am using to control the valves of the 6 hydraulic actuators. This is how the system works or should work:

Hydraulic Actuators connected to the valves which open fully when they receive 10Volts, and close when the voltage is 0. So, when arduino sends signal for 10volts, the actuator extends fully. In my case, the Arduino sends 6 separate signals to the 6 actuators (valve gets the signal). Depending on the signal, the hydraulics extend or retract which moves the platform. The arduino waits for X-Sim to send data to it by the following format:

BIN output format is - “AB” byte1 byte2 byte3 byte4 byte5 byte6 byte7 0x0D (CR)

"AB" - start of data identifier for the receiving micro controller
byte1 - reserved
byte2 - 8 bit binary number giving act1 demand in 0-255 scale
byte3 - 8 bit binary number giving act2 demand in 0-255 scale
byte4 - 8 bit binary number giving act3 demand in 0-255 scale
byte5 - 8 bit binary number giving act4 demand in 0-255 scale
byte6 - 8 bit binary number giving act5 demand in 0-255 scale
byte7 - 8 bit binary number giving act6 demand in 0-255 scale
0x0D - single byte Carriage Return data terminator

So, I chose the USO option and transfering data from X-sim to Arduino for individual axis. What I am typing in "data packet axis information" is :
AB~0~a01~a02~a03~a04~a05~a06~0x0D (is it correct ? I am a bit skeptical about the reserved byte 1 where I put 0 )

My interface is not recognized by X-sim as a known one. But, X-sim does send the data bytes to my Arduino. The only problem is that for my platform to work, I need X-Sim to send 8-bit binary values (0-255) to my arduino in the format I stated above. The challenge here is to make the SPIDER Plugin output values for each axis which will correspond to actuator movement. And that value will be be converted to appropriate voltage by my Arduino, which will make the platform a stewart platform hopefully.


Is it possible ?

Regards
MSK
User avatar
MSK
full member
 
Posts: 41
Joined: 09.10.2011, 00:10
Local time: 19.06.2013, 08:34
Obtained thanks: 7




Similar topics

Return to Force-Profiler Simulator Control


Add this Thread to:
Add this page to Mr. Wong Add this page to Del.icio.us Add this page to Webnews Add this page to Icio Add this page to Oneview Add this page to Linkarena Add this page to Newskick Add this page to Folkd Add this page to Yigg Add this page to Digg Add this page to Reddit Add this page to Simpy Add this page to StumbleUpon Add this page to Slashdot Add this page to Netscape Add this page to Furl Add this page to Yahoo Add this page to Spurl Add this page to Google Add this page to Blinklist Add this page to Blogmarks Add this page to Diigo Add this page to Technorati Add this page to Newsvine Add this page to Blinkbits Add this page to Ma.Gnolia Add this page to Smarking Add this page to Netvouz

Who is online

Users browsing this forum: No registered users and 1 guest