Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to get the status bar in a log or a variable

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)

Yes, this is possible. 

You can extract this information when you trigger Update on a program.
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.
If you only want to check if a target is reachable you can do this:
reachable = target.setParam("Reachable")
if reachable:
   print("Target is reachable")
   print("Target is not reachable")

Users browsing this thread:
1 Guest(s)