update
This commit is contained in:
@@ -116,7 +116,7 @@ class ZlacWrapper : public BaseInterface {
|
||||
"(systemctl status motor_control zlac_ros)"
|
||||
"\n - dcf_path: " + cfg_.dcf_path);
|
||||
}
|
||||
if (!impl_->enableHardware()) {
|
||||
if (!impl_->enableHardware(cfg_.accel_ramp_ms)) {
|
||||
impl_.reset();
|
||||
return StatusResponse::Error(
|
||||
StatusCode::kUnavailable,
|
||||
@@ -129,7 +129,8 @@ class ZlacWrapper : public BaseInterface {
|
||||
VSLAM_INFO("base: ZLAC8015D tren " << cfg_.can_channel << " node "
|
||||
<< static_cast<int>(cfg_.can_node_id) << ", banh r="
|
||||
<< cfg_.wheel_radius << " m cach nhau " << cfg_.wheel_separation
|
||||
<< " m, " << counts_per_rev_ << " count/vong");
|
||||
<< " m, " << counts_per_rev_ << " count/vong, ramp "
|
||||
<< cfg_.accel_ramp_ms << " ms");
|
||||
|
||||
running_ = true;
|
||||
poll_thread_ = std::thread([this] { PollLoop(); });
|
||||
|
||||
Reference in New Issue
Block a user