Arm Calibration and Control Software

This thread will explain how to set up and use the Dual Lynx Arm Control software. The last post was getting to be very unorganized and chaotic so I’m moving all of the relevant information into a cleaner, easier to understand post.

First you need to download the two executables attached to this post. The .fsm source files are only for those who wish to dig into the flowstone program and really see how these programs work.

[size=150]Installation Instructions:[/size]

]Create the directory: C:\Users\FlowStone\Documents\Flowstone/:m]
]Download the zipped file/:m]
]Right click on the file and select ‘extract all’/:m]
]Double click on the extracted ‘exe’ file/:m]
]Make sure to run the Calibration program FIRST/:m]

[size=150]Calibration[/size]

LynxArmConfig.JPG

In order for the control program to be able to effectively make use of your robots you must first calibrate the arm(s) you wish to use with the controller.

BEFORE YOU START: Make sure that your SSC-32 is connected to your computer via an available com port and is powered on.
The arms must be connected to the SSC-32 using the following pinout:

Arm 1 00-Base   01-Shoulder   02-Elbow   03-Wrist   04-Gripper   05-Wrist Rotate (Optional)   06-Spare A (Optional)   07-Spare B (Optional)

Arm 2 16-Base   17-Shoulder   18-Elbow   19-Wrist   20-Gripper   21-Wrist Rotate (Optional)   22-Spare A (Optional)   23-Spare B (Optional)

First open the exe titled “Lynx Arm Config V3_0_0.exe”

When you open the program it will search for all available com ports and add them to the drop down selection box from which you will need to choose the com port that your SSC-32 is connected to. Following the on screen instructions should guide you thought the entire process of calibrating your arm.

Note: The controller WILL NOT work properly with out the calibration file generated by this process. You MUST calibrate your arms!!!

[size=150]Controller[/size]

The Dual Lynx Arm Controller is a sequencer in which you move the the arm into a position to teach the program the command.

When you open the Controller it will take a moment to search for available com ports and add them to the drop down selector labeled “Com Port”. You need to select both the com port your SSC-32 is connected to and the Baud rate to use(115200 is selected by default).

[size=125]The Panel Tabs[/size]

There are three tabs at the top left section of the program that with select which of the three types of commands you will be adding to the command list.

[size=125]The Move Panel[/size]

The Move Panel is used by selecting the tab labeled “Move”

The Yellow buttons control the selected arm in real time along the Z and Y axis along with Base Rotate, Wrist Rotate, Gripper, and the spare channels.

The light blue / red button labeled ‘//R’ is the Rapid button. When Rapid is turned off (light blue) the arm will move with a slow easily controlled pace that is useful for making small adjustments. When Rapid is turned on (Red) the arm will move faster for drastic changes.

The Green Buttons control the flow of the program.
-The < > buttons scroll through the list of commands.
-The = button replaces the command in the yellow highlighted box with the command in the Current Live Command Box.
-The + button inserts the Current Live Command directly under the yellow highlighted box in the command list.
-The X button deletes the command in the Yellow Highlighted box.
-The Play button will step through the entire list of commands without stopping.
-The Stop button will stop the playing list exactly where it’s at and switch off the play loop feature.

The Play Loop switch when On will cause the playing list to continue at the top when it reaches the end of the command list.
-Switching off the Loop feature during a play loop will not stop the arms, instead it will allow the arms to finish the list and stop at the end of the command list.

[size=125]Output Panel[/size]

The Output Panel is selected by clicking the tab labeled “Output”

The remaining sixteen channels on the SSC-32 not used by the two arms are taken advantage of by this output function.

Each channel has a box on the panel containing the options for that channel within the current command.
-The ‘Use’ checkbox allows you to either include or leave out a channel to make commands easier to read when channels are not needed.
-Each channel has two output types: either TL(for TTL output), or SP(for servo pulse).

TL is for HIGH or LOW output for controlling things like LED’s. Check the SSC-32 user guide before connecting a bunch of led’s concerning the current limitations of the board
SP is for 1300µS(LOW) or 1550µS(HIGH) for controlling battle switches or other components that use a servo pulse width for input.
-Each channel can either be set to HIGH or LOW via a toggle switch

[size=125]Input Panel[/size]

The Input Panel can be selected by clicking on the tab labeled “Input”

The Input commands allow you to add a conditional hold timer to your program.

When the program comes to a conditional command in the sequence it will hold all further actions until the denoted input on the SSC-32 goes from a HIGH to LOW state.

The Options for the input command include:
-A drop down box to select which of the four inputs to use for that command.
-The Time parameter is how long the program waits AFTER the condition is met for the program to continue with the rest of the sequence.

THE INPUT MUST BE NORMALLY HIGH CHANGING TO A LOW STATE FOR THE PROGRAM TO WORK CORRECTLY

Saved Positions

The Saved Positions list enables the user to save any position for later use with a label of identification.

To Add the Current Live Command to the list click the ‘Add’ button. A name prompt will appear and you must type a unique name for the command. Clicking ‘okay’ will add the command with its label to the bottom of the list.

To insert a saved command simply click of the label of the position to insert it directly under the yellow highlighted box in the Commands list.

To Delete a saved command click ‘Remove’ and then select the command you wish to delete. A confirmation prompt will ask if you’re sure and then remove the command and label from the list permanently.

The Rest of It

The program also has buttons for saving and loading command lists from anywhere in the system. Upon clicking ‘Save’ you will be prompted for the file path and name to save to. Both the Command List and Saved Commands will be stored in this save file.

Here’s a great user guide that’s a bit more detailed than this post:
lynxmotion.com/images/html/build174.htm

Well that’s Everything that I can think of so be sure to let me know what you think of the beta!
DualLynxArmControllerV1_1_9.fsm (165 KB)
Dual Lynx Arm Controller REBUILD V1_1_9.exe (1.49 MB)
LynxArmConfigV3_0_0.fsm (222 KB)
Lynx Arm Config V3_0_0.exe (1.41 MB)

After I use the Calibration Software, the robot still refuses to work with the Dual Lynx Arm Controller. Any idea why? Also, What do I do in Calibration Section 3?

Which arm (product code?) and what hardware are you using?

I am using AL5D, and the programs from above, with the SSC-32

Are you able to get the arm working with other software like the servo sequencer?
lynxmotion.com/p-895-free-do … tudio.aspx
A few customers have brought it to our attention that the dual arm software seems to have issues, and unfortunately we are not longer supporting it.

When using the Servo Sequencer on FlowBotics, I receive the message “This schematic was created with a newer version of FlowBotics Studio”. Then proceeds to ask if I want to force the file to load. If I click yes, I receive the error message “Schematic Load: Type not found”. If I click no at the previous menu the program closes. What do I need to do about this?

Are you using the stand-along SSC-32 servo sequencer or are you using it within the FlowBotics Studio software?

I am attempting to use it through the FlowBotics Studio

We’ll take a look and see if we can reproduce this issue on our end and get back to you here as soon as we can.

Can you tell us what version of FlowBotics Studio you are using? You can find the version in the Help -> About window when in the FlowStone programming view.

Also, this version of the SSC-32 Servo Sequencer Utility is a stand-alone EXE. Can you try running it directly through Windows?