No subject


Tue Mar 2 09:14:18 PST 2010


is not well localized... though it depends on what the fixed and target
frames actually were for the video that you made. Do you remember what they
were? Are you able to run AMCL (http://www.ros.org/wiki/amcl) with just a
joystick with reasonable results? That would probably be a good first step
in getting navigation up and running well. Also, what parameters are you
using to bring up and run amcl?

Hope this helps,

Eitan

On Tue, Sep 14, 2010 at 12:50 AM, XiaoJun Wu <wu.xiaojun at gmail.com> wrote:

> Hi, all
>
> I have been testing the navigation stack on our own robot but suffers such
> a problem:
>
> The testing environment is a small lab area, with a map captured using
> gmapping. After launching robot_config.launch and move_base.launch, in rviz,
> a 2D Nav Goal then is given to the robot. The robot will start moving, but
> most of the time it keeps rotating itself unresonably. Ultimately the robot
> can achieve the goal, although much longer time is consumed than expected.
>
> Two video clips recording this strange behavior, one shoots the actual
> robot and the other captures the rviz screen, are uploaded to youtube for
> easy review.
> http://www.youtube.com/watch?v=PRWvs9oXBl8
> http://www.youtube.com/watch?v=XBD3lCyuILs
>
> I also tried the teleop_joystick function from robotino_teleop package with
> a logitech joystick. It works pretty well for both translational and
> rotational movement. From this fact, I think that the low-level robot
> control is of no problem, and most possibly the problem is from the
> high-level motion planner.
>
> I referred to the following post, which looks a bit similar to what I have
> met,
>
> http://ros-users.122217.n3.nabble.com/Navigation-stack-robot-starts-rotating-upon-recieving-goal-td819551.html#a819551
> But in rviz, I didn't find obstacle that prevent the planner to find a
> path, and I can't find the "move_base_node" which claims to hold the
> unknow-space topic.
>
> Any help or hints would be greatly appreciated!
>
> The robot used here is a self-developed 4-wheel omnidirectional platform;
> and I am using Boxturtule ROS, under Ubuntu 10.04.
> Also listed here are the yaml files I used for navigation:
>
> base_local_planner_params.yaml
> ------------------------------
> TrajectoryPlannerROS:
>   max_vel_x: 0.3
>   min_vel_x: 0.1
>   max_rotational_vel: 1.0
>   min_in_place_rotational_vel: 0.5
>   acc_lim_th: 2.0
>   acc_lim_x: 1.5
>   acc_lim_y: 1.5
>   backup_vel: -0.1
>   holonomic_robot: true
>   y_vels: [-0.3, -0.1, 0.1, 0.3]
>   dwa: true
>   path_distance_bias: 0.5
>   occdist_scale: 0.1
>   heading_lookahead: 0.5
>   heading_scoring: false #true
>   yaw_goal_tolerance: 0.2
>   xy_goal_tolerance: 0.1
>   sim_time: 1.0
>   sim_granularity: 0.025
>   oscillation_reset_dist: 1 #0.05
>   controller_frequency: 10
>
> costmap_common_params.yaml
> -------------------------
>   obstacle_range: 2.5
>   raytrace_range: 3.0
>   robot_radius: 0.25
>   inflation_radius: 0.3
>   inscribed_radius: 0.25
>   circumscribed_radius: 0.3
>   observation_sources: laser_scan_sensor
>   laser_scan_sensor: {sensor_frame: laser, data_type: LaserScan, topic:
> scan, marking: true, clearing: true}
>
> global_costmap_params.yaml
> --------------------------
> global_costmap:
>   global_frame: /map
>   robot_base_frame: /base_link
>   update_frequency: 2.0
>   publish_frequency: 1.0
>   static_map: true
>   rolling_window: false
>   width: 3.0
>   height: 3.0
>   resolution: 0.05
>   transform_tolerance: 0.5
>   map_type: costmap
>
> local_costmap_params.yaml
> -------------------------
> local_costmap:
>   global_frame: /map
>   robot_base_frame: /base_link
>   update_frequency: 10.0
>   publish_frequency: 1.0
>   static_map: false
>   rolling_window: true
>   width: 2.0
>   height: 2.0
>   resolution: 0.05
>   transform_tolerance: 0.5
>   map_type: costmap
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>

--20cf30025eb0b9a7e0049033ba68
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

XiaoJun,<div><br></div><div>From looking at the video of rviz that you post=
ed. It looks like your robot is not well localized... though it depends on =
what the fixed and target frames actually were for the video that you made.=
 Do you remember what they were? Are you able to run AMCL (<a href=3D"http:=
//www.ros.org/wiki/amcl">http://www.ros.org/wiki/amcl</a>) with just a joys=
tick with reasonable results? That would probably be a good first step in g=
etting navigation up and running well. Also, what parameters are you using =
to bring up and run amcl?</div>
<div><br></div><div>Hope this helps,</div><div><br></div><div>Eitan</div><d=
iv><br><div class=3D"gmail_quote">On Tue, Sep 14, 2010 at 12:50 AM, XiaoJun=
 Wu <span dir=3D"ltr">&lt;<a href=3D"mailto:wu.xiaojun at gmail.com">wu.xiaoju=
n at gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex;"><div>Hi, all=A0</div><div><br></div><div>I =
have been testing the navigation stack on our own robot but suffers such a =
problem:</div>
<div><br></div><div>The testing environment is a small lab area, with a map=
 captured using gmapping. After launching robot_config.launch and move_base=
.launch, in rviz, a 2D Nav Goal then is given to the robot. The robot will =
start moving, but most of the time it keeps rotating itself unresonably. Ul=
timately the robot can achieve the goal, although much longer time is consu=
med than expected.</div>

<div><br></div><div>Two video clips recording this strange behavior, one sh=
oots the actual robot and the other captures the rviz screen, are uploaded =
to youtube for easy review.</div><div><a href=3D"http://www.youtube.com/wat=
ch?v=3DPRWvs9oXBl8" target=3D"_blank">http://www.youtube.com/watch?v=3DPRWv=
s9oXBl8</a></div>

<div><a href=3D"http://www.youtube.com/watch?v=3DXBD3lCyuILs" target=3D"_bl=
ank">http://www.youtube.com/watch?v=3DXBD3lCyuILs</a></div><div>=A0</div><d=
iv>I also tried the teleop_joystick function from robotino_teleop package w=
ith a logitech joystick. It works pretty well for both translational and ro=
tational movement. From this fact, I think that the low-level robot control=
 is of no problem, and most possibly the problem is from the high-level mot=
ion planner.</div>

<div><br></div><div>I referred to the following post, which looks a bit sim=
ilar to what I have met,</div><div><a href=3D"http://ros-users.122217.n3.na=
bble.com/Navigation-stack-robot-starts-rotating-upon-recieving-goal-td81955=
1.html#a819551" target=3D"_blank">http://ros-users.122217.n3.nabble.com/Nav=
igation-stack-robot-starts-rotating-upon-recieving-goal-td819551.html#a8195=
51</a></div>

<div>But in rviz, I didn&#39;t find obstacle that prevent the planner to fi=
nd a path, and I can&#39;t find the &quot;move_base_node&quot; which claims=
 to hold the unknow-space topic.=A0</div><div><br></div><div>Any help or hi=
nts would be greatly appreciated!</div>

<div><br></div><div>The robot used here is a self-developed 4-wheel omnidir=
ectional platform; and I am using Boxturtule ROS, under Ubuntu 10.04.</div>=
<div>Also listed here are the yaml files I used for navigation:</div><div>

<br></div><div>base_local_planner_params.yaml</div><div>-------------------=
-----------</div><div>TrajectoryPlannerROS:</div><div>=A0=A0max_vel_x: 0.3<=
/div><div>=A0=A0min_vel_x: 0.1</div><div>=A0=A0max_rotational_vel: 1.0</div=
><div>=A0=A0min_in_place_rotational_vel: 0.5</div>

<div>=A0=A0acc_lim_th: 2.0</div><div>=A0=A0acc_lim_x: 1.5</div><div>=A0=A0a=
cc_lim_y: 1.5</div><div>=A0=A0backup_vel: -0.1</div><div>=A0=A0holonomic_ro=
bot: true</div><div>=A0=A0y_vels: [-0.3, -0.1, 0.1, 0.3]</div><div>=A0=A0dw=
a: true</div><div>=A0=A0path_distance_bias: 0.5</div>

<div>=A0=A0occdist_scale: 0.1</div><div>=A0=A0heading_lookahead: 0.5</div><=
div>=A0=A0heading_scoring: false #true</div><div>=A0=A0yaw_goal_tolerance: =
0.2</div><div>=A0=A0xy_goal_tolerance: 0.1</div><div>=A0=A0sim_time: 1.0</d=
iv><div>=A0=A0sim_granularity: 0.025</div>

<div>=A0=A0oscillation_reset_dist: 1 #0.05</div><div>=A0=A0controller_frequ=
ency: 10</div><div><br></div><div>costmap_common_params.yaml</div><div>----=
---------------------</div><div>=A0=A0obstacle_range: 2.5</div><div>=A0=A0r=
aytrace_range: 3.0</div>

<div>=A0=A0robot_radius: 0.25</div><div>=A0=A0inflation_radius: 0.3</div><d=
iv>=A0=A0inscribed_radius: 0.25</div><div>=A0=A0circumscribed_radius: 0.3</=
div><div>=A0=A0observation_sources: laser_scan_sensor</div><div>=A0=A0laser=
_scan_sensor: {sensor_frame: laser, data_type: LaserScan, topic: scan, mark=
ing: true, clearing: true}</div>

<div><br></div><div>global_costmap_params.yaml</div><div>------------------=
--------</div><div>global_costmap:</div><div>=A0=A0global_frame: /map</div>=
<div>=A0=A0robot_base_frame: /base_link</div><div>=A0=A0update_frequency: 2=
.0</div>

<div>=A0=A0publish_frequency: 1.0</div><div>=A0=A0static_map: true</div><di=
v>=A0=A0rolling_window: false</div><div>=A0=A0width: 3.0</div><div>=A0=A0he=
ight: 3.0</div><div>=A0=A0resolution: 0.05</div><div>=A0=A0transform_tolera=
nce: 0.5</div><div>=A0=A0map_type: costmap</div>

<div><br></div><div>local_costmap_params.yaml</div><div>-------------------=
------</div><div>local_costmap:</div><div>=A0=A0global_frame: /map</div><di=
v>=A0=A0robot_base_frame: /base_link</div><div>=A0=A0update_frequency: 10.0=
</div><div>

=A0=A0publish_frequency: 1.0</div><div>=A0=A0static_map: false</div><div>=
=A0=A0rolling_window: true</div><div>=A0=A0width: 2.0</div><div>=A0=A0heigh=
t: 2.0</div><div>=A0=A0resolution: 0.05</div><div>=A0=A0transform_tolerance=
: 0.5</div><div>=A0=A0map_type: costmap</div>

<div><br></div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href=3D"mailto:ros-users at code.ros.org">ros-users at code.ros.org</a><br>
<a href=3D"https://code.ros.org/mailman/listinfo/ros-users" target=3D"_blan=
k">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>

--20cf30025eb0b9a7e0049033ba68--


More information about the ros-users mailing list