Skip to content

Commit

Permalink
[bugfix] Fixed compilation bugs generated after pre-committing the code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmastalli committed Apr 6, 2024
1 parent 2f98a48 commit 058f94d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/crocoddyl_msgs/conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "crocoddyl_msgs/msg/multibody_inertia.hpp"
#include "crocoddyl_msgs/msg/state.hpp"
#include "crocoddyl_msgs/msg/time_interval.hpp"
#include <rclcpp/rclcpp.hpp>
#include <whole_body_state_msgs/msg/whole_body_state.hpp>
#include <whole_body_state_msgs/msg/whole_body_trajectory.hpp>
#else
Expand Down Expand Up @@ -233,11 +234,13 @@ const Vector10d getBodyInertialParameters(
default: {
std::invalid_argument("The type of frame " + frame_name +
" is not supported");
return NAN * Vector10d::Ones();
break;
}
}
} else {
std::invalid_argument("Doesn't exist " + frame_name + " frame");
return NAN * Vector10d::Ones();
}
}

Expand Down

0 comments on commit 058f94d

Please sign in to comment.