I am using L-5 Lynx motion arm for my project.Also,I am using RIOS interface for moving the arm.But i have a problem with this.
I do not want to give data manually to the arm for moving it.Rather my data is in matlab i.e. I am taking signal from accelerometers and reading it in matlab for filteration…after filtering the signal i am getting X,Yand Z values…I want to use these values to move the robotic arm…
but in RIOS software ,I did not find any way through which I could give this data directly to robotic arm
i.e without manually importing the CSV file with the specified format…for example,if data can be moved to serial port and it will move the arm…anything like this…but not manually
Can please anybody tell me if there is any wayout to give this data automatically to this robotis arm???
As I read it, you can send strings to the serial port (that are so simply formed that they can be sent from a terminal, or echoed) and control the arm.
Which logically makes sense - that’s all that RIOS is doing…
Mine should be here Wed, and that’ll be one of the first things I explore.
The data will need to be calculated though. The controller doesn’t have a concept of X/Y/Z space. It has the concept of pulses of the servo.
but i hv doubt…After filtering the data in matlab,i get x an y values…with these values i want to derive the robotic arm i.e. i want to move the robotic arm at the filterted positions…so according to you, I have to calculate the joint angles…In matlab,ikine function can do it i guess…
but my question is that is it possible to send the calculated joint angles from matlab to the arm via serial port???if possible, then how???
also,I guess RIOS software is of no use in this case???
Not really familliar with matlab but perhaps you know or can research if it is capable of making a network connection to the RIOS program using the “sockets” feature described on page 25 of the RIOS manual. This could allow you to communicate the information you compute in matlab to RIOS, although I am not certain if you can send it discreet values for joints or position, or just tell it to play canned sequences. Should be worth checking out in either event.
What you want to do depends on the capability of both Matlab and Rios. If Matlab can execute another application, then it may be possible to generate a simple batch file containing the data to send data out the serial port, then have Matlab run the batch file. If Rios has a commandline capability, then you could run it using a batch file. Getting two different applications to talk to each other may be complicated if they are not designed to do that. Below is a simple batch file I use for testing with the ssc-32. If Matlab can run a batch file like this, then it might be one solution. I don’t have Rios or Matlab, so I don’t really know their capabilitys.
actually i either dn’t know if matlab can communicate with RIOS…but in socket case,can matlab send data directly to RIOS???
i read the manual…in manual,it is written that it accepts .csv files with project name and many other filed names…so do i need to make .csv file after filtering the data in matlab???
I really dn’t know how to move the robotic arm with filtered data giving the postions …
If you would just pick a SINGLE topic I would not have waisted 30 minutes looking for an answer to a less than accurate post. Please do not post your question is 3 or more places! If you want to know if Matlab can interact with RIOS socket server then put that information in the heading. Laurent can answer any question about the socket server, but Laurent and Lynxmotion do not have Matlab and are not able to support it.