Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Reber committed Jul 3, 2021
1 parent 97bd5f6 commit b8822f4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ Release Versions:
- Add CI workflow for Python bindings (#159)
- Add emtpy constructors for Circular and Ring DS (#154)
- Update ROS1 example because simulation is more developed (#160)
- Define `inverse` and `*` operators for Cartesian types explicitly (#158)

## Important TODOs

- Revise `*=` and `*` operators in Cartesian types before the next release with
breaking changes (some are marked *deprecated*, and some are left as is, but
they should be deleted). See issue #156
- Add the wrench computation in the `*` operator and `inverse` function (#134)
- Refactor and improve unittests for state_representation (especially JointState
and CartesianState)

## 3.0.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,7 @@ Eigen::VectorXd CartesianTwist::data() const {
}

CartesianTwist CartesianTwist::inverse() const {
CartesianTwist result = this->CartesianState::inverse();
return result;
return this->CartesianState::inverse();
}

std::ostream& operator<<(std::ostream& os, const CartesianTwist& twist) {
Expand All @@ -184,7 +183,7 @@ std::ostream& operator<<(std::ostream& os, const CartesianTwist& twist) {
}

CartesianTwist operator*(const CartesianState& state, const CartesianTwist& twist) {
return CartesianTwist(state.operator*(twist));
return state.operator*(twist);
}

CartesianTwist operator*(double lambda, const CartesianTwist& twist) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ std::ostream& operator<<(std::ostream& os, const CartesianWrench& wrench) {
}

CartesianWrench operator*(const CartesianState& state, const CartesianWrench& wrench) {
return CartesianWrench(state.operator*(wrench));
return state.operator*(wrench);
}

CartesianWrench operator*(double lambda, const CartesianWrench& wrench) {
Expand Down

0 comments on commit b8822f4

Please sign in to comment.