flexivrobotics / flexiv_rdk

RDK (robotic development kit) for Flexiv robots. Supports C++ and Python. Compatible with Linux, macOS, and Windows.
Apache License 2.0
58 stars 18 forks source link

[BUG] Fault occurred on robot server, exiting ... And the arm moves unexpectedly #29

Closed acf986 closed 8 months ago

acf986 commented 11 months ago

Version information

Describe the bug Start the program implementing my own controller using torque streaming API. The joint 6 suddenly swings down. While the RDK prints out: [2023-09-07 14:52:00.937] [error] periodicTask: Fault occurred on robot server, exiting ... [2023-09-07 14:52:00.937] [info] [flexiv::Scheduler] Stopped all tasks [2023-09-07 14:52:01.937] [info] [flexiv::Robot] Network service closed [2023-09-07 14:52:01.938] [info] >>>>> Flexiv RDK exited <<<<<

Steps to reproduce Cannot be reproduced easily.

Expected behavior The arm will stay at its initial location, and will not move.

Screenshots NA

Additional context Please tell us a method to find out what fault is on the server side.

pzhu-flexiv commented 11 months ago

@acf986 Thanks for bring up the issue to us. In the upcoming (late September) v0.9 release, the server-side error message will be automatically transmitted to RDK client so you know exactly what error happened on the robot server.

acf986 commented 11 months ago

@pzhu-flexiv Hi, for now, is there any way we can see the possible error from you QNX system? or at least the possible type of errors that will print out this message.

pzhu-flexiv commented 11 months ago

@acf986 Yes, you can always keep the UI tablet (Flexiv Elements) connected while using RDK. Once any error occurs, you will see a pop-up error message from the UI tablet. What we will do in RDK v0.9 is to also copy this pop-up error message to RDK client and get it printed in the console in case the UI tablet is not connected. See https://rdk.flexiv.com/manual/troubleshooting.html#fault-handling-and-error-messages