Closed Kim-mins closed 3 months ago
@Kim-mins
Hello,
Thank you so much for the report!
In the current start_planner
module the reported situation is not supported and explained here and implemented here
If you have solution for this problem we are happy to discuss here and if you make PR me or other member can review the PR!
By the way what's the motivaiton for setting goal? If my understanding is correct, backward driving on the road is necessary :thinking:
Thank you for the response @kyoichi-sugahara!!
Maybe I should have investigated more information for this issue.. sorry for bothering. I didn't know this is a known issue. I'll let you know if I have any idea for this!
For the motivation, I just wanted to check if the vehicle could drive 'forward' and come back to the starting point well. In my opinion, driving forward is correct, even though there's no other vehicles on the road, since that is the right direction of the road. But I also think it's necessary to go backward when the vehicle is at a parking lot or alley, since there's no right direction.
Parking area can be represented in the lanelet map, in which case the freespace planner should take over and allow backward driving. For the alley case, I imagine a case where a one lane alley is blocked and the ego vehicle needs to reverse to take another route. This case is currently not handled by Autoware.
@Kim-mins You're welcome and we all appreciate the feedback!! Thanks.
I didn't know this is a known issue.
In my opinion, this is not the issue and it's not supported.
But I also think it's necessary to go backward when the vehicle is at a parking lot or alley,
Same with maxime san's comment, for parking lot, parking lot information should be added in the current autoware and backward driving can be achieved. Backward driving in alley case is not supported currently :bow: Basiccaly direction of travel must be linked to a lane information.
In conclusion, autoware currently does not support the functionality to move in the opposite direction of the lane direction. However, if you feel there is a need for this, it would be a good idea to create a new issue regarding this matter and close this issue.(or update this issue) How does that sound?
Thank you for the kind responses @maxime-clem and @kyoichi-sugahara!
What I wanted to know from this issue was "why the vehicle cannot drive forward when the goal is at behind". So, I think it is ok for the vehicle not to drive backward. And, for backward driving, after reading comment from you two, I got to know it is not supported for now and it is tricky to handle. So, as @kyoichi-sugahara summarized, I agree to closing this issue, and open another issue for the feature for backward driving, but I think it is not too late to handle backward driving when needed, since I think the situation in alley(@maxime-clem noted above) would be not that frequent.
So.. may I close this issue for now?
I now understand the issue you are raising is for forward driving. In your example, we would expect Autoware to find a route to the goal by making the ego vehicle drive forward and "loop" back to the current lanelet. This is not currently supported but I think it is a reasonable feature request, so we can keep the issue open.
This pull request has been automatically marked as stale because it has not had recent activity.
I just installed autoware and I am getting this same error when vehicle reaches the destination, how can I fix it? Do I need to change any property related to 2D goal pose?
@ahsan155 There is no workaround for this issue yet apart from splitting the route (instead of doing A -> C, first do A ->B, then B -> C).
@ahsan155 There is no workaround for this issue yet apart from splitting the route (instead of doing A -> C, first do A ->B, then B -> C).
thanks for the quick response. I am not even setting point behind vehicle as destination. I am just trying to move the vehicle on a straight path. why does it still gives error
These messages are just warning messages. This PR will prevent them from displaying in the terminal: https://github.com/autowarefoundation/autoware.universe/pull/6955 Otherwise I don't think there is any issue in your case.
Hello @Kim-mins . I think you can open discussion in feature request section for this request. If it is convenient for you, we can close this issue this way. @maxime-clem
Checklist
Description
Hi team,
I'm currently running Autoware version 20240115 with prebuilt docker on Carla, and I found that the invalid path is generated when the point behind the vehicle is set as a goal.
Here's the [image] for the situation. I set the goal point as the point behind the vehicle after spawning the ego vehicle, but the vehicle cannot move even though the routing was successful(I could press the button "AUTO" in RViz)
I also checked the [launch.log] file, and I could see the log below,
which states there's an error on calculating a longitudinal offset.
Expected behavior
I want the vehicle to drive forward successfully to the goal point.
Actual behavior
But the vehicle does not move at all.
Steps to reproduce
Or here's a ros2bag file I recorded.
Versions
Possible causes
According to the error message, I think the function related to the issue is this: https://github.com/autowarefoundation/autoware.universe/blob/7ef61a96008eafc466c315f01a889540335787f1/common/motion_utils/include/motion_utils/trajectory/trajectory.hpp#L401
Additional context
I thought this and this could be the same issue, but current issue occurs after fixing the first one, and for the latter one, I think it is not related to the backward path.