ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to implement avoid obstacle with open_planner in Autoware?

asked 2020-11-11 02:57:01 -0500

updated 2020-11-17 00:04:00 -0500

Hi, I used Autoware 1.12.0 in Ubuntu 16.04

I want to avoid obstacle with open planner. Now, I used these below nodes.

  • lidar_euclidean_cluster_detect
  • lidar_kf_contour_track
  • op_global_planner
  • op_common_params
  • op_trajectory_generator
  • op_trajectory_evaluator
  • op_behavior_selector
  • pure_pursuit
  • twist_filter

I have vector_map, /current_pose, /points_raw already. That's why I didn't use the ndt_matching node.

How to avoid obstacle with those nodes?

This is rviz of current situation. There's no 'red' path.. image description

please answer on this question. Thank you!

edit retag flag offensive close merge delete

Comments

@Hatem Would you be able to answer this question?

Josh Whitley gravatar image Josh Whitley  ( 2020-12-03 08:57:55 -0500 )edit

sure, thanks.

Hatem gravatar image Hatem  ( 2020-12-06 21:20:02 -0500 )edit

Thank you!

Josh Whitley gravatar image Josh Whitley  ( 2020-12-07 05:43:19 -0500 )edit

@cwhong

Hello.

I enabled the same nodes as you mentioned, but I can't see the bunch of green lines before the car. Could you tell me how to turn them on? Thank you.

wangludong gravatar image wangludong  ( 2021-01-11 00:53:58 -0500 )edit

So what do you see in rviz now? Can you see everything except the green line? ex) vectormap_center_lines etc.

cwhong gravatar image cwhong  ( 2021-01-11 01:14:59 -0500 )edit

@cwhong

Please check the image.

https://ibb.co/SwpfYrq

I placed an obstacle before my car and wanted to overtake it, but my car just stopped then.I think these green lines(maybe called roll out trajectory) are big deal.

wangludong gravatar image wangludong  ( 2021-01-11 01:33:48 -0500 )edit

I think that green line doesn't appear seems to be the 'local planner' not working properly. Please check below nodes. op_common_params, op_trajectory_generator, op_trajectory_evaluator, op_behavior_selector. In op_common_params(config), please check 'roll_out_num'. I set that 8.

cwhong gravatar image cwhong  ( 2021-01-11 01:51:33 -0500 )edit

@wangludong after checking your setting for rollout num, check your op_trajectory_generator node. after that check the rviz and turn off and on the rollout feature once. sometimes it can be the issue.

Mohsen.ciw gravatar image Mohsen.ciw  ( 2021-01-11 05:57:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-12-06 21:23:13 -0500

Hatem gravatar image

Hello,

1- Not using ndt_matching could be the problem. you need TF to be published, that one is published from ndt_matching node.

2- I want to make sure, you don't want to do obstacle avoidance on rosbag log data. this should be live, with control feedback.

3- if you can record a video of your steps and share that one with me I could be able to find what went wrong.

Regards,

edit flag offensive delete link more

Comments

Hi, thank you so much for answering this question. I solved this problem because of "TF".

In 'lidar_euclidean_cluster_detect', output_frame was 'velodyne'. So, I changed that to 'map'.

It was my problem.. I think it's the first thing you've answered. Thank you very much.

cwhong gravatar image cwhong  ( 2020-12-08 00:28:34 -0500 )edit

That's great,

Can you mark the question as answered ?

Hatem gravatar image Hatem  ( 2020-12-08 02:01:44 -0500 )edit

Sure! Thank you. :)

cwhong gravatar image cwhong  ( 2020-12-15 00:07:02 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-11-11 02:57:01 -0500

Seen: 411 times

Last updated: Jan 11 '21