-
Notifications
You must be signed in to change notification settings - Fork 17.2k
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
Onboard compass call over WiFi/UDP link does not send progress messages #5505
Comments
How is the radio connected? I'm assuming it's just a normal mavlink serial
telem as far as the autopilot is concerned?
On Jan 5, 2017 14:16, "Don Gagne" <notifications@github.com> wrote:
Using ArduCopter stable 3.4.3 if I do an onboard compass cal over usb
connection it all works fine. But if I try the exact same thing over a UDP
connection the MAG_CAL_PROGRESS/MAG_CAL_REPORT messages are never sent to
the groundstation. The vehicle is in onboard cal mode since I can hear it
beeping like it does when doing onboard cal. It just doesn't report
progress.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5505>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiNiIqHQSnxtqLUwckSylNMHVJ5bBks5rPUF1gaJpZM4LcBtV>
.
|
It's a PixRacer with the ESP8266 thingy. I assume that is how it is connected. Not much of a hardware person. Phillip Rowse built it for me. |
Should be working, will have to check that starting the cal on one port
will still broadcast to all the others, but it should be behaving that way,
I think I had tested this in the past, but I can't recall at this point.
…On Thu, Jan 5, 2017 at 6:10 PM, Don Gagne ***@***.***> wrote:
It's a PixRacer with the ESP8266 thingy. I assume that is how it is
connected. Not much of a hardware person. Phillip Rowse built it for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5505 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiNPv3tCtTb4W_rr27x06gfclZ-2Iks5rPZRxgaJpZM4LcBtV>
.
|
Phillip K? Maybe? |
Teehee. Yeah, Thanks to the proficnc guys. |
Is this solved? If I heard correctly, @lvale said in the dev call that everything is working. |
can't test again for 3 days, rebuilding racing quad :) |
I just tried it again with the same results. I tried debugging firmware myself but QGC won't run against laster master ArduCopter since it sends MAV_TYPE=0 in heartbeat on flash. |
Just finished testing. with Copter 3.4.3 and QGC initiates onboard cal and on wifi no feedback, while on usb there's the progress bar at the top and when finished the "health" displays. Tested with latest master |
I've just tested with MAVProxy and both Plane and Copter firmwares running over esp8266 worked as expected. I'm compiling QGC to see how it behaves. |
The real test is with Mission Planner over WiFi. I can seem to get that to work in my Windows VM so I can't test it myself. MAVProxy tends to do strange things since it isn't the same as a direct QGC connection. At least that has been my experience using it with SITL. |
I just tested the Bebop2 (which uses UDP over Wifi) with MP and it works. |
Did this on a solo last night, progress bar worked fine on mission planner. |
What is the difference between Bridge/QGC and QGC/Bridge? |
those are cumulative. I should have reset'em before the screenshot, because includes losses from powering on/off the drone |
Ok. What is the SR3_EXTRA3 value? |
@lvale Did you try PixRacer+WiFI+MP combination on same vehicle that failed with QGC? I couldn't test that myself. Seems weird it could be QGC only problem, but certainly possible. |
@DonLakeFlyer Same issue with MP latest beta, so it's not a QGC only issue |
All looks OK. Without having a Pixracer with a ESP8266 it's hard to help more. Two suggestions I can make are:
|
http://discuss.ardupilot.org/t/esp8266-wifi-on-pixhawk/14681/13?u=oxinarf @DonLakeFlyer @lvale Please try to update your ESP8266 firmware and check if you still don't receive the compass calibration messages. |
I flashed the latest firmware and now it's not working at all. Going to take me a bit to recover from that! |
Don, copter, plane or Rover?
…On Feb 19, 2017 10:50 AM, "Don Gagne" ***@***.***> wrote:
I flashed the latest firmware and now it's not working at all. Going to
take me a bit to recover from that!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5505 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiGarJiA87D6EyTKU5ZQkENmX6Nglks5reIDOgaJpZM4LcBtV>
.
|
I"m talking about flashing ESP8266 firmware, not ardupilot firmware. For ardupilot I've been testing with Copter. |
Who maintains the ESP firmware as it seems like that is potentially the
core problem. (At least I was completing onboard cals with the ESP about 2
weeks ago on a Pixracer)
…On Feb 19, 2017 11:51 AM, "Don Gagne" ***@***.***> wrote:
I"m talking about flashing ESP8266 firmware, not ardupilot firmware. For
ardupilot I've been testing with Copter.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5505 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiOGiuoEY_6HDXnRA1tVstBXwC0ywks5reI8wgaJpZM4LcBtV>
.
|
You were completing onboard cals with a PixRacer+ESP+QGC? |
PixRacer and Mission Planner is what I was testing against, since that was
what others on discuss.ardupilot where reporting problems with.(Also passed
my own GCS implementation of compass cal)
…On Sun, Feb 19, 2017 at 11:56 AM, Don Gagne ***@***.***> wrote:
You were completing onboard cals with a PixRacer and QGC?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#5505 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiKVAAXsRtLgSgSofK5O5I0j-cNNnks5reJBtgaJpZM4LcBtV>
.
|
@WickedShell On your GCS do you specific individual compass bits in MAV_CMD_DO_START_MAG_CAL or do you specify all using =0? That's the only possible difference I can think of. |
My call is like this:
Where compassBits has the first three compasses turned on. compassBits is param1, with the rest param2, ... |
I'm not specifying the compasses at all, and allowing it to do all of them:
My call: (clojure, the java bindings allow you to assume that every field
is 0 unless you set it)
0 (defn begin-compass-calibration
1 "Requests the start of a onboard compass cal"
2 [src-msg]
3 (let [command (new msg_command_long)]
4 (set! (.command command) MAV_CMD/MAV_CMD_DO_START_MAG_CAL)
5 (set! (.param2 command) 1) ; retry on failure
6 (set! (.param3 command) 1) ; automatically save on completion
7 (log/user "start calibration" src-msg)
8 (async/>!! radio/transmitQueue (.pack command))))
I can try and test with master again here. I'll need to grab a new version
of QGC and can test that as well. I assume using the daily windows builds
would be fine?
…On Sun, Feb 19, 2017 at 1:54 PM, Don Gagne ***@***.***> wrote:
My call is like this:
_vehicle->sendMavCommand(_vehicle->defaultComponentId(),
MAV_CMD_DO_START_MAG_CAL,
true, // showError
compassBits, // which compass(es) to calibrate
0, // no retry on failure
1, // save values after complete
0, // no delayed start
0); // no auto-reboot
Where compassBits has the first three compasses turned on.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5505 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAipiPa3MGVes7xUUkotSe881UHlSExlks5reKwQgaJpZM4LcBtV>
.
|
Could you change your code to pass in the same settings as QGC (3 bits and no retyr) and see if it still works? |
Since I toasted my Pixracer WiFi I'm dead in the water till I figure out how to revive it. |
Status update from testing today: With master copter I couldn't begin a compass calibration over ESP8266 with Mission Planner, QGC or my GCS. However I could preform a compass calibration over USB with both MP and my GCS. (QGC was not tested with copter over USB) With Plane however I could initiate a compass calibration over the ESP8266 on the same version. I'm not really sure what to make of that. |
If you could try Note you'll want a |
FYI: My pixracer WiFi is down for the count right now. I tried flashing a new firmware and it bricked it. Waiting for a breakout board thingy so I can flash firmware over FTDI. Hopefully @lvale can help out with testing until then. I'm probably a couple weeks away from getting my thing from china I need. |
@DonLakeFlyer Was your attempted update via the "update" webpage it offers? That also soft-bricked mine... |
@peterbarker Yes it was. |
No worries starting compass calibration now :-) |
Using ArduCopter stable 3.4.3 if I do an onboard compass cal over usb connection it all works fine. But if I try the exact same thing over a UDP connection the MAG_CAL_PROGRESS/MAG_CAL_REPORT messages are never sent to the groundstation. The vehicle is in onboard cal mode since I can hear it beeping like it does when doing onboard cal. It just doesn't report progress.
The text was updated successfully, but these errors were encountered: