get_raya_status()
  • 1 Minute to read

get_raya_status()


Article summary

Get current raya status.

Reference

Arguments

None

Return

TypeDescription
dictReturn returns a dictionary with the current state of Raya.

Usage example

...
self.status = self.enable_controller('status')
...
manipulation_status = await self.status.get_raya_status()
self.log.info(manipulation_status)
...

Output:

{
   "all_running":false,
   "servers_status":{
      "arms":{
         "server_status":"<STATUS_SERVER.RUNNING":3>,
         "engine_status":"<STATUS_ENGINE.RUNNING":3>,
         "server_error":"<STATUS_SERVER_ERROR.OK":0>,
         "server_error_msg":"",
         "engine_error":"<STATUS_ENGINE_ERROR.OK":0>,
         "engine_error_msg":"",
         "robot_specific_info":""
      }
   }
}

Was this article helpful?