当前位置:网站首页>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
边栏推荐
- 【软件工程之美 - 专栏笔记】26 | 持续交付:如何做到随时发布新版本到生产环境?
- Multithreading and concurrency
- 从头安装MYSQL(MYSQL安装文档-解压版)
- Huawei cloud 14 day Hongmeng device development -day1 source code acquisition
- ML7 self study notes
- Huawei cloud 14 day Hongmeng device development -day5 drive subsystem development
- Logistic regression - project practice - credit card detection task (Part 2)
- PHY6252是一款超低功耗物联网蓝牙无线通信芯片
- Based on STM32: couple interactive doll (design scheme + source code +3d drawing +ad circuit)
- Huawei cloud 14 day Hongmeng device development -day3 kernel development
猜你喜欢
随机推荐
SimpleFOC+PlatformIO踩坑之路
动态加载数据
JUC集合类不安全
JUC并发知识点
STM32: mcnamu wheel tracking task (library function program code)
八大排序----------------冒泡排序
Huawei cloud 14 day Hongmeng device development -day3 kernel development
Shell tool finalshell
LeetCode #977.有序数组的平方
八大排序-----------------堆排序
抽象类以及接口
LeetCode #19.删除链表的倒数第N个结点
NoClassDefFoundError 处理
2022暑初二信息竞赛学习成果分享2
NOI Online 2022普及组 题解&个人领悟
Jingwei Qili: OLED character display based on hmep060 (and Fuxi project establishment demonstration)
Based on stc51: schematic diagram and source code of four axis flight control open source project (entry-level DIY)
Si12T和Si14T低功耗电容触摸芯片
STM32 串口乱码
寒假集训总结 (1.23~1.28) [第一梯队]