Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Spinal][Communication][WIP] switch to ETH mode #617

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extern "C" {

/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
// #define USE_ETH // comment out if we do not have eth
#define USE_ETH // comment out if we do not have eth
/* USER CODE END EM */

void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
Expand Down
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
Loading