You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.
Our group has got several windows users while I am using macOS Version of Android Studio.As we are switching between the 2 OS,RobotController always stuck in initialization period.It also alternates with several different kind of warnings below.
1,"You must set target position before using RUN_TO_POSITION"
2."getCurrentPosition() on a null referenced object"
These problem sometimes can be solved by rebooting the phone ,installing the RC app and configure the configuration once again but it really annoys.
The text was updated successfully, but these errors were encountered:
The first message is telling you what the problem is. If you are going to set the runMode to RUN_TO_POSITION, then you must also set a target position via a call to setTargetPosition() otherwise how does it know what position to run to?
As to the null pointer error, we'd need to see actual software. If you have a github repo you could reference here that would be ideal.
The problem is I searched the usage of the RUN_TO_POSITION enumeration but find nothing. Then, the problem still exists, but unexpectedly we solved this problem by switching to another expansion hub.But we need to know if this problem is connected with a particular expansion hub.
As for the null pointer error, we have already know that the RC app will ignore the declaration outside the runOpMode() method call.
I suppose it's technically possible there could be a firmware bug that could cause RTP mode to persist through the failsafe commands sent by the StopRobot OpMode. I might do some testing later and see if I can reproduce.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Our group has got several windows users while I am using macOS Version of Android Studio.As we are switching between the 2 OS,RobotController always stuck in initialization period.It also alternates with several different kind of warnings below.
1,"You must set target position before using RUN_TO_POSITION"
2."getCurrentPosition() on a null referenced object"
These problem sometimes can be solved by rebooting the phone ,installing the RC app and configure the configuration once again but it really annoys.
The text was updated successfully, but these errors were encountered: