mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
Fix gyro field name
old-commit-hash: 2e739aa77c912d7e28e3f5fc434636015f766829
This commit is contained in:
@@ -58,7 +58,7 @@ void LSM6DS3_Gyro::get_event(cereal::SensorEventData::Builder &event){
|
||||
float xyz[] = {y, -x, z};
|
||||
kj::ArrayPtr<const float> vs(&xyz[0], 3);
|
||||
|
||||
auto svec = event.initAcceleration();
|
||||
auto svec = event.initGyroUncalibrated();
|
||||
svec.setV(vs);
|
||||
svec.setStatus(true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user