crazyflie_ros icon indicating copy to clipboard operation
crazyflie_ros copied to clipboard

"timeout " a new error

Open yubinwang11 opened this issue 5 years ago • 7 comments

Hi, There is a new error, [ERROR] [1557057450.162429076]: Exception thrown while processing service call: timeout [ERROR] [1557057450.162832149]: Service call failed: service [/add_crazyflie] responded with an error: timeout The feedback is differernt from the former issues,so thanks for your help. Looking forward to your reply. Thanks.

yubinwang11 avatar May 05 '19 12:05 yubinwang11

What former issues are you referring to? The timeout error usually occurs if there is an issue with the URI, i.e. the Crazyradio can't connect to the Crazyflie.

whoenig avatar May 05 '19 19:05 whoenig

roger that ,thanks!

---Original--- From: "whoenig"[email protected] Date: Mon, May 6, 2019 03:27 AM To: "whoenig/crazyflie_ros"[email protected]; Cc: "Author"[email protected];"wangyubin11"[email protected]; Subject: Re: [whoenig/crazyflie_ros] "timeout " a new error (#137)

What former issues are you referring to? The timeout error usually occurs if there is an issue with the URI, i.e. the Crazyradio can't connect to the Crazyflie.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

yubinwang11 avatar May 05 '19 22:05 yubinwang11

I am also having timeout issues while flying. the drone drops suddenly and crazyflie_server says error - timeout.this happens apparently due to RF interference since I get lots of "link quality low" messages. could not find in crazyflie_server.cpp -- is there a parameter that can increase the number of seconds before a timeout is declared?

wydmynd avatar May 13 '19 14:05 wydmynd

You can find that here: https://github.com/whoenig/crazyflie_cpp/blob/master/include/crazyflie_cpp/Crazyflie.h#L346 and https://github.com/whoenig/crazyflie_cpp/blob/master/include/crazyflie_cpp/Crazyflie.h#L381-L382. What messages do you send during the flight? Ideally, you only broadcast data which should not be able to trigger a timeout error.

whoenig avatar May 13 '19 16:05 whoenig

Thanks! I'm supposedly sending just /goto service calls , and logging some 10 parameters at the same time. flying high level mode using mellinger controller. the /goto calls are being sent at 1-2 hz though, because signal quality is so bad. I don;t know how message buffering is implemented.

wydmynd avatar May 13 '19 18:05 wydmynd

it seems that /go_to can cause timeouts

[INFO] [1557911487.054907]: service [/cf8/go_to] responded with an error: timeout

wydmynd avatar May 15 '19 09:05 wydmynd

Yes, if you send commands to a single CF, this can cause timeouts as it will wait to receive an acknowledgement.

whoenig avatar May 20 '19 17:05 whoenig