Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam committed Nov 13, 2023
1 parent d44b7c4 commit 009ee56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions depthai_bridge/include/depthai_bridge/ImuConverter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class ImuConverter {
interpolated.push_back(interp0);
}

template <typename I, typename S, typename T, typename M>
template <typename I, typename S, typename T, typename M>
void interpolate(std::deque<I>& interpolated, std::deque<S>& second, std::deque<T>& third, std::deque<M>& imuMsgs) {
I interp0, interp1;
S currSecond;
Expand Down Expand Up @@ -302,7 +302,6 @@ class ImuConverter {
interpolated.push_back(interp0);
}


template <typename I, typename S, typename T, typename F, typename M>
void interpolate(std::deque<I>& interpolated, std::deque<S>& second, std::deque<T>& third, std::deque<F>& fourth, std::deque<M>& imuMsgs) {
I interp0, interp1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <string>
#include <vector>

#include "depthai/pipeline/datatype/CameraControl.hpp"
#include "depthai-shared/properties/IMUProperties.hpp"
#include "depthai/pipeline/datatype/CameraControl.hpp"
#include "depthai_bridge/ImuConverter.hpp"
#include "depthai_ros_driver/param_handlers/base_param_handler.hpp"
#include "depthai_ros_driver/parametersConfig.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void ImuParamHandler::declareParams(std::shared_ptr<dai::node::IMU> imu, const s
{"ARVR_STABILIZED_GAME_ROTATION_VECTOR", dai::IMUSensor::ARVR_STABILIZED_GAME_ROTATION_VECTOR}};
declareAndLogParam<bool>("i_get_base_device_timestamp", false);
declareAndLogParam<int>("i_max_q_size", 30);
auto messageType = declareAndLogParam<std::string>("i_message_type", "IMU");
auto messageType = declareAndLogParam<std::string>("i_message_type", "IMU");
declareAndLogParam<std::string>("i_sync_method", "LINEAR_INTERPOLATE_ACCEL");
declareAndLogParam<float>("i_acc_cov", 0.0);
declareAndLogParam<float>("i_gyro_cov", 0.0);
Expand Down

0 comments on commit 009ee56

Please sign in to comment.