autoware.universe icon indicating copy to clipboard operation
autoware.universe copied to clipboard

The `detection_area` module does not visualize debug markers when some obstacles are not detected by it

Open h-ohta opened this issue 2 years ago • 13 comments

Checklist

  • [X] I've read the contribution guidelines.
  • [X] I've searched other issues and no duplicate issues were found.
  • [X] I'm convinced that this is not my fault but a bug.

Description

Now, the detection_area module visualizes no debug marker when some obstacles are not detected.

Expected behavior

I can decide whether obstacles are not detected, module is unregistered or ego vehicle goes over the dead line from debug markers.

My proposal is

  • module is registered but not detected: detection area marker is green
  • detected: detection area marker is red
  • go over the dead line: detection area marker is grey
  • unregistered: delete

Actual behavior

Detection area does not appear in rviz unless an obstacle is in the specified area.

Steps to reproduce

  1. Download map sample-map-planning-da.zip
  2. start planning simulator. use the planning simulator tutorial as the reference
  3. put a obstacle in detection area
  4. move away it from detection area

https://user-images.githubusercontent.com/9547070/179905180-e21b246e-936a-40ac-92ae-5080505c8644.mp4

Versions

No response

Possible causes

No response

Additional context

No response

h-ohta avatar Jun 16 '22 09:06 h-ohta

@kyoichi-sugahara @TakaHoribe Could you confirm this?

h-ohta avatar Jun 20 '22 09:06 h-ohta

@h-ohta I think your proposal is reasonable. (and also explanation about dead_line in READMED needs to be added...)

kyoichi-sugahara avatar Jun 22 '22 01:06 kyoichi-sugahara

We have tried to reproduce the issue. But detection area is not at all coming for us after enabling DetectionArea in Rviz. Are the steps to reproduce above sufficient? Or are there any other steps missing in the details? Is it expected to be shown while running the planning tutorial given in the documentation or should we run some other launch files for this?

sujithvemi avatar Jul 12 '22 11:07 sujithvemi

@h-ohta : can you pls reply to sujith

raminterpl avatar Jul 18 '22 10:07 raminterpl

@raminterpl @sujithvemi Sorry for late reply. Could you tell me your testing environment ? I can confirm it.

h-ohta avatar Jul 19 '22 04:07 h-ohta

I am using RViz and starting the simulation through the planning simulator launch file provided in the tutorial. I am running it through docker environment.

sujithvemi avatar Jul 19 '22 07:07 sujithvemi

@sujithvemi I see. Could you tell me your operating procedure at detail ?

h-ohta avatar Jul 20 '22 01:07 h-ohta

Or I'll recheck my issue report and rewrite it. Just a moment...

h-ohta avatar Jul 20 '22 01:07 h-ohta

I found that the map, used in the planning simulator tutorial, does not have detection area... I'll think other resolutions.

h-ohta avatar Jul 20 '22 02:07 h-ohta

@sujithvemi I made new map which has detection area and updated issue report. Could you try it?

h-ohta avatar Jul 20 '22 05:07 h-ohta

Hi @h-ohta ,

Sorry for the late reply, my laptop had some motherboard issue and was sent for service, I just got it couple of days ago.

I have tried it with the new map and the behavior is as shown in the video, detection area markers are only shown when the obstalce is in the specified area. You can verify that in the video attached. Also, my colleague has observed the same in an independent test. Kindly ignore the slow performance, running some other things on the laptop, so the detection area colour reversal took some extra time.

https://user-images.githubusercontent.com/35031465/182028294-cbd1c38f-6786-45e4-9073-436e35f8d177.mp4

sujithvemi avatar Jul 31 '22 13:07 sujithvemi

So we are expecting the area to be published even when there is no obstacle, but in different colors.

My proposal is module is registered but not detected: detection area marker is green detected: detection area marker is red go over the dead line: detection area marker is grey unregistered: delete

xmfcx avatar Sep 06 '22 16:09 xmfcx

@xmfcx :Status: My team is working on this.

raminterpl avatar Sep 13 '22 07:09 raminterpl

@raminterpl Do you have any updates on this issue?

mitsudome-r avatar Sep 27 '22 07:09 mitsudome-r

@sujithvemi can you post if you have any updates on this issue?

xmfcx avatar Oct 04 '22 15:10 xmfcx

Sorry for the late reply. I had identified the code that needs to be changed, just working on the way to implement it. That is because the way the code is currently written is not modular to implement the requirements mentioned here, color and other attributes are provided in the function directly and are not populated using a variable or conditionally, that's why need to change more than just add a block of markers. Will update in a day or two about the final implementation details.

sujithvemi avatar Oct 09 '22 15:10 sujithvemi

@sujithvemi Do you have any updates on this?

mitsudome-r avatar Oct 25 '22 07:10 mitsudome-r

I am working on the changes, I was occupied with some other work. Will commit a code for review by tomorrow.

sujithvemi avatar Oct 31 '22 10:10 sujithvemi

Hi, I am not able to push the code. I am getting some authentication error, is there any credential requirement that need to be satisfied to push the code? I am using my personal credentials (the one with which I am interacting here).

sujithvemi avatar Oct 31 '22 16:10 sujithvemi

@BonoloAWF @mitsudome-r : Please add sujith email id: [email protected] In the allowed autoware git users commit list

raminterpl avatar Oct 31 '22 17:10 raminterpl

@sujithvemi invite for the team is sent, please accept.

BonoloAWF avatar Oct 31 '22 17:10 BonoloAWF

@BonoloAWF @mitsudome-r I am trying to push a new branch to the sub repo Autoware.Universe. But I am getting the error shown in the below image. I was first getting the password authentication removed error first, so I setup a Personal Access Token (PAT) from the guidelines given for Github and tried to push, then I was receiving this error. Can you please help me out with what I am missing here. Screenshot from 2022-11-06 23-02-13

sujithvemi avatar Nov 06 '22 17:11 sujithvemi

@sujithvemi Please fork the autoware.universe and push your branch there. Then you can create a PR from the branch of your fork.

For more info: https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/#general-pull-request-workflow

xmfcx avatar Nov 06 '22 18:11 xmfcx

This pull request has been automatically marked as stale because it has not had recent activity.

stale[bot] avatar Jan 05 '23 21:01 stale[bot]