The Mobile version of VESC tool has data logging (looks to be recent?).
It outputs a csv but without any headers and I wasn’t able to find it documented anywhere so I looked into the source code to figure it out. For anyone else who stumbles on this problem this is the format:
msecsSinceStartOfDay | v_in | temp_mos | temp_mos_1 | temp_mos_2 | temp_mos_3 | temp_motor | current_motor | current_in | id | iq | rpm | duty_now | amp_hours | amp_hours_charged | watt_hours | watt_hours_charged | tachometer | tachometer_abs | position | fault_code | vesc_id |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
68209883 | 38.1 | 27.4 | 0 | 0 | 0 | -81 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 235.8 | 0 | 4 |
The code:
if (mRtLogFile.isOpen()) {
auto t = QTime::currentTime();
QTextStream os(&mRtLogFile);
os << t.msecsSinceStartOfDay() << ";";
os << v.v_in << ";";
os << v.temp_mos << ";";
os << v.temp_mos_1 << ";";
os << v.temp_mos_2 << ";";
os << v.temp_mos_3 << ";";
os << v.temp_motor << ";";
os << v.current_motor << ";";
os << v.current_in << ";";
os << v.id << ";";
os << v.iq << ";";
os << v.rpm << ";";
os << v.duty_now << ";";
os << v.amp_hours << ";";
os << v.amp_hours_charged << ";";
os << v.watt_hours << ";";
os << v.watt_hours_charged << ";";
os << v.tachometer << ";";
os << v.tachometer_abs << ";";
os << v.position << ";";
os << v.fault_code << ";";
os << v.vesc_id << ";";
os << "\n";
os.flush();
}
I’m using the flipsky nrf dongle:
I would really love to use metr but I guess that is only compatible with their dongle. Akmanaic didn’t detect it either. If anyone knows how to make it work with an app that has GPS would be awesome, thanks!