Closed Jeongin-park closed 6 years ago
Hi @ji010 :) This error occurs when the camera can not catch yellow and white lines. Put your turtlebot3 in the center of two lines and try again.
Thanks, Gilbert.
Thanks for the answer, but unfortunately the error occurred when I put it between the yellow line and the white line. I doubt I have a problem with the recognition itself, so I tried the previous work again. As a result, an error occurred in the previous operation.
PC: roscore SBS: roslaunch turtlebot3_autorace_camera turtlebot3_autorace_camera_pi.launch export AUTO_IN_CALIB = action roslaunch turtlebot3_autorace_camera turtlebot3_autorace_intrinsic_camera_calibration.launch PC: export AUTO_EX_CALIB = action roslaunch turtlebot3_autorace_camera turtlebot3_autorace_extrinsic_camera_calibration.launch This is the process that I have done, and after that PC: export AUTO_DT_CALIB = action roslaunch turtlebot3_autorace_detect turtlebot3_autorace_detect_lane.launch In the process of
[ERROR] [1531283072.066991]: bad callback: <bound method DetectLane.cbFindLane of < main . DetectLane instance at 0x7f12ee66d758 >> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb (msg) File "/ home / cutop14 / catkin_ws / src / turtlebot3_autorace / turtlebot3_autorace_detect / nodes / detect_lane", line 134, in cbFindLane if self.counter% 3! = 0: AttributeError: DetectLane instance has no attribute 'counter' These errors are issued. This is similar to the previous error, but seems a bit different.
I do not know what to do. Help me.
Run the following command on SBC
$ export AUTO_EX_CALIB=action
$ roslaunch turtlebot3_autorace_camera turtlebot3_autorace_extrinsic_camera_calibration.launch
I got this error when I tried it on SBC.
Traceback (most recent call last):
File / home / cubot14 / catkin_ws / src / turtlebot3_autorace / turtlebot3_autorace_camera / nodes / image_projection ", line 28, in
What should I do?
I'm sorry for the late reply.
This problem is you can't import cfg files. The simplest way to solve this problem is using 'chmod' command.
type follow command In any path where cfg files are located,
$chmod +x cfg.file
Thanks, Gilbert
Hi, I solved this problem. It was difficult because I could not solve the error, but I really appreciate your help. I really appreciate you.
I will close this issue. You can reopen this issue when you have a issue. Thanks.
$ colcon build --symlink-install
Failed <<< turtlebot3_node [24.8s, exited with code 2]
Aborted <<< turtlebot3_fake_node [14.1s]
Aborted <<< hls_lfcd_lds_driver [45.5s]
Aborted <<< dynamixel_sdk_examples [20.9s]
Summary: 10 packages finished [58.9s] 1 package failed: turtlebot3_node 3 packages aborted: dynamixel_sdk_examples hls_lfcd_lds_driver turtlebot3_fake_node 3 packages had stderr output: hls_lfcd_lds_driver turtlebot3_fake_node turtlebot3_node 3 packages not processed
Hi, I solved this problem. It was difficult because I could not solve the error, but I really appreciate your help. I really appreciate you.
Hello @Jeongin-park can you please tell how did you solve it?
I am learning turtlebot3 with ROS.
http://emanual.robotis.com/docs/en/platform/turtlebot3/autonomous_driving/#tutorials-44-settings-for-recognition I am learning through here.
I have a problem while doing 13.2.5.1Tutorials: 5.1 Lane Detection. roslaunch turtlebot3_autorace_detect turtlebot3_autorace_detect_lane.launch will cause an error.
The contents of the error are as follows. [ERROR] [1531197022.305949]: bad callback: <bound method DetectLane.cbFindLane of < main . DetectLane instance at 0x7ff7b58a9cf8 >> Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb (msg) File "/ home / cutop14 / catkin_ws / src / turtlebot3_autorace / turtlebot3_autorace_detect / nodes / detect_lane", line 170, in cbFindLane self.left_fit = np.array ([np.mean (self.mov_avg_left [:: - 1] [:, 0] [0: MOV_AVG_LENGTH]), AttributeError: DetectLane instance has no attribute 'mov_avg_left'
This error will continue to occur until it stops running.
This is what I have done. PC: roscore SBS: roslaunch turtlebot3_autorace_camera turtlebot3_autorace_camera_pi.launch export AUTO_IN_CALIB = action roslaunch turtlebot3_autorace_camera turtlebot3_autorace_intrinsic_camera_calibration.launch PC: export AUTO_EX_CALIB = action roslaunch turtlebot3_autorace_camera turtlebot3_autorace_extrinsic_camera_calibration.launch export AUTO_DT_CALIB = action roslaunch turtlebot3_autorace_detect turtlebot3_autorace_detect_lane.launch
If you know the solution to this problem, let me know. Thanks