Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MatrixMath LPS25HB_I2C LSM9DS1 Matrix2 PIDcontroller LoopTicker SBUS_without_mainfile UsaPack solaESKF_wind Vector3 CalibrateMagneto FastPWM
Diff: datatransfer.cpp
- Revision:
- 123:0a74e696f7a6
- Parent:
- 121:1d5b3e1f0d21
- Child:
- 124:59efdd87c211
--- a/datatransfer.cpp Tue Apr 05 06:57:21 2022 +0000
+++ b/datatransfer.cpp Mon Apr 11 09:39:30 2022 +0000
@@ -52,6 +52,8 @@
{
vp.ap_flag = 0;
}
+ vp.voltage = voltage;
+ vp.current = current;
tail.Send(tail_address[pos_tail], &(posValues));
// pc.printf("%f %f %f %d %d %f %f %f \r\n",rpy.x/M_PI*180.0f,rpy.y/M_PI*180.0f,rpy.z/M_PI*180.0f,vp.readyFlag,updateValues.calibrationFlag,updateValues.vx_opt,updateValues.vy_opt,updateValues.dist_ir);