Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question of reading imu data #6

Open
PetWorm opened this issue Feb 6, 2018 · 4 comments
Open

Question of reading imu data #6

PetWorm opened this issue Feb 6, 2018 · 4 comments

Comments

@PetWorm
Copy link

PetWorm commented Feb 6, 2018

  1. 主函数里读imu数据的时候,次级for循环的10次读imu数据,为何每次都读allimuData[j]?注意到这个j并不是次级for循环的循环变量(是i)

  2. 另外函数loadImageList()和loadIMUFile()中读时标应该用atol吧,起码我这里atoi会读错。

@fyj3266098
Copy link
Contributor

你电脑是32位的还是64位的,atoi我试过没有问题的. 32位存时标应该是够的.

@PetWorm
Copy link
Author

PetWorm commented Jul 27, 2018

电脑64位的,很奇怪。

@fyj3266098
Copy link
Contributor

不清楚了

@hzfGuardian
Copy link

所以请问第一个问题有结论吗?读IMU数据的时候内循环为什么是用j, 用j的话源代码里面相当于每次都读取相同的10个imu数据?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants