Managing Accelerations - Sinusoidal Pattern
- rugmac
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
10 Nov 2021 09:26 #225943
by rugmac
Managing Accelerations - Sinusoidal Pattern was created by rugmac
Hello everyone, I would like to get an advice about an issue I am struggling with.
I am using a 5 D.o.F. robotic manipulator that would replicate the trajectory made by a marker, which is recorded by a webcam, processed by Python and sent to the robot as G-Code lines via Python - LinuxCNC interface.
The robot can follow the trajectory of the marker only if it moves at a constant speed, by setting a right feedrate. But what if the marker moves with accelerations?
I would like to follow a sinusoidal pattern over time (so with accelerations and deceleration close to sinusoid maxima and minima), is there a method to do this in LinuxCNC and/or in Python? In other words, is there a method that allows me to make an acceleration or deceleration in certain G-Code lines?
Thanks in advance to everyone who could help me.
I am using a 5 D.o.F. robotic manipulator that would replicate the trajectory made by a marker, which is recorded by a webcam, processed by Python and sent to the robot as G-Code lines via Python - LinuxCNC interface.
The robot can follow the trajectory of the marker only if it moves at a constant speed, by setting a right feedrate. But what if the marker moves with accelerations?
I would like to follow a sinusoidal pattern over time (so with accelerations and deceleration close to sinusoid maxima and minima), is there a method to do this in LinuxCNC and/or in Python? In other words, is there a method that allows me to make an acceleration or deceleration in certain G-Code lines?
Thanks in advance to everyone who could help me.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
17 Nov 2021 23:10 #226807
by andypugh
Replied by andypugh on topic Managing Accelerations - Sinusoidal Pattern
This is actually a bit tricky.
The answer is probably to send a sequence of short moves at different feed rates.
It isn't elegant but changing accelleration on-the-fly isn't really supported.
The answer is probably to send a sequence of short moves at different feed rates.
It isn't elegant but changing accelleration on-the-fly isn't really supported.
Please Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds