Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not us API without WIFI network #19

Open
AndersMalmgren opened this issue May 29, 2011 · 4 comments
Open

Can not us API without WIFI network #19

AndersMalmgren opened this issue May 29, 2011 · 4 comments

Comments

@AndersMalmgren
Copy link
Contributor

Hi.
The API crashes when you try to init the DroneControl class
It crashes at the Initialize of the NetworkConnector class when it tries to consctuct the WlanClient class

This line crashes

              Wlan.ThrowIfError(
                     Wlan.WlanOpenHandle(Wlan.WLAN_CLIENT_VERSION_XP_SP2, IntPtr.Zero, out negotiatedVersion, out clientHandle));

It throws "The service has not been started"

If i follow the stack trace i can see that the call was started at the default constructor for the control class

droneControl = new DroneControl(droneConfig);

So like the code is constructed right now it will never work for us that are not connected to a WIFI

Best regards, Anders

@shtejv
Copy link
Owner

shtejv commented Jul 5, 2011

This is an issue that appears when you are not connected to a network, before. This will be fixed in the next version of the software.

@shtejv
Copy link
Owner

shtejv commented Jan 2, 2012

The new version is out now. The error should not occur any more. Try it out.

@RickardPettersson
Copy link

I got the same problem with latest code today downlaoded.

Why do code that only works over wifi?

The ar drone can connect to a wfi router and then computers on the network could control it...

Please help..

@shtejv
Copy link
Owner

shtejv commented Apr 21, 2012

At the time when I worked on the source code, the drone could NOT connect to a Wifi router. You had to use the drone's DHCP to connect to it.

I haven't been able to work on the project for several months now. So maybe this has changed in the mean time. But I'm afraid that I won't be able to do a lot of work for the code in the next few months.

If you want to add functionality to the project, feel free to do so. I will gladly merge your pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants