“What should I put for my source_sysid and source_compid?”
You must set/decide to your SystemID (1-255, but choose one not used yet, so 1 cannot be because pixhawk already use it) and your component ID (1 if no other is present).
I am a beginner with mavlink and even pixahawk.
I have an urgent need to just parse mavlink data coming from pixahawk.
I have gone through mavlink tutorials, and also looking at documentation.
The data comes on Uart (telemetry1 port). I am able to receive the data through serial port and buffer it into a shared memory. I am not using any mission planner/QGC etc. I am manually writing the code to parse the data byte by byte from the data arrived on serial port.
Now, I am reusing the code at https://github.com/mavlink/c_library_v1 (My pixahawk sends Mavlink v1 data).
Am I right in this methodology? I am sending each byte to mavlink_parse_char(…) function in serial_port.cpp which is always returning false. Only if this returns true, it means data parsing is working correctly.
Hello,
I wounder if we can connect Arduino with Pixhawk knowing that Pixhawk is connecting with Simulink. (Embedded Coder Support Package for PX4 Autopilots)