-
Notifications
You must be signed in to change notification settings - Fork 41
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
Error running camera calibration #5
Comments
Hi, Maybe the proto-file is corrupted somehow, if so you can try to check it with Another option is that the parser is not correctly generated. I've by mistake included a parser in |
Thanks for your answer! |
I think you actually found a bug. I see in both |
I've now made the fix, try pulling |
Thank you so much for your work! Yesterday I learned how to use docker with little success.It's all my fault. I have put "recording_pb2.py" from "proto_python" folder into "calibration" folder. |
Although there is an error of "IndexError: list index(4) out of range", the "kalibr.bag" file has been generated in the kalibr folder. But it might be incomplete, aborting the program because of an error? |
It seems your device does not store any intrinsic parameters, which I have not accounted for in the script. So you first step will be to calibrate the camera to get intrinsic parameters, then you may perform IMU to camera calibration. Regarding your docker question I'm not sure what you are asking. It is certainly possible to setup the required environment directly on your virtual machine. I included a path in my container which allows for single camera kalibration using Kalibr, but that may very well be integrated into their |
I am using Xiaomi MIX 2S Android device. |
Great, good luck! |
@XiaoHuang996 can you please share how you have solved the problem? Is it for the low configuration android device issue? I'm also kinda facing similar problems. My device is showing 15fps video recording. Is that can be a problem? |
My impression is that I directly run the modified data2kalibr.py program, and the terminal will start processing and report an error at the end of the data, but the kalibr.bag I want (maybe, because I haven't continued for a long time) has already appeared in the kalibr folder. So I didn't continue to pay attention to the source of the error. |
@XiaoHuang996 Thanks for your reply. I have solved my issue. It was a silly newbie mistake. I didn't add the appropriate path for target.yaml file which has some parameters of the tracking paper. |
I should have followed all configuration requirements to configure the environment. But when I run "python data2kalibr.py / --tag-size 0.235 --subsample 21", I get the error:
Traceback (most recent call last):
File "data2kalibr.py" line 109,in
convert_to_bag(proto,video_path,bag_path,args.subsamle)
File "data2rosbag.py" line 39,in convert_to_bag
if not i == frame_data.frame_nbr:
AttributeError: frame_nbr
thanks!
The text was updated successfully, but these errors were encountered: