Owne / ardupilot-mega

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

mavlink output on gcs's #286

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.APM in ready to fly state
2.Open QCG attach to APM 2.0 on telemetry port
3.See screen shots

What is the expected output? What do you see instead?
It takes loading all three ground stations in succession to see all the data.

What version of the product are you using? On what operating system?
APM 2.0, Win 7, QGC v0.83RC7, HK GCS 1.2.40, APM Planner 0.4.4087

Please provide any additional information below.
1) Take an APM 2.0 setup and ready to fly
2) Launch QGC, connect to telemtry port, bring up HUD not moving. bring up 
realtime plot, and nothing shows. (Pic 1 & 2)
3) Disconnect QGC, connect with HK GCS on telemtry port, AHI not working and 
compass doesnt change with movement. (Pic 3)
4) Disconnect HK GCS, connect with QGC, go to realtime plot, you will see some 
data, but still no movement on hud (Pic 4 & 5) 
*(Pic 7 is data that shows up if you connect APM Planner GCS first)
5) Disconnect QGC, connect APM Planner MAVLink GCS on telemetry port, AHI and 
Compass work, (although needle stops at 360 and shows negitive numbers) (Pic 6)
6) Disconnect APM Planner and connect with QGC, HUD now works and realtime plot 
shows alot more data. (Pic 8 & 9)
7) Disconnect QGC, connect with HK GCS, AHI working, photo of plane(quad) moves 
on all three axis, but compass still doesnt movement (may be tied to gps 
heading not compass I dunno) (Pic10 and 11)

But in the end, It appears that it is the GS's job at requesting specific 
MAVlink data streams, but it appears not everyone is using the same 
sentences... 
Once activated, (until APM is rebooted) all data continues to come through on 
the stream, all three GCS's are then able to connect to telemtry port and see 
roll pitch yaw movements. If you follow this order you can see all the data 
like in Pic 9
1st have ready state APM 2.0
Connect to telemetry port with APM Planner, and disconnect.
Then connect with HK GCS, and disconnect.
Then connect with QGC. all is well.

FYI, at anytime I can attach to USB with a mavlink connection and use waypoint 
and configuration screens, gps data works, but no movements on guages.

See pics

Original issue reported on code.google.com by Draconis...@gmail.com on 12 Mar 2011 at 6:59

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
dhcorley,

I am not 100% sure I understand what you are saying, but I believe that you are 
not aware of the current design/implementation.  APM initializes with all data 
stream rates set to zero.  It is the GCS or HIL responsibility to request an 
appropriate rate for the data it wants to receive.  You do not need to go 
through all the gyrations you show above to get the data streams to be received 
in QGroundControl, you simply need to request them.  In the "Calibration and On 
Board Parameters" section of QGroundControl, simply enter data stream rates.  
For example, if you enter 1 in the Position field, then the data stream 
containing the current position will be turned on at 1 Hz.

I am closing this issue.  If I have misinterpreted the problem please feel free 
to open another.  If your response is that the data stream should be turned on 
by default, you can file an issue for QGroundControl on that, although I think 
they are already working on it.

Original comment by dewei...@gmail.com on 14 Mar 2011 at 9:52