ROBOTIS-GIT / turtlebot3_applications

Applications for TurtleBot3
http://turtlebot3.robotis.com
Apache License 2.0
84 stars 47 forks source link

Automatic Parking Vision problems #34

Closed DynamicalNAV closed 4 years ago

DynamicalNAV commented 5 years ago

Hello Sir/Madam,

I have installed your turtlebot3 application packages, I follow the instructions provided on the website, everything shows up with no errors, however when I run the turtlebot3_automatic_parking_vision package, no errors, the robot detects the AR tags, but it keeps on rotating and does not stop to correct its angle to move in the desired directions. Is there any possible advice to give or do you know of anything in particular to change in the automatic_parking_vision node?

Secondly the bigger goal of this is that I am mainly using this package to implement a mass-spring-damper system for the turtlebot3. This is where the turtlebot3 waffle_pi detects the marker and aligns itself to the marker just like the first part of the automatic parking vision algorithm, but this time the control law is to maintain a distance of 50cm away from tracker using full state feedback controller. Do you recommend changing the FnGoStraightpart, or do you recommend creating a new method to move towards to goal, or any other suggestions?

Kindest Regards, DynamicalNAV

JaehyunShim commented 5 years ago

@DynamicalNAV

Sorry for the late reply. Our team has been working on the issue but we haven't figured out any solutions to it yet. We sincerely apologize for the long wait and we will add another comment again with a proper answer as soon as possible.

As for the second question, we do not support other than basic functions we provide and explained about on our e-manual. However, I believe you can get some clues from IEEE papers (or even contacting the relevant authors could give you an answer you are looking for)

Good luck with your work, Ryan

siewwing commented 4 years ago

Hi, I faced the same problem DynamicalNAV. The program is able to detect the AR tag. But it just kept going round and round, and not move towards the AR tag in real environment. How to solve this?

Regards Gen

jcotof commented 4 years ago

Hello, I have the same problem and I would like to know if you could solve it? thank you.

JaehyunShim commented 4 years ago

@DynamicalNAV @siewwing @jcotof

Print out AR marker 17 which is the most right bottom one from the link. The marker should be as big as the one in this instruction video (8cm x 8cm) Follow the instruction written at the link and let me know if you still see the same problem.

Regards., Ryan

jcotof commented 4 years ago

Thank you very much Ryan, I have the burger and install a camera, is the processor enough to use this method or is the method with the reflective tape better?

I take this opportunity to ask you another question. I want the robot to follow a path on my map, I am changing the initial position of my robot when I start using: pub = rospy.Publisher ('/ initialpose', PoseWithCovarianceStamped, queue_size = 10), but at the end of the whole path, the robot returns to position (0,0), what is my mistake?

[image: imagen.png]

I'm starting with ROS, I appreciate your help !!!

Julio

On Thu, Oct 10, 2019 at 12:52 AM Ryan Jaehyun Shim notifications@github.com wrote:

@DynamicalNAV https://github.com/DynamicalNAV @siewwing https://github.com/siewwing @jcotof https://github.com/jcotof

Print out AR marker 17 which is the most right bottom one from the link http://wiki.ros.org/ar_track_alvar?action=AttachFile&do=view&target=markers9to17.png. The marker should be as big as the one in this instruction video https://www.youtube.com/watch?v=dvpWdrD3bVs (but doesn't necessarily mean it has to be exactly the same size) Follow the instruction written at the link http://emanual.robotis.com/docs/en/platform/turtlebot3/applications/#automatic-parking-vision and let me know if you still see the same problem.

Regards., Ryan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues/34?email_source=notifications&email_token=AM3R5BBFMSEZW4LL7RRZKETQN27IDA5CNFSM4G2LJIUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA22BRA#issuecomment-540385476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3R5BBZODYV6GEJGJ3QCB3QN27IDANCNFSM4G2LJIUA .

JaehyunShim commented 4 years ago

@jcotof

It has nothing to do with which model you use since all models use rasberrypi3 + OpenCR.

As for the second question, don't leave it here if it is not related to vision parking. Give us more details about the problem (Btw, the link to the image is also broken).

Test as I explained above and let me know if it doesn't work Ryan

jcotof commented 4 years ago

Thank you Ryan, i have followed the instructions, the burger cannot find the image and does not stop rotating and the following error is shown:

process[joint_state_publisher-1]: started with pid [3062] process[robot_state_publisher-2]: started with pid [3063] process[rviz-3]: started with pid [3064] process[camera_rgb_optical_frame_to_cam-4]: started with pid [3065] process[ar_track_alvar-5]: started with pid [3080] process[automatic_parking_vision-6]: started with pid [3089] [ INFO] [1570806622.660661048]: Subscribing to info topic [ INFO] [1570806622.703689523]: AR tracker reconfigured: ENABLED 8.00 8.00 0.08 0.20 [ERROR] [1570806625.258573597]: Could not find a connection between 'base_footprint' and 'camera' because they are not part of the same tree.Tf has two or more unconnected trees.

On Thu, Oct 10, 2019 at 7:37 PM Ryan Jaehyun Shim notifications@github.com wrote:

@jcotof https://github.com/jcotof

It has nothing to do with which model you use since all models use rasberrypi3 + OpenCR.

As for the second question, don't leave it here if it is not related to vision parking. Give us more details about the problem (Btw, the link to the image is also broken).

Test as I explained above and let me know if it doesn't work Ryan

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues/34?email_source=notifications&email_token=AM3R5BHU6KB75LHONKYUUB3QN7DDLA5CNFSM4G2LJIUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA6MDIQ#issuecomment-540852642, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3R5BCRHVTNDKXQOXGPQ4DQN7DDLANCNFSM4G2LJIUA .

JaehyunShim commented 4 years ago

@jcotof

This package only supports waffle models. You can still use this package with a burger but it won't be parked at the right location. Try below (it still works but with wrong tf info). $ export TURTLEBOT3_MODEL=waffle_pi then, $ roslaunch turtlebot3_automatic_parking_vision turtlebot3_automatic_parking_vision.launch

Regards Ryan

jcotof commented 4 years ago

I already tried and as you say, do not park in the right place. Will you have an updated package for burger in the future? I will have the same problem if I try Automatic Parking (reflective tape) ?

On Fri, Oct 11, 2019 at 12:48 PM Ryan Jaehyun Shim notifications@github.com wrote:

@jcotof https://github.com/jcotof

This package only supports waffle models. You can still use this package with a burger but it won't be parked at the right location. Try below (it still works but with wrong tf info). $ export TURTLEBOT3_MODEL=waffle_pi then, $ roslaunch turtlebot3_automatic_parking_vision turtlebot3_automatic_parking_vision.launch

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ROBOTIS-GIT/turtlebot3_applications/issues/34?email_source=notifications&email_token=AM3R5BHMJSOH3DP6CGESU3LQOC36ZA5CNFSM4G2LJIUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBAXHBA#issuecomment-541160324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM3R5BFDJ2HJ2M46STI6LQDQOC36ZANCNFSM4G2LJIUA .

JaehyunShim commented 4 years ago

@jcot

Currently, we have no concrete plan for supporting this package for the burger model for ROS Kinetic (but maybe yes for ROS2 Dashing in the near future).

I will have the same problem if I try Automatic Parking

yeah, that package also only supports the waffle models.

Regards, Ryan

JaehyunShim commented 4 years ago

As there have been no updates, I am closing this issue.