You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several ways to do that but none of them are actually specific to the SDK. You could, for example, write the update to a global variable and then read that anywhere in your code. Not the cleanest way to do it but the simplest one.
So I'm trying to access the TOF data directly to control the movement of the bot.
I know I can subscribe to the data from the TOF sensor it its own function but how can I use that data outside the function?
I'd like to be able to run an "if [TOFDistance] < 20" situation. Is this possible?
The text was updated successfully, but these errors were encountered: