droneprojetsn2 / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Connection Problem with Bluetooth module #638

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I have a BTM-222 Bluetooth module connected to APM2.0 (Console mode from APM 
Planner works fine)
2. I try to connect with ArdupilotMegaPlanner (MAVLink)

What is the expected output? What do you see instead?
A Message box appears: Connect Failed
Details give me a problem in ArdupilotMega.MAVLink.OpenBG() in MAVLink.cs
Last log Message: INFO ArdupilotMega.MAVLink - Open port with COM6 57600

What version of the product are you using? On what operating system?
Tried several APM Planner versions, 1.1.86 was the latest.
Arducopter 2.5.4 and 2.5.5

Please provide any additional information below.
Tried to find the exact location of the problem but with a breakpoint a the 
beginning of OpenBG() the problem disapears. That leads me to the idea of 
making a pause there and that also works.

What helps for me as a workaround is:

        private void OpenBg(bool getparams, ProgressWorkerEventArgs progressWorkerEventArgs)
        {
            Thread.Sleep(1000);
            frmProgressReporter.UpdateProgressAndStatus(-1, "Mavlink Connecting...");

            // reset

Original issue reported on code.google.com by sub....@gmail.com on 16 May 2012 at 9:40

GoogleCodeExporter commented 8 years ago
1.1.88 is fine, thanks!

Original comment by sub....@gmail.com on 29 May 2012 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 27 Jun 2012 at 12:49