Comments (9)
Your problem stems from a path error, when you are in a docker environment, the path name is different from your original path. Most importantly, ${host_name} refers to the original "/home/username". In the terminal, you can use the "tab" button to see if you can automatically complete the path; Or check the file directory that you are familiar with docker first. Good luck.
from videoimucapture-android.
@BUG423 Can you please share how you have calibrated and converted to rosbag? I find it confusing following the instructions of README in calibration. I'm a newbie in this field. Sorry, if I'm asking some dumb questions.
from videoimucapture-android.
from videoimucapture-android.
@BUG423 Can you please share how you have calibrated and converted to rosbag? I find it confusing following the instructions of README in calibration. I'm a newbie in this field. Sorry, if I'm asking some dumb questions.
I've closed this question and the reason for this issue is that I forgot to change the file name, which is a very stupid mistake. I have compiled my own calibration process, including some of my own understandings, and I have collected some successful stories of others here. But these are all Chinese, hope it helps you.
You can visit this website at: https://www.wolai.com/xmuer/m4329RZnrrvdg5HUw3FxcQ
also welcome to contact me by email: [email protected]
from videoimucapture-android.
Thank you so much!
from videoimucapture-android.
I'm having this problem. I have checked my path. But still, it's showing No such file or directory
sajjad@sajjad-VirtualBox:~/VideoIMUCapture-Android/calibration$ SUDO=1 DATA=/home/sajjad/2023_07_29_21_13_31 ./run_dockerhub.sh
[sudo] password for sajjad:
Using default tag: latest
latest: Pulling from davidgillsjo/videoimucapture-calibration
Digest: sha256:2c531c91c19d49df7145dcc8dc1887eb336dddea180ded87bfdd10fa6f520fcc
Status: Image is up to date for davidgillsjo/videoimucapture-calibration:latest
docker.io/davidgillsjo/videoimucapture-calibration:latest
groups: cannot find name for group ID 1000
sajjad@06e13ec48ab5:/calibration$ python data2statistics.py
/usr/lib/python2.7/dist-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
usage: data2statistics.py [-h] [--result-dir RESULT_DIR] [--hide-plot]
proto_file
data2statistics.py: error: too few arguments
sajjad@06e13ec48ab5:/calibration$ python data2statistics.py /home/sajjad/2023_07_29_21_13_31/video_meta.pb3
Traceback (most recent call last):
File "data2statistics.py", line 168, in <module>
with open(args.proto_file,'rb') as f:
IOError: [Errno 2] No such file or directory: '/home/sajjad/2023_07_29_21_13_31/video_meta.pb3'
sajjad@06e13ec48ab5:/calibration$
from videoimucapture-android.
It works now, thanks for helping me out. It seems I can't generate kalibr.yaml file. It's showing this error.
sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$ kalibr_calibrate_cameras --bag kalibr.bag --target target.yaml --models pinhole-equi --topics /cam0/image_raw
importing libraries
the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update'
Traceback (most recent call last):
File "/kalibr_workspace/devel/bin/kalibr_calibrate_cameras", line 15, in <module>
exec(compile(fh.read(), python_script, 'exec'), context)
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 447, in <module>
main()
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 152, in main
targetConfig = kc.CalibrationTargetParameters(parsed.targetYaml)
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 529, in __init__
ParametersBase.__init__(self, yamlFile, "CalibrationTargetConfig", createYaml)
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 200, in __init__
self.data = self.readYaml()
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 211, in readYaml
self.raiseError( "Could not read configuration from {0}".format(self.yamlFile) )
File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 234, in raiseError
raise RuntimeError( "{0}{1}".format(header, message) )
RuntimeError: [CalibrationTargetConfig Reader]: Could not read configuration from target.yaml
sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$
from videoimucapture-android.
It works now, thanks for helping me out. It seems I can't generate kalibr.yaml file. It's showing this error.
sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$ kalibr_calibrate_cameras --bag kalibr.bag --target target.yaml --models pinhole-equi --topics /cam0/image_raw importing libraries the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update' Traceback (most recent call last): File "/kalibr_workspace/devel/bin/kalibr_calibrate_cameras", line 15, in <module> exec(compile(fh.read(), python_script, 'exec'), context) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 447, in <module> main() File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 152, in main targetConfig = kc.CalibrationTargetParameters(parsed.targetYaml) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 529, in __init__ ParametersBase.__init__(self, yamlFile, "CalibrationTargetConfig", createYaml) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 200, in __init__ self.data = self.readYaml() File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 211, in readYaml self.raiseError( "Could not read configuration from {0}".format(self.yamlFile) ) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 234, in raiseError raise RuntimeError( "{0}{1}".format(header, message) ) RuntimeError: [CalibrationTargetConfig Reader]: Could not read configuration from target.yaml sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$
Hello, I have not encountered your problem, I suggest you start from scratch and re-do the whole process. The tutorial I provided is more detailed, maybe you missed it at some point. In addition, judging from the error message, your "target.yaml" may have a problem, you can check the file content to confirm whether there is a problem, here is my own file content (need to change according to the actual calibration board information):
zss@zs:~/VideoIMUCapture-Android/dataset/Video/kalibr$ cat target.yaml
tagCols: 6
tagRows: 6
tagSize: 0.025
tagSpacing: 0.3
target_type: aprilgrid
from videoimucapture-android.
It works now, thanks for helping me out. It seems I can't generate kalibr.yaml file. It's showing this error.
sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$ kalibr_calibrate_cameras --bag kalibr.bag --target target.yaml --models pinhole-equi --topics /cam0/image_raw importing libraries the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update' Traceback (most recent call last): File "/kalibr_workspace/devel/bin/kalibr_calibrate_cameras", line 15, in <module> exec(compile(fh.read(), python_script, 'exec'), context) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 447, in <module> main() File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras", line 152, in main targetConfig = kc.CalibrationTargetParameters(parsed.targetYaml) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 529, in __init__ ParametersBase.__init__(self, yamlFile, "CalibrationTargetConfig", createYaml) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 200, in __init__ self.data = self.readYaml() File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 211, in readYaml self.raiseError( "Could not read configuration from {0}".format(self.yamlFile) ) File "/kalibr_workspace/src/Kalibr/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py", line 234, in raiseError raise RuntimeError( "{0}{1}".format(header, message) ) RuntimeError: [CalibrationTargetConfig Reader]: Could not read configuration from target.yaml sajjad@71a676657caa:/host_home/2023_08_01_23_08_39/kalibr$
Hello, I have not encountered your problem, I suggest you start from scratch and re-do the whole process. The tutorial I provided is more detailed, maybe you missed it at some point. In addition, judging from the error message, your "target.yaml" may have a problem, you can check the file content to confirm whether there is a problem, here is my own file content (need to change according to the actual calibration board information):
zss@zs:~/VideoIMUCapture-Android/dataset/Video/kalibr$ cat target.yaml
tagCols: 6
tagRows: 6
tagSize: 0.025
tagSpacing: 0.3
target_type: aprilgrid
@BUG423
Thanks, I have solved this problem. I forgot to add target.yaml file in the appropriate way.
from videoimucapture-android.
Related Issues (18)
- How do you read the video_meta.pb3 file? HOT 8
- time synchronization problem HOT 1
- "Cannot find IMU" error on Samsung A50, Android 11 HOT 1
- Recording has fewer frame metadata messages than there are image frames. HOT 3
- Error running camera calibration HOT 12
- time system HOT 5
- Skipped Frame,Missing Data HOT 2
- Added magnetometer reading & but couldn't read from .pb3 HOT 2
- Linear interpolation not working HOT 5
- some questions about the project structure and howw to understand each component HOT 16
- Timestamp abnormal. HOT 10
- ModuleNotFoundError: No module named 'recording_pb2' HOT 3
- Global status : warn HOT 2
- Video capture using front facing camera HOT 1
- Error regarding camera_meta.lens_pose_rotation HOT 2
- Not getting 30 FPS Video Output HOT 2
- Question about the inverted aspect ratio of saved videos
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videoimucapture-android.