Comments (2)
The MPPI optimization runs at 50Hz, but the control publisher is designed to queue off of the state estimator, and so it runs at the same rate as the state estimator (200Hz). To publish controls at 200Hz when the solution is only found at 50Hz, by default, there is some interpolation done between the first and second control input in the computed control sequence. However, since we're queuing off the state estimate and have both a desired control sequence and desired state sequence, we can do slightly better. What we do is compare the interpolated desired state with the actual state that was just received, which gives us an error term. Then, instead of just applying the feedforward control found by interpolating the control sequence, we apply the feedforward term plus the feedback gains times the error term. In order to find the feedback gains, we linearize around the computed state and control sequences and then use LQR (to compute the LQR gains we use DDP code, since LQR is a special case of DDP). This seems to help improve performance slightly versus just running the feedforward controls, but we haven't done any systematic study. Possible disadvantages are increased chatter in the controls if there's a lot of noise in the IMU (this can be an issue in Gazebo especially).
from autorally.
@gradyrw Thank you very much for so fast and comprehensive answer!
from autorally.
Related Issues (20)
- Constant Speed Controller Not Working
- Error with catkin_make, urgent, please help, thanks!!! HOT 4
- Stateesitmator error
- StateEstimator error
- Teensy LC Issues on Ubuntu 18 HOT 2
- Request to reference MPPI with OpenAI Gym implementation in your docs HOT 1
- Compilation dependency issues
- ROS2 GAZEBO99 - Robot keeps jerking and moving HOT 3
- Generating costmap HOT 1
- Car Jerking (not properly setting commands for the suspension) HOT 3
- Build fails on Melodic / Ubuntu 18.04 due to StateEstimator linker error (fails to link Boost libraries) HOT 2
- child_frame_id of odometry message is not set in autorally_plant.cpp HOT 1
- child_frame_id of odometry message is not set in autorally_plant.cpp HOT 3
- Target trajectory and path planning
- Constant Speed Controller Nodlet hanging
- Cost Functions for Standalone Node
- Code for UKF parameter esimtation HOT 1
- Catkin_make Failed HOT 3
- Launching Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorally.