sensor close if not started fix

This commit is contained in:
Francesco Gatti
2020-04-28 12:59:30 +02:00
parent cbea75a8f6
commit c975a467b1
+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) );