Hi guys at Dexter Industries!
I am currently running into some difficulties with the compass_robot.py example and I’m not sure how to proceed with fixing these errors. I’m using the new raspbian for robots with stretch support and it is a GoPiGo3.
[Errno 5] Input/output error Rotate the GoPiGo3 robot with your hand until it's fully calibrated[robotControl] thread couldn't be launchedTraceback (most recent call last): The GoPiGo3 is not yet calibrated File "/home/pi/Desktop/GoPiGo3/Projects/CompassRobot/compass_robot.py", line 366, in <module> Main(trigger) File "/home/pi/Desktop/GoPiGo3/Projects/CompassRobot/compass_robot.py", line 347, in Main with Input(keynames = "curtsies") as input_generator: File "/usr/lib/python3/dist-packages/curtsies/input.py", line 73, in __enter__ self.original_stty = termios.tcgetattr(self.in_stream) termios.error: (25, 'Inappropriate ioctl for device') >>> IMU sensor is not reacheable or kill event was triggered [orientate] thread couldn't fully start up
Additionally, so I can use calibration outside of compass_robot.py, does the line
compass = imu.BNO055.get_calibration_status()
(line 119) only return the calibration status of the magnemeter or the entire IMU? if just the magnemeter what is the code for the other components?
Lastly, will there be any problems if I use a second IMU to help reduce static? something the tune of:
imu1 = inertial_measurement_unit.InertialMeasurementUnit(bus = "GPG3_AD1") imu2 = inertial_measurement_unit.InertialMeasurementUnit(bus = "GPG3_AD2") #Do things with both later.
I would presume not, but would like to be sure there is nothing in the back end that will muddy this.
Thank you very much!