Skip to content
Snippets Groups Projects
Commit e0d9967f authored by Carlos Neves's avatar Carlos Neves
Browse files

Fixed bug not calling set_sensor_unit when no calibration file is loaded

parent aaf8e36c
No related branches found
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ bool Bno055ImuDriver::startDriver(void)
{
try{
this->imu_device->set_operation_mode(config_mode);
this->imu_device->set_sensor_units(false,true);
this->imu_device->set_data_rate(this->config_.update_rate);
this->imu_device->set_accel_config(this->config_.accel_range,this->config_.accel_bandwidth,this->config_.accel_pwr_mode);
this->imu_device->set_gyro_config(this->config_.gyro_range,this->config_.gyro_bandwidth,this->config_.gyro_pwr_mode);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment