Requested — Edited

New Block In Blockly Score 327

I'd like to request a new block similar to Auto Position _______ but this block would call up files from in the Blockly directory. Stepper motors work fine in Blockly but for some reason they don't work properly in Auto Position and take 20 times longer to complete. This would be a work around and it would help a lot.

Want to see this feature happen? Like it to increase the score.

ARC Pro

Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

PRO
Synthiam
#1   — Edited

Can you provide information on what you're asking?

The main question you're asking is how to use the auto position. Reading the Auto Position manual will help you better work with stepper motors. Please check the manual and scroll to read sections regarding confirming the steps and delay.

Here's the manual: https://synthiam.com/Support/Skills/Servo/Auto-Position-Gait?id=20314

Also, I took a screenshot of the section that may be useful to read. It might be hard to read on this screenshot, so I suggest viewing the manual and reading it there. A summary of what will help you with the project is adjusting the Delay and Steps values. If your frames take too long to complete, this can be achieved by increasing the Steps and adjusting the Delay. If the Delay is too short, you may find the frame will not reach its goal before continuing to the next position. This takes experimentation.

User-inserted image

#2   — Edited

I'm pretty fluent with Auto Position and love it. The difference with steppers and typical servos is in the numbers. With typical servos we're talking about 180 or 360 etc, but with steppers we're talking 15000 steps. Have tried to to make it 1 step and 1 ms delay so that the Arduino will have the full number and take over but it still was taking over 20 seconds to make a move. Maybe I missed 1 so it will be held to the slowest scenario. Will experiment some more but it seems like the cycling time of the program is not letting it out fast enough. Another aspect to consider is if the program doesn't send the full number to the Arduino it will be caught in the slower acceleration stage and will never reach full speed.

#3  

Tried it again (1 step and 1ms delay) and it is still going really slow in the Auto position. The strange part is that when I went back to the main screen to make a move it was now taking a real long time also. It seems like it was imposing a a really slow acceleration and speed on the virtual port. I checked that in the advanced section and they were -1.  Had to shut it down and bring it back up and then it moved properly in the main screen. Not sure where the problem lies in auto position.