Skip to content
Snippets Groups Projects
Commit e383dd9e authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

[skip ci] wip

parent ec353d36
No related branches found
No related tags found
1 merge request!49Draft: Resolve "Adapt to new sensor constructors in core"
......@@ -55,9 +55,9 @@ struct ParamsSensorImu : public ParamsSensorBase
std::string print() const override
{
return ParamsSensorBase::print() + "\n" + "w_noise: " + std::to_string(w_noise) + "\n" +
"a_noise: " + std::to_string(a_noise) + "\n" +
"orthogonal_gravity: " + std::to_string(orthogonal_gravity) + "\n";
return ParamsSensorBase::print() + "\n" + "w_noise: " + toString(w_noise) + "\n" +
"a_noise: " + toString(a_noise) + "\n" +
"orthogonal_gravity: " + toString(orthogonal_gravity) + "\n";
}
};
......
......@@ -66,8 +66,7 @@ class FactorImu2dwithGravity_test : public testing::Test
frm1 = problem_ptr->emplaceFrame(TimeStamp(1), "POV", Vector5d::Zero());
// Imu2d sensor
sensor = problem_ptr->installSensor(
"SensorImu", wolf_root + "/test/yaml/sensor_imu2d_with_gravity.yaml", {wolf_root});
sensor = problem_ptr->installSensor(wolf_root + "/test/yaml/sensor_imu2d_with_gravity.yaml", {wolf_root});
// capture from frm1 to frm0
cap0 =
......
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