generated from wessel/boilerplate
fix(debug): Change sim logger to debug logger
This commit is contained in:
@@ -60,7 +60,7 @@ void Simulator::load_intervals(rclcpp::Node* node, const std::vector<std::string
|
|||||||
const auto& cfg = intervals[j];
|
const auto& cfg = intervals[j];
|
||||||
const char* type_str = (cfg.type == SimType::CONSTANT) ? "constant" :
|
const char* type_str = (cfg.type == SimType::CONSTANT) ? "constant" :
|
||||||
(cfg.type == SimType::LINEAR) ? "linear" : "quadratic";
|
(cfg.type == SimType::LINEAR) ? "linear" : "quadratic";
|
||||||
RCLCPP_INFO(node->get_logger(),
|
RCLCPP_DEBUG(node->get_logger(),
|
||||||
"Axis '%s' Interval %zu: type='%s', t_start=%.6f, t_end=%.6f, y_start=%.6f, y_end=%.6f, t_mid=%.6f, y_mid=%.6f",
|
"Axis '%s' Interval %zu: type='%s', t_start=%.6f, t_end=%.6f, y_start=%.6f, y_end=%.6f, t_mid=%.6f, y_mid=%.6f",
|
||||||
axis.c_str(), j, type_str,
|
axis.c_str(), j, type_str,
|
||||||
cfg.t_start, cfg.t_end, cfg.y_start, cfg.y_end, cfg.t_mid, cfg.y_mid
|
cfg.t_start, cfg.t_end, cfg.y_start, cfg.y_end, cfg.t_mid, cfg.y_mid
|
||||||
|
|||||||
Reference in New Issue
Block a user