Hello. I want to use MATLAB Support PackageForParrotDrone using bebop2.
First of all, I connected the pc and the drone with wifi as in the tutorial, and checked the connection status with the ping command. And in addon management, I hit finish in the hardware setup. Then follow the instructions p = parrot(); When I try to create an object, I get the following error. I want to know how to solve what is the problem.
The error is:
>> p = parrot();
Warning: Error executing listener callback for event Executing defined for internal.IntervalTimer class.
An error occurred while using: parrot>@(~,~)obj.readAsync (line 1541)
Connection to the Parrot drone lost. Clear the existing connection and create a new one.
오류 발생: internal.IntervalTimer/onCustomEvent (line 154)
notify(obj, 'Executing', internal.TimerInfo(eventData.ExecutionCount));
오류 발생: internal.IntervalTimer>@(source,data)obj.onCustomEvent(data.Type,data.Data) (line 115)
@(source,data)
obj.onCustomEvent(data.Type,data.Data));
오류 발생: asyncio.Channel/onCustomEvent (line 477)
notify(obj, 'Custom', asyncio.CustomEventInfo(type,data));
오류 발생: asyncio.Channel>@(source,data)obj.onCustomEvent(data.Type,data.Data) (line 409)
@(source, data) obj.onCustomEvent(data.Type, data.Data));
오류 발생: parrot/setupDrone (line 1547)
pause(0.01);
오류 발생: parrot (line 243)
setupDrone(obj);
> In internal/IntervalTimer/onCustomEvent (line 154)
In internal.IntervalTimer>@(source,data)obj.onCustomEvent(data.Type,data.Data) (line 115)
In asyncio/Channel/onCustomEvent (line 477)
In asyncio.Channel>@(source,data)obj.onCustomEvent(data.Type,data.Data) (line 409)
In parrot/setupDrone (line 1547)
In parrot (line 243)
The first input must be a character vector or string scalar.

댓글 수: 1

Srijith Vijay
Srijith Vijay 2020년 7월 26일
Hi,
The error you are getting indicates that the computer's connection to the drone's WiFi was lost. Could you try connecting to the drone using a different Wifi device, maybe an external Wifi dongle?
Also, try resetting the Bebop2 drone and reconnect.
If you are still facing issues, feel free to reach out to us at: https://www.mathworks.com/support/contact_us.html and we can help you with this.
HTH.
-Srijith

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Parrot Drones에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 7월 21일

댓글:

2020년 7월 26일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by