Skip to content

Commit

Permalink
CHANGE: Use new FCI version 5 of libfranka-common
Browse files Browse the repository at this point in the history
  • Loading branch information
gollth committed Feb 18, 2022
1 parent 7706d16 commit d1c1c09
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common
4 changes: 2 additions & 2 deletions src/errors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ Errors::Errors(const std::array<bool, 41>& errors) // NOLINT(modernize-pass-by-
joint_via_motion_generator_planning_joint_limit_violation(
errors_[static_cast<size_t>(Error::kJointViaPlanLimitViolation)]),
base_acceleration_initialization_timeout(
errors_[static_cast<size_t>(Error::kGravityVectorInitializationTimeout)]),
errors_[static_cast<size_t>(Error::kBaseAccelerationInitializationTimeout)]),
base_acceleration_invalid_reading(
errors_[static_cast<size_t>(Error::kGravityVectorInvalidReading)]) {}
errors_[static_cast<size_t>(Error::kBaseAccelerationInvalidReading)]) {}

Errors::operator bool() const noexcept {
return std::any_of(errors_.cbegin(), errors_.cend(), [](bool x) { return x; });
Expand Down

0 comments on commit d1c1c09

Please sign in to comment.