How i setup bebop2 to Matlab
Show older comments
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 Comment
Srijith Vijay
on 26 Jul 2020
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
Answers (0)
Categories
Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!