-
Notifications
You must be signed in to change notification settings - Fork 1
feat(c3-controller) : c3 drake controller leaf system #7
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
base: main
Are you sure you want to change the base?
Conversation
7bccf3f
to
82c703c
Compare
1a4795f
to
a9e1ef2
Compare
…sed and update tests using c3 options file
ee4abfa
to
e06d51d
Compare
|
I think the class name should be |
Remove magic number. You can replace it by calling |
Using |
Nit. We can change the name of this function to |
Nit. Change the function name to |
It might be safer to add check |
Nit. Consider to use |
Move this function to a separate source file, we can call it |
Please avoid using raw pointer, it might cause memory leak if we don't handle proper destruction. Can we just use stack allocation here |
We should put |
Related to one of above comments, we can just use |
Previously, xuanhien070594 (Hien Bui) wrote…
Or using smart pointer |
Is it class necessary? Since this class is only used for testing, it might be better to directly add |
Please remove. Or add flag to enable this feature if necessary. You can use |
Magic number |
Nit. Use auto to improve readability. |
Previously, xuanhien070594 (Hien Bui) wrote…
Same comments for LCSSimulator* and drake::systems::ZeroOrderHold* |
Use control inputs or inputs instead of action for consistency. |
You should name it |
Does C3ControllerOptions have move constructor? If not, then using std::move here is redundant as it'll fall back to the copy constructor |
Do we need this function? I believe the C3 class has this function already. |
I think some classes here are already implemented in C++. |
Use |
Can |
Any reason that we need this flag? |
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.
Reviewed 14 of 38 files at r1, 8 of 14 files at r2, all commit messages.
Reviewable status: 22 of 38 files reviewed, 23 unresolved discussions (waiting on @Meow404)
TODO :
This change is