当前位置:网站首页>Traditional model predictive control trajectory tracking - wavy trajectory (function package has been updated)
Traditional model predictive control trajectory tracking - wavy trajectory (function package has been updated)
2022-07-29 06:20:00 【Dragon Boat Festival mascot】
More than a month later , Finally, I have time to upgrade this feature pack framework .
above Traditional model predictive control trajectory tracking —— Circular trajectory The function packs in are updated as follows :
mpc_simulation_ROS_and_experiment, Please refer to README.md.
Updated features
1. When sending the path, the planned speed and angular speed are also sent out
2. stay mpc_client.cpp Intermediate speed 、 Angular velocity is transmitted to mpc_server.py To participate in the optimization calculation as the expected value
3. A wavy path is updated to verify the tracking algorithm
4. The procedure and operation manual of the real vehicle experiment have been updated ( see path_track/readme.txt)
What needs to be explained
1. Only the car is considered x Directional velocity and angular velocity , Of course y The speed of the direction is already path_track/path_point.srv Reserved interface , You can join in y Try the direction and speed , There seems to be some problems .
2. Due to the design of prediction model , The state quantity is pose error , The control quantity is speed increment , therefore For the given path, the speed information of the path point must be required , This path can be designed in send_point.launch Set in , You can also change it directly cpp file .
3. Simulated or real car running mpc when , The distance between the position and posture of the trolley and the starting point of the path should not exceed 1m, Otherwise, the simulation effect will become worse , This may be related to some parameters in the controller , Such as prediction time domain .
4. Can't run the whole circle , It may be related to the attitude angle error , When transiting from the front semicircle to the back semicircle, the angle error does not give a suitable calculation method , I haven't dealt with it yet .
Simulation results
Wavy curve , Red is the car track , Green is the planning track .
The tail of the last point didn't close because there was a three-stage deceleration in the optimizer , If necessary, you can comment out the deceleration judgment program .

The specific tracking situation is as follows :
mpc_track_wave_trajectory
experimental result
Track straight line trajectory

The specific tracking situation is as follows :
mpc_track_line_experiment
边栏推荐
- 动态规划总结
- 2022 spring move - core technology FPGA development post pen test question (original question and experience)
- Rowkey设计
- LeetCode #83. 删除排序链表中的重复元素
- 【软件工程之美 - 专栏笔记】27 | 软件工程师的核心竞争力是什么?(上)
- Si12T和Si14T低功耗电容触摸芯片
- Huawei cloud 14 day Hongmeng device development -day3 kernel development
- LeetCode #876.链表的中间结点
- STM32 检测信号频率
- LeetCode #557.反转字符串中的单词 III
猜你喜欢

Logistic regression - project practice - credit card detection task (Part 2)

MySql-面试题

【软件工程之美 - 专栏笔记】“一问一答”第3期 | 18个软件开发常见问题解决策略

封装——super关键字

LeetCode #876.链表的中间结点

From entry to soul: how to use tb6600 single chip microcomputer to control stepping motor with high precision (42/57)

Huawei cloud 14 day Hongmeng device development -day5 drive subsystem development

Huawei cloud 14 day Hongmeng device development -day1 source code acquisition

LeetCode #9.回文数

传统模型预测控制轨迹跟踪——波浪形轨迹(功能包已经更新)
随机推荐
NoClassDefFoundError 处理
LeetCode #9.回文数
STM32 检测信号频率
MySql-面试题
Jingwei Qili: development of heart rate and blood oxygen module based on hmep060 (1: FPGA sends multi bit instructions)
Design and implementation of QT learning notes data management system
【软件工程之美 - 专栏笔记】19 | 作为程序员,你应该有产品意识
Sqlyog installation and configuration tutorial
Based on stc51: schematic diagram and source code of four axis flight control open source project (entry-level DIY)
scanBasePackages扫包范围配置
简洁代码实现pdf转word文档
2022 spring move - core technology FPGA post technical aspects (one side experience)
Logistic regression - project practice - credit card detection task (Part 2)
Based on STM32: couple interactive doll (design scheme + source code +3d drawing +ad circuit)
【软件工程之美 - 专栏笔记】“一问一答”第3期 | 18个软件开发常见问题解决策略
[beauty of software engineering - column notes] 13 | how to break the rhythm of writing code during daytime meetings and overtime?
Huawei cloud 14 day Hongmeng device development -day2 compilation framework
关于时间复杂度的个人看法
Redshift还原SP效果 - SP贴图导出设置及贴图导入配置
【软件工程之美 - 专栏笔记】13 | 白天开会,加班写代码的节奏怎么破?