Good morning. Was using the online / studio app on a Samsung Chromebook to look into Blockly coding. Created what seemed to be an ok program, tried Run and nothing would happen on the robot. Tested all motors etc and everything checked out. Asked studio to sense the sensors. Again everything checked out. Finally by trial and error, we went thru the sensor/port settings in studio and clicked joystick to OFF and everything ran.
That’s the short version of everything we tried. Question is…is this a known issue ? I skimmed thru the documentation and could not see anything referencing this… Any insight and commentary welcome.
Yes. It really is odd. We had it all tethered. We did self tests. We made sure that the motor ports were correct. In STUDIO we asked the debugger / console to detect settings. Everything worked AOK. Even downloading the program worked, and the LCD would show the program name, but nothing ran.
So in studio we checked the motor settings again, also the drivetrain. Everything good.
Then i looked at all the other settings. Noticed that joystick had been detected as ON by the debugger. Checked it to OFF. Re downloaded and ran, and it worked.
Really wondering if we missed something obvious or this is a wrinkle.
We didn’t . Once we discovered turning the JOYstick to OFF allowed us to run the programs as expected we declared SUCCESS and paused for the day.
Additionally, not only were we unable to run the program from the chromebook via USB, but until we had changed the Joystick setting to OFF we were unable to RUN the program on the brain itself. We could select it, click the check mark to run, but it would just sit there. It’s almost as if having the joystick mode ON was blocking the brain from doing anything else.
And yes we are on current firmware and we only downloaded the Studio / Connection apps / extensions to the Chromebook this morning so those were current as well.
I would be interested if you could check that next time… It is a good self-test for Controller involved issues. The symptoms
are consistent with an unlinked Controller, perhaps the Controller is linked to another bot, or there is a tether cable or Controller hardware issue? Were the link lights flashing green ( I think that happens after you detach the tether cable, which links the Controller)?
Alright, played with it again this evening. Setup Chromebook from scratch and added simple DriveTrain forward program. Clicked Run and it ran.
Clicked the joystick setting on the debugger, added a joystick. Clicked Run and program went to VEX but does not appear to execute. Cleared joystick to NONE and clicked run and it ran successfully. This may be by design, but to a newcomer it was truly frustrating to not see an obvious reason why our VEX was obviously receiving the code, but not running it.
You hit the nail on the head. So when joystick is [ON] in the debugger / settings window, then if the controller is not connected to the brain in any way (tethered / radio) then the program gets sent to the brain but the brain sits there, and does nothing, EVEN though the program itself does not require the controller.
When the controller was actively connected, the program ran, even though no controller intervention was required by the program.
Good. Yes, selecting the joystick in the configuration panel causes the program to send instructions to use the Controller. No other indication is given (unlike the Driver Control demo) but if no Controller, bot waits patiently…
Yup. Patiently is one word for it. All makes sense now and documenting it to help the robot club understand better what they need to do if they are looking to control the bot from the Chromebook alone.
Similar situation can occur if sensors, motors attached to brain do not match those set in the config panel. RMS does a good job with the “Connect” and “Detect…” buttons, but sometimes you need to check. Also, turn off brain when connecting, disconnecting wires to it.
I believe 1 year old. They were having issues getting it all working in class so my son offered to take it home for a weekend to help out. Hence our struggle! @ home we have the Mindstorms and the Boost etc so we’re fairly familiar with their nuances, but the VEX was a steeper learning curve, coupled with the issue that “well we are connected, we have this program, it says its transmitting, there it is on the block, but its not running…” issue we encountered.