-
Notifications
You must be signed in to change notification settings - Fork 15
Soft water stable #19
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: 0.2-dev
Are you sure you want to change the base?
Conversation
…t_water_robot_devel
ConfigSpace doesn't allow lower bound and upper bound to be equal. Fixed hyperparameters are replaced as CSH.Constant object
Can't set lower and upper bound of hyperparam to be the same value. Using constant hyperparam instead
…t_water_robot_devel
…water_robot_devel"
| return np.copy(self.properties['goal']) | ||
|
|
||
| @goal.setter | ||
| def goal(self, goal): |
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.
To use @goal.setter property decorator , the function name must be the same as the attribute's name. To be consistent with the coding style of other files, I kept the original Java-style setter function in lines 195-197
| RRt = (self._R + self._R) | ||
| return obst.T @ self._Q @ obst + control.T @ self._R @control, QQt @ obst, RRt @ control, QQt, None, RRt | ||
| hess_obs_ctrl = np.zeros((self.system.obs_dim, self.system.ctrl_dim)) | ||
| return obst.T @ self._Q @ obst + control.T @ self._R @control, QQt @ obst, RRt @ control, QQt, hess_obs_ctrl, RRt |
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.
Returning None will create issues
(This pull request is identical to #15 but resubmitted after renaming the branch)
This pull request made following changes: \