Closed DeepDuke closed 4 years ago
我重新采集了数据,没有Valid Calibra Data Less
的错误了,但是报了这个错
opt/ros/kinetic/lib/python2.7/dist-packages/roslib/packages.py:451: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if resource_name in files:
process[lasercamcal_ros-1]: started with pid [13831]
config_file
[ INFO] [1589641220.199606341]: Loaded config_file: /home/robot/calibrate_ws/src/CamLaserCalibraTool/config/calibra_config.yaml
Load apriltag pose from: /home/robot/Documents/camera_2dlaser/apriltag_pose.txt
Load apriltag pose size: 248
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 18446744073709551615) >= this->size() (which is 512)
[lasercamcal_ros-1] process has died [pid 13831, exit code -6, cmd /home/robot/calibrate_ws/devel/lib/lasercamcal_ros/lasercamcal_node __name:=lasercamcal_ros __log:=/home/robot/.ros/log/5ed35bdc-9780-11ea-8f42-802bf90c6ee5/lasercamcal_ros-1.log].
log file: /home/robot/.ros/log/5ed35bdc-9780-11ea-8f42-802bf90c6ee5/lasercamcal_ros-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
似乎是vector有溢出?
激光标定板有被正确识别吗?
有的,被识别出来了
你好,请问这个问题解决了吗,我也遇到这个问题Valid Calibra Data Less
@NCH550 多采点有效数据点就好了
@DeepDuke @HeYijia
你好,我使用A4(tag_size=0.021m,tag_space=0.006m)和大的标定板(tag_size=0.088m,tag_space=0.0264m)录制的数据包在标定的时候都会报错:Valid Calibra Data Less
,录制的数据在2-3min左右,标定板也有被正确识别,这是我数据采集的不好吗:
root@zhihui-mint:/home/CamLaserCalibra_ws/src# roslaunch lasercamcal_ros calibra_offline.launch
... logging to /root/.ros/log/553a166a-9743-11eb-affd-e0d55e449b44/roslaunch-zhihui-mint-2841.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://zhihui-mint:38569/
SUMMARY
========
PARAMETERS
* /lasercamcal_ros/config_file: /home/CamLaserCal...
* /lasercamcal_ros/image_transport: compressed
* /lasercamcal_ros/tag_family: 36h11
* /rosdistro: kinetic
* /rosversion: 1.12.14
NODES
/
lasercamcal_ros (lasercamcal_ros/lasercamcal_node)
ROS_MASTER_URI=http://localhost:11311
/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/packages.py:451: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if resource_name in files:
process[lasercamcal_ros-1]: started with pid [2850]
config_file
[ INFO] [1617788540.612354799]: Loaded config_file: /home/CamLaserCalibra_ws/src/CamLaserCalibraTool/config/calibra_config.yaml
Load apriltag pose from: /home/CamLaserCalibra_ws/src/log/apriltag_pose.txt
Load apriltag pose size: 2487
Valid Calibra Data Less
[lasercamcal_ros-1] process has finished cleanly
log file: /root/.ros/log/553a166a-9743-11eb-affd-e0d55e449b44/lasercamcal_ros-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
root@zhihui-mint:/home/CamLaserCalibra_ws/src#
Hi, 我标定时执行
roslaunch lasercamecal_ros calibra_offline.launch
后,没几秒就结束了,打印出的消息有Load apriltag pose size 46
和Valid Calibra Data Less
请问是有效的数据点太少导致的嘛?我用的标定板是A4的,是不是因为标定板太小了?