Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Commit

Permalink
refs #17 Disable thermistor and magnetometer reads in multirotor system.
Browse files Browse the repository at this point in the history
Makes things freeze like the GPS read. I'm making a mistake somewhere.
  • Loading branch information
yoos committed Feb 11, 2015
1 parent 6ef19aa commit 454c704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/system/multirotor_vehicle_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void MultirotorVehicleSystem::update() {

// Only use magnetometer if it is available
if(magnetometer) {
magReading = (*magnetometer)->readMag();
//magReading = (*magnetometer)->readMag();
}

optional<ThermistorReading> thermReading;
Expand All @@ -46,7 +46,7 @@ void MultirotorVehicleSystem::update() {
//gpsReading = (*gps)->readGPS();
}
if (thermistor) {
thermReading = (*thermistor)->readTherm();
//thermReading = (*thermistor)->readTherm();
}
}

Expand Down

0 comments on commit 454c704

Please sign in to comment.