Command line

Hi,

I am using command lines of RIOS to start my project with the window’s “cmd” .
The problem is that when I put on the robot and perform the line’play " project " play’ the robot goes in a position which not my initial position, and some servos are deconnected.

Is there a way to load the initial position that I saved, or how can I solve this issue?

Hi,

What is your project and what would you like it do ? It would help to provide options or solutions if we have more information about it.

Sincerely,

thank you for your answer

My project : I have an external programming software ( Win dev ), and I need to create a button that will launch RIOS, will go to the play menu and wiil play a pre-programmed project. These three steps has to be done automatically

I know that I have to go through the command lines, my problem is that when I turn on the robot, the command line play "project " play doesn’t allow to launch all the servos, and the robot goes to a strange position.
Can I launch the initial position that I programmed with the command line, or with an XLM message or another solution.

Thanks

Hi,

Please note that in the RIOS manual (chapter 13, page 28), it notes a warning that automatically playing a project/sequence will not set the servos to a default position first.

On power-up the servos do not receive a signal until a command is issued to that channel. Therefore, if some of your servos are given commands but not others, you will certainly get weird positioning.

Your best option with the situation would be to set your project so that your first sequence played sets all the servos to an initial position, even the ones you do not intend to move yet. This way, the board will be sending them a signal so they become powered and keep their position.

Sincerely,

Hi,

it doesn’t work, it still won’t go to the position I tell it to go.
It puts all the servos in their maximum or minimum and desactivates some ones…

What can I do?

Hi,

Could you provide us with your project files and your command sequence you use to start RIOS? We will investigate your issue in more depth.

Sincerely,

hi,

I though I answered you but my post is not here so here is my answer :

my project file :
Pgm est chaîne = “”“C:\Program Files (x86)\RIOS_SSC-32\RIOS_SSC32.exe”" ““play””"

commande_XML("<project_select:appui>project:play",100)

with “commande_XML”, a fonction I programmed

When I play these lines without starting the robot first, I have a message " some servos are not enable, the robot may crash" and the robot goes in a position where all the enabled servos are in their maximum.

Thank you for your answer

What do you mean by “without starting the robot first” ?

Sincerely,

I mean without clicking on “SSC-32” on RIOS and clicking on the “open” bouton to load my file “.ccs”

Hi,

I used command line to control RIOS API.

For exemple you can start a projet with :
<project_select:test>

It’s working but I would like to know the command line to load an initial position to the robot ?
I mean load a .ccs file without starting RIOS.

Indeed, when I started my project with a random position (not the good one) the robot goes wrong.

kind regards

Hi,

All the commands available are on page 25 of the manual, available here. It does not seem like there is a command that can load an initial position.

A possible work around would be to have a new project / sequence that sets the robot to the right position before you change to your actual project & sequence. Have you tried doing this?

Sincerely,

Hi,

I programmed directly on the SSC-32u card my initial position so when I turn on the robot, it goes automaticaly in this position.

My problem now is with the Minimum and Maximum position of each robot : When I start the RIOS software, the Minimum and The maximum position are stored in a certain limit.
If I don’t start my “.CSS” file, the Min pos of the shoulder is at 303 and the max pos at 751.
And to perform my project, I need to have The Min pos at 100.

To resume, I power up the robot and I have my initial position. Then I use the command lines <project_select:projectname> and project:play. The robot can’t do my project because his minimum value for the shoulder is bloked because I don’t use a".CSS" file in the “SSC-32” configuration of RIOS.

So my question is : How can I stored The min pos of the shoulder at 100 so that when I start RIOS software, it loads automaticaly the min pos at 100?
Can I even delete the min pos and max pos restriction? ( the blue sliders )

Thank you for your answer

It seems you may have found a restriction in the software. Unfortunately we are currently not aware of a solution.
If we find a solution, we will post it here.

Can t you do a firmware with the correction of this bug ? …

On the SSC-32U itself? Not really likely since it just responds to commands.
The issue is with the RIOS software - it seems as though your specific situation was not tested and has this bug.
We won’t be able to resolve this any time soon, so if you can find a work-around give the part of the software over which you have control, that would be best.