bvh-toolbox
bvh-toolbox copied to clipboard
csv2bvh does not work
Which tool (if any in particular) I was using the csv2bvh tool. I am on MacOS. I am using Python 3.8.
Describe the bug The bug causes this error:
File "/usr/local/bin/csv2bvh", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 473, in main
success = csv2bvh_file(hierarchy_src, position_src, rotation_src, dst_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 447, in csv2bvh_file
data = csv2bvh_string(hierarchy_file, position_file, rotation_file, scale)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bvhtoolbox/convert/csv2bvh.py", line 360, in csv2bvh_string
raise Exception("ERROR: No rotation data found for: {}".format(", ".join(missing_joint_data)))
Exception: ERROR: No rotation data found for:
To Reproduce Steps to reproduce the behavior:
- Run command csv2bvh hierarchy.csv position.csv rotation.csv
Expected behavior The files convert into a BHV file
Additional context Here are are the CSV files I am using: https://drive.google.com/drive/folders/1lTKWIRG16m5JfHO52vjNKG1WYOvyFlFr?usp=sharing