Commit a4a6ee2
[Feat] Render lidar before agents and allow for tuple as color (#115)
* Render lidar before agent, so agent is on top. Adding get render_color function to lidar like in Agent.render so it allows for alpha in colors.
* now it is ray and not the circle
* added alpha instead of tuple including alpha
* Update vmas/simulator/sensors.py
Co-authored-by: Matteo Bettini <55539777+matteobettini@users.noreply.github.com>
* Update vmas/simulator/sensors.py
Co-authored-by: Matteo Bettini <55539777+matteobettini@users.noreply.github.com>
* Update vmas/simulator/sensors.py
* Update vmas/simulator/sensors.py
---------
Co-authored-by: Matteo Bettini <55539777+matteobettini@users.noreply.github.com>1 parent 3964475 commit a4a6ee2
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
88 | 100 | | |
89 | 101 | | |
90 | 102 | | |
| |||
123 | 135 | | |
124 | 136 | | |
125 | 137 | | |
| 138 | + | |
126 | 139 | | |
127 | 140 | | |
128 | | - | |
| 141 | + | |
129 | 142 | | |
130 | 143 | | |
131 | 144 | | |
| |||
0 commit comments