sensor close if not started fix
This commit is contained in:
@@ -113,6 +113,10 @@ class ImuOdom {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void close() {
|
||||||
|
// TODO: dealloc :)
|
||||||
|
}
|
||||||
|
|
||||||
void update(dnnType *x0, dnnType *x1, dnnType *x2) {
|
void update(dnnType *x0, dnnType *x1, dnnType *x2) {
|
||||||
|
|
||||||
checkCuda( cudaMemcpy(i0_d, x0, dim0.tot()*sizeof(dnnType), cudaMemcpyHostToDevice) );
|
checkCuda( cudaMemcpy(i0_d, x0, dim0.tot()*sizeof(dnnType), cudaMemcpyHostToDevice) );
|
||||||
|
|||||||
Reference in New Issue
Block a user