Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Servo.MAX_POSITION is incorrect in OnBot #61

Closed
Crossle86 opened this issue Sep 26, 2019 · 2 comments
Closed

Servo.MAX_POSITION is incorrect in OnBot #61

Crossle86 opened this issue Sep 26, 2019 · 2 comments

Comments

@Crossle86
Copy link

The Servo class constant MAX_POSITION reports a value of zero in OnBot environment. Correctly reports 1 in Android Studio.

Further, on one phone, OnBot, when you type Servo.M brings up MIN_POSITION and MAX_POSITION as autocomplete options. On another phone, Servo.M does not. However both compile and work other than MAX returning zero.

More testing reveals erratic autocomplete behavior. Servo.M brings up the MIN and MAX as mentioned above. Servo. may bring up a list of all available items (though when it does, MIN and MAX are not present, even though .M brings them up) and it may not.

@NoahAndrews
Copy link
Member

This will be fixed in the next release.

@NoahAndrews
Copy link
Member

Fixed in version 5.4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants