Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micropython - ev3dev has a delay of at least three seconds when a program is selected on the brick #6

Open
fll-pigeons opened this issue Jul 29, 2020 · 5 comments

Comments

@fll-pigeons
Copy link
Owner

fll-pigeons commented Jul 29, 2020

from Any recommendations for alternative programming languages?:

ethanreece says:

When exploring solutions, I looked at RobotC, EV3-G, ev3dev (Python, MicroPython, C++), and LeJOS:
...
ev3dev with Python is an interesting solution, as it uses VS Code as its IDE. However, ev3dev has a delay of at least three seconds when a program is selected on the brick, which is unacceptable during a match.

MicroPython, which uses ev3dev, has the same issue as regular Python.
...

Action: confirm that this is still an issue and look for solutions

@fll-pigeons
Copy link
Owner Author

timdavid says:
Would using a master program solve the delay issue? The master program could start up and then wait for various signals to launch the appropriate code for a specific outing from the launch area.
...
When using a master program, you need to reset all the motor rotation sensors before each time you tell the robot to leave the launch area.. Between missions in the master program, most teams also release the motors, so the wheels move easily.

@fll-pigeons
Copy link
Owner Author

Dean Hystad says:
This is a known problem and there is a solution. Resetting the rotation sensor is heading in the right direction, but using the wrong block. Look for posts about "master program" or "mission sequencer", they will all talk about this and other similar issues that pop up when your program takes on the cleanup activities that automatically happen when you start a program.

@laurensvalk
Copy link

Would using a master program solve the delay issue? The master program could start up and then wait for various signals to launch the appropriate code for a specific outing from the launch area.

In the EV3 extension in Visual Studio Code, you can click on "Explore Example Projects". There's a mission button menu example that lets you quickly start various actions/missions using the buttons.

@fll-pigeons
Copy link
Owner Author

Thanks for the pointer!

@fll-pigeons
Copy link
Owner Author

holyokecodes/FLL-2020

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

No branches or pull requests

2 participants