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 LPS25HB_I2C LSM9DS1 PIDcontroller Autopilot_Eigen LoopTicker GPSUBX_UART_Eigen SBUS_without_mainfile MedianFilter Eigen UsaPack solaESKF_Eigen Vector3 CalibrateMagneto FastPWM
Diff: hil.cpp
- Revision:
- 76:7fd3ac1afe3e
- Parent:
- 75:a505b9896da1
- Child:
- 77:2bf856e3eca4
diff -r a505b9896da1 -r 7fd3ac1afe3e hil.cpp
--- a/hil.cpp Tue Jul 20 11:57:05 2021 +0000
+++ b/hil.cpp Sat Aug 07 06:54:58 2021 +0000
@@ -2,6 +2,13 @@
void getHILval()
{
+ switch(vp.commandIndex){
+ case 1:
+ NVIC_SystemReset();
+ break;
+ default :
+ break;
+ }
rpy_align.x = 0.0f;
rpy_align.y = 0.0f;
accref.z = 1.0f;