Attopilot current sensor & Mission Planner mavlink 1.0

Hi guys,

I have a problem and need help

I updated my quad with arducopter 2.5.5

Enable Mavlink 1.0

conect with Mission planner mav 1.0 and xbee.

Mission planner only show me the voltage and x% dont show mAh

What i can do?

Thanks

Views: 326

Reply to This

Replies to This Discussion

Are you saying you enabled MavLink 1.0 in the code and recompiled? If so, let's look at the code (GCS_Mavlink)....

mavlink_msg_sys_status_send(chan,
control_sensors_present,
control_sensors_enabled,
control_sensors_health,
0, <------------- load always zero!
battery_voltage1 * 1000, // mV
0, <---------- current always 0!
battery_remaining, // in %
0, // comm drops %,
0, // comm drops in pkts,
0, 0, 0, 0);

There's your problem (it's always zero cause it's not implemented yet), and considering you successfully compiled it, you have 2 choices: add a method to calculate the current youself (and resubmit to the devs--the spirit of open source :) ). or 2. you can add it as a bug if you really need it and see how the devs schedule it in for a version release. The again, if you implement it, I'm not sure if Mission Planner will read it (since it not implemented yet).

There is a bug report related to a scaling issue on battery_remaining from Andrew Fernie, which also adds "current" to the status. The code just got added to the repository a few minutes ago.

https://code.google.com/p/ardupilot-mega/source/detail?r=a190e9509b...

current will be added in the next planner version.

RSS

Social Networking

Contests

Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.

A list of all T3 contests is here

Groups

Advertisement

© 2013   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service