Complete the code to start accelerometer calibration.
calibration.start_[1]()The method start_accelerometer() begins the accelerometer calibration process.
Complete the code to check if compass calibration is complete.
if calibration.is_[1]_complete(): print('Compass calibrated')
The function is_compass_complete() checks if compass calibration finished.
Fix the error in the gyro calibration reset code.
calibration.[1]_reset()The correct method to reset gyro calibration is gyro_reset().
Fill both blanks to create a dictionary of calibration statuses for accelerometer and compass.
status = {
'accel': calibration.is_[1]_complete(),
'compass': calibration.is_[2]_complete()
}This dictionary stores if accelerometer and compass calibrations are complete using their respective methods.
Fill all three blanks to create a calibration summary with sensor names, status, and reset commands.
summary = {
[1]: calibration.is_[2]_complete(),
'reset_command': calibration.[3]_reset
}The summary uses the string 'gyro' as key, calls is_gyro_complete() for status, and references gyro_reset method.
