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

Cirkit wierd behaviour #28

Open
kossumov opened this issue Sep 10, 2018 · 5 comments
Open

Cirkit wierd behaviour #28

kossumov opened this issue Sep 10, 2018 · 5 comments

Comments

@kossumov
Copy link

kossumov commented Sep 10, 2018

Hi guys,

What I did so far:

  1. create catkin_ws, clone cirkit code, execute install.sh
  2. roslaunch cirkit_unit03_autorun autorun_gazebo.launch
  3. give nav_goal inside rviz

After that, robot navigates to nav_goal; however, acts weirdly after that.
Here is the video:
my video

on minute 1:24 you will notice that robot weirdly starts driving backwards.

Here, on your video, I noticed that your robot drives smoothly
your video

Why does this weird behaviour happen?
Thanks

@MoriKen254
Copy link
Contributor

The backward behavior is driven by stepback_and_steerturn_recovery plugin for move_base pkg.

http://wiki.ros.org/stepback_and_steerturn_recovery?distro=indigo

The plugin usually start going back when the robot find obstacle in front it. However, in your video it somewhat seems to have detected one even though it doesn't exist.

Could you put the message on your bash when the phenomenon occurs?

@RyodoTanaka
Copy link
Member

On 1:10 of @kossumov video, the robot looks to detect itself as obstacles...
Whatever, we need a message on your bash to understand what was occurred as @MoriKen254 said.

@kossumov
Copy link
Author

kossumov commented Sep 11, 2018

There are no errors in terminal, it looks like this all the time:
screenshot from 2018-09-11 14-19-55

Looks like robot cannot get to nav_goal and just drives around. Here's another video:
another video

Also, here's another, longer video:
longer video

I'm using ros kinetic on ubuntu 16.04. Can you please install CIRKIT on your machine, give it nav_goal inside rviz and see if it drives correctly?

Thanks

@kossumov
Copy link
Author

I guess the problem is with localization.

Also, I've noticed that some of lidar rays may be blocked
screenshot from 2018-09-12 18-09-57

Am I right?

@MoriKen254
Copy link
Contributor

MoriKen254 commented Sep 14, 2018

seems you're correct. Let's try an easy solution first.

plz try to tune the LRF range parameters in https://github.com/CIR-KIT-Unit03/cirkit_unit03_simulator/blob/master/cirkit_unit03_gazebo/urdf/cirkit_unit03.gazebo.xacro#L42 & https://github.com/CIR-KIT-Unit03/cirkit_unit03_simulator/blob/master/cirkit_unit03_gazebo/urdf/cirkit_unit03.gazebo.xacro#L76

        <range>
          <min>0.10</min>
          <max>30.0</max>
          <resolution>0.01</resolution>
        </range>

I believe enlarging a value in min tag would avoid the problem.

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

3 participants