Program stops running

We are having an issue where we download the program to the V5 Brain but when we try to run the program, it just stops running after 1 second. I can’t seem to find any errors in the code and I’m not sure why it stops. Anyone have an idea?

Hello.

Please set your project to Public, Including Code in the settings, and then provide a link to it.

Cheers, Sam

Here is a link to the project. This is going to be a good lesson because we can’t find an error so we are about to learn something!
https://www.robotmesh.com/studio/601d9b1ebf4a15058c6de54d

Looks like this program doesn’t define a controller?

image

In the interface monitor on the right side of the screen, click on the gear icon next to “Use controller here:” and select “Controller (single)”.

image

I’ve been having the same issue, even with a controller added.

https://www.robotmesh.com/studio/622953d1c4b0580fb16e1a7d

Hello.

Please set your project to Public, Including Code in the settings.

Cheers, Sam

(post deleted by author)

1 Like

The problem started again

https://www.robotmesh.com/studio/622bd1dbc4b0580fb16e433a

image

There is no button T2. Did you mean R2?