Lynxmotion Tech Support

www.lynxmotion.com
It is currently Tue Jun 18, 2013 8:34 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Dec 02, 2009 3:04 pm 
Offline
Roboteer

Joined: Thu Oct 29, 2009 8:22 am
Posts: 11
yo,
is there anyone how can tell me how i can program in my client to input a new project in RIOS.
I have already program myself a client for run my project.
Now, i wanna import a new project. Is for this handling also a simple way to program this?
thanks


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 3:37 pm 
Offline
Lynxmotion Founder
User avatar

Joined: Mon Oct 31, 2005 10:46 am
Posts: 9325
Location: my quiet place
Creating a new project is easy. Just click the + by the Project pull down in the Moves window.

Define client...

_________________
Jim Frye, the Robot Guy
http://www.lynxmotion.com
I've always tried to do my best...


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 4:54 pm 
Offline
Roboteer

Joined: Thu Oct 29, 2009 8:22 am
Posts: 11
my client works together with the play-function in RIOS.
a picture below.
this client only works when play-window of RIOS is showed.
but Add a new project, is in another window.
There is no info about this in the manual offcorse.
Maybe any one how know where RIOS save the imported Projects?


Attachments:
Untitled.png
Untitled.png [ 31.76 KiB | Viewed 1018 times ]
Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 6:07 pm 
Offline
Roboteer

Joined: Mon Oct 31, 2005 11:07 am
Posts: 255
Location: France
Hello,

RIOS use DB4 database (*.dbf files) handled by BDE (Borland Database Engine)
But you should never modify these two files (moves.dbf and moves.MDX) which contains all projects
because if you change something in moves.dbf you must update the index file moves.MDX (using a database engine)

The best way to import a project in RIOS built with another software is not to try to take control on RIOS and make it build the project as a slave application.
You should try to build a csv file with your software (csv is an easy file format) then import it in RIOS with the "Project->import csv file" feature

see the manual page 18 for more about csv files, you should try to export a csv file from RIOS and open it (with Excel or notepad) to see what it looks like.
about the csv file an the "MOVEKIND" column :
0 means "X,Y and Z" so only the columns "XPOS", "YPOS" and "ZPOS" should be filled with a correct distance in centimeters
1 means "distance, Y and base" so only "DISTANCE", "YPOS" (both in centimeters) and "BASE" in degrees should be filled
2 means "joint move" so only the columns "BASE", "SHOULDER" and "ELBOW" should be filled with a correct angle in degrees
then fill "WRIST" value with a correct angle in degrees and add "SPEED" and "PAUSE" value

to know degrees range and distances limits, you should note them moving the arm using RIOS and it's coords and angles display
or export a project in csv containing some moves

Attention : XPOS YPOS AND ZPOS columns are RIOS X Y and Z DEFAULT axis, no matter if you have renamed the axis in RIOS
so you should use RIOS default coord system for this operation to avoid confusion

WARNING : before importing csv files in RIOS please close RIOS and backup these two files "moves.DBF" and "moves.MDX"
then when the file is imported, never try it for real, run RIOS with the robot off and connect using a virtual robot, try to play the project in the play window
and see what happen, if all is correct, close RIOS and run it with the robot on to test for real.

_________________
red wire on red plug....black wire on bl...DOH ! a green plug !


Top
 Profile  
 
PostPosted: Wed Dec 02, 2009 6:59 pm 
Offline
Roboteer

Joined: Thu Oct 29, 2009 8:22 am
Posts: 11
yo,
thanks for your explination about the database.
All the things about the csv-file's i'm already know.
i wan't to program that, i just need to click 1 button, on my client,
a new project (csv-file) is usefull in RIOS.
so, i want the same result like in RIOS with the "Project->import csv file" feature
for example "<project:add('csv-file')>" <-- It's a gambling proposal


Top
 Profile  
 
PostPosted: Tue Nov 29, 2011 6:48 pm 
Offline
Roboteer

Joined: Tue Nov 29, 2011 6:45 pm
Posts: 1
Hello,

is the format of the moves.dbf database known?
could you, please, post it so that we could use RIOS
for arm control without having to do the manual import?
or any other hints how this can be done from the software,
over sockets, or in any other way?

Pavel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group