marcbone / s_curve Goto Github PK
View Code? Open in Web Editor NEWS-Curve trajectory generator written in rust
License: Apache License 2.0
S-Curve trajectory generator written in rust
License: Apache License 2.0
Hello, thanks for this amazing crate!
I was wondering if it would be possible to add support for separate max acceleration and max deceleration, there are situations where slow acceleration but fast deceleration is required.
Thanks again.
Hi. I want to use it in my embed project but unfortunately it depends on std
Hi there, thanks for publishing your s-curve implementation!
I've been hunting around the net for an implementation that also accounts for an initial acceleration. I noticed that your implementation handles initial velocity, though assumes an initial acceleration of 0.0
. The reason I'm interested in handling the initial acceleration is that I'm currently working with an interactive, kinetic artwork where the actuators' target positions change in real-time. I've been considering implementing something inspired by this paper, though am curious whether you have another approach in mind that you'd consider implementing in this crate?
Hello,
Thank you for making this repo public. Just wondering if you may kindly give a few tips on how to run this rust package? I'm very new to rust (just now...) and any suggestion would be helpful. I know it's inappropriate to ask this kind of question. But I came from control background and the rust book does not help much.... I just want to know how to run the plot.rs...
Many thanks in advance.
Post here your project using s_curve.
is it possible to only have an end position constraint and reach maximum possible velocity at the end?
here is my data to reproduce:
let constraints = SCurveConstraints {
max_jerk: 3000.,
max_acceleration: 2600.,
max_velocity: 600.0,
};
let start_conditions = SCurveStartConditions {
q0: 0.,
q1: 1,
v0: 12.,
v1: 12.,
};
Hi. this time its for negative position. params like:
let constraints = SCurveConstraints {
max_jerk: 240000.,
max_acceleration: 260000.,
max_velocity: 65600.0,
};
let start_conditions = SCurveStartConditions {
q0: 0., // start position
q1: -6400*10, // end position
v0: 0., // start velocity
v1: 0., // end velocity
};
```
![Screenshot_2021-08-21_04-10-22](https://user-images.githubusercontent.com/707007/130305827-3f58fc24-d0df-4ae3-aeb0-f4098498f33e.png)
Its okay if it is not good params, but I guess if will help. thank you
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.