Skip to content

Commit

Permalink
[Spinal] increase the imu pub rate from 200Hz to 500Hz
Browse files Browse the repository at this point in the history
  • Loading branch information
tongtybj committed Jun 15, 2024
1 parent 0dcb3f4 commit 7c1fca0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class AttitudeEstimate
inline const ap::Vector3f getSmoothAngular(uint8_t frame) { return estimator_->getSmoothAngular(frame); }
inline const ap::Matrix3f getDesiredCoord() { return estimator_->getDesiredCoord(); }

static const uint8_t IMU_PUB_INTERVAL = 5; //10-> 100Hz, 2 -> 500Hz
static const uint8_t IMU_PUB_INTERVAL = 2; //10-> 100Hz, 2 -> 500Hz
static const uint8_t ATTITUDE_PUB_INTERVAL = 100; //100 -> 10Hz

private:
Expand Down

0 comments on commit 7c1fca0

Please sign in to comment.