Hi Sebastien,
Thank you for providing the example code for robot arm.
I want to write a customized code for my robot arm. Can you please help me on below queries…
]How to write a correct code as you shown in the example code?/:m]
]Is there any program/tool, which can mimic the robot arm actions and genrate the code for it? I think, I saw this kind of mimicing in one of the youtube video. Please advise./:m]
]What are the alternatives for writing codes? Since there might be a longer learning curve with coding, so I’m thinking for an alternative here. Please advise./:m]
Thanks,
-Kailash
Hi Kailash,
That is quite a vague question. The code complexity of the example is what would be considered an “average” level of difficulty. The code style is not optimal (it is an old example from a community member), but it still is useful as a working example. What aspect of this example code do you feel you need help with? Unfortunately, we cannot provide consultation for developing custom code. For that, you will need to learn on your own/practice and create code yourself (or recruit/pay someone to do so). You can certainly find plenty of tutorials online about C/C++ code and Arduino sketches. That being said, if you have any questions specifically about the hardware or how to program it, we can certainly help with that to a certain extent.
Probably? Without a link to an example, it is difficult to determine what kind of features/software you are looking for.
You may want to use a sequencing software, such as the FlowArm software. Please note that this software is only compatible with SSC-32U-based AL5 robotic arms (and not with the BotBoarduino).
We hope this helps.
Sincerely,
Hi,
Thanks for help, I’ll share the link for my q #2 shortly.
Would it be possible to pre-program SSC-32U with FlowArm software or SSC-32 Servo Sequencer Utility and use it without the application (FlowArm software).
Thanks,
-Kailash
Hi,
The SSC-32U is a controller. It manages timing of signals to the RC servomotors. It also includes a pre-programmer engine for hexapod motion.
But, you cannot “pre-program” it with motions from any software.
In the case of complex robots (advanced quadrupeds, hexapods, humanoids), the typical case is to use a microcontroller board (such as the BotBoarduino) with a SSC-32U.
The SSC-32U takes care of generating all the proper signals for the servomotors (especially useful when you have 12&+ servomotors) and providing power to them.
The microcontroller board takes care of motion, sensors, etc. It is in charge of the inverse kinematics (or whatever system is used to generate the wanted motions/signals for the SSC-32U).
You could also use a SBC (Single Board Computer) connected to the SSC-32U by USB (or by UART or wireless using the Bee socket) instead of a microcontroller board.
One thing you may want to try is to use the FlowArm software to generate patterns for the motion of the arm that you need. Then, you could attempt to convert those files (Ruby serialized files) into instructions for the microcontroller board to control the SSC-32U with. They are basically stored in a simple format where each pattern has a series of frames (and their duration) that define how the servomotors will move (which position, speed, etc.).
Of course, such a task is not trivial and will require much research and effort from you.
Sincerely,