ArduPilot / ardupilot_wiki

Repository for ArduPilot wiki issues and wiki-specific website infrastructure.
Other
501 stars 1.25k forks source link

SITL MAVPROXY and QGroundControl pymavlink srcSystem and srcComponent #1078

Closed alexx600 closed 5 years ago

alexx600 commented 6 years ago

Hello, Iam a litte bit confused with srcSystem and srcComponent value. When i start simulation SITL srcSystem id is 1? and rscComponent is 1 also? What about MAVProxy that works in the backgroud? this id is also 1?

When i run pymavlink as an external program it's srcSystem is 255 and srcComponent is 0 ? What about QGroundControl it system is 255, but what is component?

When i want to send Status Text message from pymavlink to MAVProxy should my tragetSystem and target Components be "1"?

I can't find any information about it.

khancyr commented 5 years ago

On ardupilot, system are default to 1:1 (system:component) mavproxy is 1:255 Most GSC are 1:255 by default On pymavlink connection, you need to set what system and component you are .