ftctechnh / ftc_app

FTC Android Studio project to create FTC Robot Controller app.
761 stars 3.16k forks source link

How can I call an opmode to run inside of another opmode? #668

Closed pa12031876 closed 5 years ago

pa12031876 commented 5 years ago
 When programming an autonomous program, the code can get very long. I wanted to confirm if there is any way to call another opmode to start while the original is still running? Thank You!
cmacfarl commented 5 years ago

No. Running of opmodes is managed by the underlying SDK.

But I don't think this is necessarily a question about running of opmodes. It's rather a question of software design and architecture. This is better asked and answered on the forums or r/FTC over on reddit.