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

Allow in-systick logging over bluetooth with DMA #351

Merged
merged 18 commits into from
Jan 17, 2019
Merged
Changes from 1 commit
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
15 changes: 3 additions & 12 deletions src/logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ void log_configuration_variables(void)
{
cua-cua marked this conversation as resolved.
Show resolved Hide resolved
float micrometers_per_count = get_micrometers_per_count();
float wheels_separation = get_wheels_separation();
float max_linear_speed = get_max_linear_speed();
float linear_acceleration = get_linear_acceleration();
float linear_deceleration = get_linear_deceleration();
float angular_acceleration = get_angular_acceleration();
float kp_linear = get_kp_linear();
float kd_linear = get_kd_linear();
float kp_angular = get_kp_angular();
Expand All @@ -30,10 +26,6 @@ void log_configuration_variables(void)

LOG_INFO("{\"micrometers_per_count\":%f,"
"\"wheels_separation\":%f,"
"\"max_linear_speed\":%f,"
"\"linear_acceleration\":%f,"
"\"linear_deceleration\":%f,"
"\"angular_acceleration\":%f,"
"\"kp_linear\":%f,"
"\"kd_linear\":%f,"
"\"kp_angular\":%f,"
Expand All @@ -42,10 +34,9 @@ void log_configuration_variables(void)
"\"ki_angular_front\":%f,"
"\"kp_angular_side\":%f,"
"\"kp_angular_front\":%f}",
micrometers_per_count, wheels_separation, max_linear_speed,
linear_acceleration, linear_deceleration, angular_acceleration,
kp_linear, kd_linear, kp_angular, kd_angular, ki_angular_side,
ki_angular_front, kp_angular_side, kp_angular_front);
micrometers_per_count, wheels_separation, kp_linear, kd_linear,
kp_angular, kd_angular, ki_angular_side, ki_angular_front,
kp_angular_side, kp_angular_front);
}

/**
Expand Down