Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Avionics
Software Development
Skyward Boardcore
Commits
cb14c140
Commit
cb14c140
authored
1 year ago
by
Federico Lolli
Browse files
Options
Downloads
Patches
Plain Diff
[FFT] added more documentation
parent
40f2df81
No related branches found
Tags
Tags containing commit
1 merge request
!224
Draft: Sensor Fault Detection
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/shared/algorithms/FFT.h
+15
-14
15 additions, 14 deletions
src/shared/algorithms/FFT.h
with
15 additions
and
14 deletions
src/shared/algorithms/FFT.h
+
15
−
14
View file @
cb14c140
...
...
@@ -24,6 +24,7 @@
#include
<complex.h>
#include
<math.h>
#include
<Eigen/Core>
namespace
Boardcore
...
...
@@ -105,10 +106,10 @@ public:
}
private
:
static
short
n_bits
(
size_t
x
)
{
return
(
short
)
log2
(
x
);
}
/**
* @brief Get the number of bits to differentiate x elements
*/
static
short
n_bits
(
size_t
x
)
{
return
(
short
)
log2
(
x
);
}
/**
* @brief Reverse the bits of the inputted unsigned index.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment