sensor close if not started fix

This commit is contained in:
Francesco Gatti
2020-04-28 12:59:30 +02:00
parent 431819a644
commit 3aa3097bbb
+4
View File
@@ -113,6 +113,10 @@ class ImuOdom {
return true;
}
void close() {
// TODO: dealloc :)
}
void update(dnnType *x0, dnnType *x1, dnnType *x2) {
checkCuda( cudaMemcpy(i0_d, x0, dim0.tot()*sizeof(dnnType), cudaMemcpyHostToDevice) );