fix: RunningQuality must add ssf, not add beat
This commit is contained in:
@@ -10,6 +10,13 @@ void npy_save(std::string path, std::vector<double>& x) {
|
||||
d.shape = {(unsigned long) x.size()};
|
||||
npy::write_npy(path, d);
|
||||
}
|
||||
void npy_save(std::string path, std::vector<bool>& x) {
|
||||
npy::npy_data_ptr<int> d;
|
||||
std::vector<int> xx(x.begin(), x.end());
|
||||
d.data_ptr = xx.data();
|
||||
d.shape = {(unsigned long) x.size()};
|
||||
npy::write_npy(path, d);
|
||||
}
|
||||
|
||||
std::vector<double> fetch_y_axis(npy::npy_data<double>& acc) {
|
||||
// TODO: later on, we should use a vector projection towards gravity
|
||||
|
||||
Reference in New Issue
Block a user