mirror of
https://github.com/okalachev/flix.git
synced 2025-07-29 12:28:59 +00:00
Minor fixes and changes
This commit is contained in:
parent
b91f4d3b6d
commit
ad6bc02643
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,5 @@
|
|||||||
*.hex
|
*.hex
|
||||||
*.elf
|
*.elf
|
||||||
gazebo/build/
|
build/
|
||||||
tools/log/
|
tools/log/
|
||||||
.dependencies
|
.dependencies
|
||||||
|
@ -57,8 +57,8 @@ You can also check a user contributed [variant of complete circuit diagram](http
|
|||||||
||~~SBUS inverter~~*|<img src="docs/img/inv.jpg" width=100>|~~1~~|
|
||~~SBUS inverter~~*|<img src="docs/img/inv.jpg" width=100>|~~1~~|
|
||||||
|3.7 Li-Po 850 MaH 60C|Battery|||
|
|3.7 Li-Po 850 MaH 60C|Battery|||
|
||||||
||Battery charger|<img src="docs/img/charger.jpg" width=100>|1|
|
||Battery charger|<img src="docs/img/charger.jpg" width=100>|1|
|
||||||
||Wires, connectors, tape, ...||
|
||Wires, connectors, tape, ...|||
|
||||||
||3D-printed frame parts||
|
||3D-printed frame parts|||
|
||||||
|
|
||||||
*\* — not needed as ESP32 supports [software pin inversion](https://github.com/bolderflight/sbus#inverted-serial).*
|
*\* — not needed as ESP32 supports [software pin inversion](https://github.com/bolderflight/sbus#inverted-serial).*
|
||||||
|
|
||||||
|
@ -169,6 +169,7 @@ const char* getModeName() {
|
|||||||
case MANUAL: return "MANUAL";
|
case MANUAL: return "MANUAL";
|
||||||
case ACRO: return "ACRO";
|
case ACRO: return "ACRO";
|
||||||
case STAB: return "STAB";
|
case STAB: return "STAB";
|
||||||
|
case USER: return "USER";
|
||||||
default: return "UNKNOWN";
|
default: return "UNKNOWN";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -167,6 +167,7 @@ public:
|
|||||||
return Vector(res.x, res.y, res.z);
|
return Vector(res.x, res.y, res.z);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Rotate vector by quaternion
|
||||||
inline Vector rotate(const Vector& v) {
|
inline Vector rotate(const Vector& v) {
|
||||||
return conjugateInversed(v);
|
return conjugateInversed(v);
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
// simulation calibration overrides, NOTE: use `cr` command and replace with the actual values
|
// simulation calibration overrides, NOTE: use `cr` command and replace with the actual values
|
||||||
const int channelNeutralOverride[] = {-258, -258, -27349, 0, 5417, 0};
|
const int channelNeutralOverride[] = {-258, -258, -27349, 0, -27349, 0};
|
||||||
const int channelMaxOverride[] = {27090, 27090, 27090, 27090, 27090, 1};
|
const int channelMaxOverride[] = {27090, 27090, 27090, 27090, -5676, 1};
|
||||||
|
|
||||||
#define RC_CHANNEL_ROLL 0
|
#define RC_CHANNEL_ROLL 0
|
||||||
#define RC_CHANNEL_PITCH 1
|
#define RC_CHANNEL_PITCH 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user