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

trying to simulate lane change but receive change.m_TrajectoryCosts.size() Not Equal m_GeneratedRollOuts.size() error

asked 2019-09-10 12:26:24 -0600

bob-ROS gravatar image

Was trying to follow these steps on autoware 1.12 installed from source on kinetic.

The shown version did not have the equivalent options in the Compute tab but I tried to do roughly the same. (Can't upload image because not enough karma..)

Rrqt_graph here

The error I receive is "m_TrajectoryCosts.size() Not Equal m_GeneratedRollOuts.size()" from /

Because "m_TrajectoryCostsCalculator.m_TrajectoryCosts.size() == m_GeneratedRollOuts.size()" on row 284 is not true. See

edit retag flag offensive close merge delete


have you solve it?

gaohongfei gravatar image gaohongfei  ( 2020-02-26 03:00:39 -0600 )edit

No, I stopped using autoware before I resolved it. See Hatems answer, I didn't attempt it though.

bob-ROS gravatar image bob-ROS  ( 2020-02-26 10:57:13 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-10-27 01:40:40 -0600

Hatem gravatar image

This is not a complete feature (just proof of concept) the working example is on old version. to get the same results as the video using ver 1.12. you need to use op_global_planner + op_local_planner instead of way_planner and dp_planner. check the tutorial

also don't forget to change one flag in op_planner -> MappingHelpers.h and MappingHelpers.cpp to enable the map loader to discover the adjacent lanes.


edit flag offensive delete link more


did you mean the 'bFindLaneChangeLanes' flag in MappingHelpers.h?

fantasyplus gravatar image fantasyplus  ( 2020-08-05 04:02:51 -0600 )edit

Yes, this will enable calling a method that search the map for adjacent lanes. if you have lane change information in the map, you don't need this option.

Hatem gravatar image Hatem  ( 2020-08-06 00:19:26 -0600 )edit

still facing the same problem

tutu gravatar image tutu  ( 2020-10-31 10:56:28 -0600 )edit

Question Tools

1 follower


Asked: 2019-09-10 12:22:27 -0600

Seen: 426 times

Last updated: Oct 27 '19