Skip to content

New Install: Trixie GoPiGo3 example and Project test Results #364

@slowrunner

Description

@slowrunner

(Sorry for lumping multiple issues in one - tired. Examples tested with no issues at end.)

(gopigo3) tovli@mrgpg3:~/systests/us $ pip3 list | grep mr
mr-di-sensors 0.0.3
mr-gopigo3 1.0.3
mr-rfr-tools 2.0.2

ISSUE 1: ~/GoPiGo3/Software/Python/gopigo3/examples/Grove_US.py and Grove_US2.py throw error:

  • gopigo3 has no attribute 'SensorError'
(gopigo3) tovli@mrgpg3:~/GoPiGo3/Software/Python/gopigo3/examples $ python3 Grove_US.py
Traceback (most recent call last):
  File "/home/tovli/GoPiGo3/Software/Python/gopigo3/examples/Grove_US.py", line 29, in <module>
    print("%4dmm" % GPG.get_grove_value(GPG.GROVE_1))
                    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
  File "/home/tovli/.venv/gopigo3/lib/python3.13/site-packages/gopigo3/gopigo3.py", line 987, in get_grove_value
    raise SensorError("get_grove_value error: Invalid value")
gopigo3.gopigo3.SensorError: get_grove_value error: Invalid value

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tovli/GoPiGo3/Software/Python/gopigo3/examples/Grove_US.py", line 30, in <module>
    except gopigo3.SensorError as error:
           ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'gopigo3' has no attribute 'SensorError'

ISSUE 2: - examples/easy_Motors.py: lurches fwd then hangs

ISSUE 3: - Projects/BasicRobotControl: works somewhat then hangs and must be killed

ISSUE 4: - Projects/CompassBot: missing "import sys", if added the code calibrates and w will drive it, but direction keys cause "IMU is not reachable" and quits

The following were confirmed to work fully:

=====================
Confirmed:

  • easy_Blinkers.py
  • easy_Distance_Sensor.py
  • easy_DexEyes.py
  • Motor_Encoder.py
  • Motor_Follow.py
  • Motor_Position.py
  • Motor.py
  • Motor_Speed.py
  • Motor_Turn.py
  • Read_Info.py
  • Servo.py
  • python3 .venv/gopigo3/lib/python3.13/site-packages/di_sensors/examples/IMUSensor.py
  • Projects/ServoControl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions