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

没有数据生成 #2

Open
QiTianDaShengDaShi opened this issue Oct 9, 2023 · 0 comments
Open

没有数据生成 #2

QiTianDaShengDaShi opened this issue Oct 9, 2023 · 0 comments

Comments

@QiTianDaShengDaShi
Copy link

你好,我按照你的操作,播放了两个bag包,但是最终没有数据生成,日志如下,可以帮我看看是啥问题嘛

(pytorch_gpu) xxx@CN-SHA-0132:~/Desktop/work/python_project/23_1004_python_ros/ObjectInHand-Dataset/DataExtraction/src/data_extraction/scripts$ python extract_data.py cracker
your input is:cracker
add by diyun dataset_path= /media/xxx/2/diyun/8_temp/processed
add by diyun object_name= cracker
add by diyun yaml_path= /media/xxx/2/diyun/8_temp/processed/cracker/config/camera_transmitter.yaml
extract_data.py:210: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  data_dict=yaml.load(open(yaml_path))['pose']
add by diyun yaml_path= /media/xxx/2/diyun/8_temp/processed/cracker/config/sensor1_object_cracker.yaml
extract_data.py:272: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  basefootprint_T_camera_data=yaml.load(open(os.path.join(Abs_Path,"files/basefootprint_camera.yaml")))['transformation']
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!Load cracker object data!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Please play rosbag in 10s, waiting the transform...
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_1 at time 1660485632.397174 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_2 at time 1660485632.397174 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
Please use 'rosbag play xxx.bag' to send data
Begin to wait incoming data...
last data not update!!!
last data not update!!!
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_1 at time 1660485632.447187 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_2 at time 1660485632.447187 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_1 at time 1660485632.497256 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
Warning: TF_REPEATED_DATA ignoring data with redundant timestamp for frame polhemus_sensor_2 at time 1660485632.497256 according to authority /play_1696823606471958907
         at line 278 in /tmp/binarydeb/ros-noetic-tf2-0.7.6/src/buffer_core.cpp
one data is None,stop to record!!
last data not update!!!
add by diyun target_path= /media/xxx/2/diyun/8_temp/processed/cracker
Contains 21 data,but can not group each 4 data
!!!target_path existing data,Begin number will be:0!!!
Begin to save data...
Finall save 0 data, the last data is:0, group 4 is:1
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

1 participant