-
Notifications
You must be signed in to change notification settings - Fork 3.2k
No Type HiTechnicNxtGyroSensor for HardwareMap #68
Comments
You need to cast the object if you want it as a |
Unless I am understanding it wrong what you should be doing is something like |
Really what you should be doing is |
And so that will work even if I am using the NXT Gyro Sensor? |
You will get an instance of |
Can this be closed? |
Changes to Ref
sahithi 12/21
get main changes
There is no type HiTechnicNxtGyroSensor for HardwareMap. Using gyroSensor instead when the object is created like
HiTechnicNxtGyroSensor GyroSens
returns the errorError:(81, 43) error: incompatible types required: HiTechnicNxtGyroSensor found: GyroSensor
and using the type HiTechnicNxtGyroSensor returns the error
Error:(81, 28) error: cannot find symbol variable HiTechnicNxtGyroSensor
I am fairly sure I explored all the possibilities and its actually a bug, but I am not sure as I can't see the source code for the hardwaremap function.
The text was updated successfully, but these errors were encountered: