-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to batch estimator #142
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you mark it as forked (rather than a new file) so we can see the changes?
@@ -14,6 +14,16 @@ | |||
|
|||
#include "mjpc/agent.h" | |||
|
|||
#include <absl/container/flat_hash_map.h> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not change the order of the headers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the whole file is marked "new", and without seeing what changed it's too big to review from scratch...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also marked "new".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently marked "new".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
marked "new".
A collection of improvements and fixes are implemented for the batch estimator.
Estimator
class is implemented to enable a unified interface for different estimators in MJPC. The batch estimator inherits from this class.Batch
estimator include: additional settings, cost scaling based on model time step, private members and functions, curve search, additional unit tests, additional C++ functionality exposed to Python interface, solve status, position-based sensors at the first time stepAdditional changes:
State
, including setting specific subsets of the state (eg.qpos
ormocap
)Estimator
Planner::GUI
andPlanner::Plots
interfacesLinearSolve
removed (this was unused)Next:
Estimator
s to run in the MJPC GUI similar toPlanner
sBatch
estimator in filter mode also works in the MJPC GUI (for a fixed estimation horizon for now)Kalman
estimatorTodo (?)
python setup.py install
) it is not possible to make changes to the C++ code and rebuildmjpc
without deleting the build