Search found 4 matches

by jgouveia
02 May 2023, 01:39
Forum: General questions
Topic: Crash in while loop
Replies: 12
Views: 1169

Re: Crash in while loop

The simulation stops and a message appears saying "abort execution". In the terminal it shows a message "[/body@childScript:error] ?: script execution was terminated externally.".
I was thinking maybe it's a memory issue.

Thank you for your attention.
by jgouveia
29 Apr 2023, 01:46
Forum: General questions
Topic: Crash in while loop
Replies: 12
Views: 1169

Crash in while loop

Hello, i am trying to use a while loop in a function to correct the robot's angular position. The purpose is to always make the robot stay at the same initial angle that is pre-defined, rotating clockwise or counterclockwise. But always when i try to use a while loop to peform this task the program ...
by jgouveia
27 Apr 2023, 20:25
Forum: General questions
Topic: Calculate angle from gyrosensor data
Replies: 2
Views: 302

Re: Calculate angle from gyrosensor data

Thank you, it helped a lot (:
by jgouveia
27 Apr 2023, 03:50
Forum: General questions
Topic: Calculate angle from gyrosensor data
Replies: 2
Views: 302

Calculate angle from gyrosensor data

Hello.

I'm building an omnidirectional robot with three wheels that must correct its angular position to always point straight ahead. So, using the gyrosensor data, how could I calculate the angle?