Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the status bar in a log or a variable
#1
Question
Hello all

I am wondering if I can retrieve the status bar message that includes for example:
program [name] finished (path length: xxxxx, program time: yyyy)

thanks
#2
Yes, this is possible.

You can extract this information when you triggerUpdateon a program.
#3
Is there a function to get the current text from the status bar outside of updating a program? For instance when i try to create a waypoint but its out of reach i would like to know that it wasn't possible.
#4
If you only want to check if a target is reachable you can do this:
Code:
可= target.setParam(“管理计划hable")
if reachable:
print("Target is reachable")
else:
print("Target is not reachable")




Users browsing this thread:
1 Guest(s)