Matlab计算步进电机加速曲线,可以生成加速曲线的png格式图片,和C语言格式查找表(TIM时间数和步数)。目前做了匀加速度和三角形加速度的,主程序入口是StepMotor.m,读取配置Ini文件,根据算法类型分别调用StepMotor_UniformAcc.m和StepMotor_TriangleAcc.m两个算法程序。其它如正弦曲线和指数曲线我自己还没整清楚。各参数见InitVars.m和示例ini文件。用matlab主要是画图省事,代码比较简单,容易移植到其它语言。
Matlab计算步进电机加速曲线,可以生成加速曲线的png格式图片,和C语言格式查找表(TIM时间数和步数)。目前做了匀加速度和三角形加速度的,主程序入口是StepMotor.m,读取配置Ini文件,根据算法类型分别调用StepMotor_UniformAcc.m和StepMotor_TriangleAcc.m两个算法程序。其它如正弦曲线和指数曲线我自己还没整清楚。各参数见InitVars.m和示例ini文件。用matlab主要是画图省事,代码比较简单,容易移植到其它语言。
A super-lightweight(ROM<1.6K, RAM<0.3k), high-performance C log library.
Contributions last year: 0
Max continuous contributions: 0
Recent contributions: 0
Commits, issues, and pull requests will appear on your contribution graph. Only when the email address used for the commits in local configuration is associated with your GitOSC account, the commits' contribution will be counted.