[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - Send MAVLink message to AQ

Send MAVLink message to AQ

Info and discussion about the original AQ v6 flight controller

Send MAVLink message to AQ

Postby Jean » Thu Aug 07, 2014 2:01 pm

Hi everyone,

Just for fun :D
I'm trying to send some MAVLink message to the AQ board with my own QGC (in java) by telemetry ( 3DR telemetry).
I succeed to receive MAVLink messages form my drone to my PC, but I'm unable to send message frome my PC to my drone. I don't know if it's because I don't use the good sysID componentID target_sys target_comp or if the AQ board can't save the MAVLink messages.
I want to transmit messages like for example: CLEAR_ALL, MISSION_ITEM, SET_LOCAL_POSITION_SETPOINT ...
When I ask for MISSION_ASK, I received frame like this ones:


<MAVLinkMessage ATTITUDE seq=122 sysID=14 compID=190 ID=30 CRC=a311 time_boot_ms=10457539 roll=7.6036656E-4 pitch=0.0066308817 yaw=1.4132454 rollspeed=1.8089537E-5 pitchspeed=6.0640385E-5 yawspeed=1.05197025E-4 />

<MAVLinkMessage HEARTBEAT seq=123 sysID=14 compID=190 ID=0 CRC=af9c custom_mode=1 type=2 autopilot=14 base_mode=64 system_status=3 mavlink_version=3 />

<MAVLinkMessage SYS_STATUS seq=124 sysID=14 compID=190 ID=1 CRC=f429 onboard_control_sensors_present=0 onboard_control_sensors_enabled=0 onboard_control_sensors_health=0 load=697 voltage_battery=15220 current_battery=-1 drop_rate_comm=0 errors_comm=7 errors_count1=0 errors_count2=0 errors_count3=0 errors_count4=0 battery_remaining=56 />


And So I think that my library seems good. But when I send a CLEAR_ALL message or a MISSION_ITEM message, when I connect the AQ to the real QGC 1.4 or 1.3 & when I refresh the waypoints list onboard, I don't see any change.


Anyone have an idea or can help me with the reception MAVLink message on AQ board ?!


Best regards

Jean
Jean
 
Posts: 27
Joined: Thu Jul 17, 2014 1:19 pm

Re: Send MAVLink message to AQ

Postby Max » Fri Aug 08, 2014 12:42 am

Hi Jean, all the MAVLink commands AQ understands are in aq_mavlink.c, function mavlinkRecvTaskCode().

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: Send MAVLink message to AQ

Postby joebar.rc » Fri Aug 08, 2014 10:06 am

joebar.rc
 
Posts: 1084
Joined: Fri Jun 22, 2012 8:59 am
Location: The netherlands


Return to AutoQuad 6 Flight Controller

Who is online

Users browsing this forum: No registered users and 10 guests

cron