<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>자주차 by 홍승현</title>
      <link>https://padlet.com/22102275/ariw33j2eogfdiwj</link>
      <description></description>
      <language>en-us</language>
      <pubDate>2023-10-19 13:11:46 UTC</pubDate>
      <lastBuildDate>2023-10-19 13:24:49 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>김준호</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754566489</link>
         <description><![CDATA[<div>&nbsp; &nbsp; &nbsp; &nbsp; # [2] 주행 처리<br>&nbsp; &nbsp; &nbsp; &nbsp; e = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; L_origin = 200<br>&nbsp; &nbsp; &nbsp; &nbsp; R_origin = 200<br><br>&nbsp; &nbsp; &nbsp; &nbsp; left = L[2] / L_origin<br>&nbsp; &nbsp; &nbsp; &nbsp; right = R[2] / R_origin<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if R[2] == 316:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if L[2] &lt; 325:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = 210 * (1 - left)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; elif L[2] == 325:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = -210 * (1 - right)<br>&nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = (right - left) * 200<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt; 160 or V[3] == 255:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[0] &gt; V[1]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = -360<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("4")<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt; 160 or V[3] == 255:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt;= V[4]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = 340&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("5") &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[4] &lt;= V[5]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e = 340&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("6")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; velocity = 250<br>&nbsp; &nbsp; &nbsp; &nbsp;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; obstacle = 5536<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if frontLidar &lt; obstacle:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; velocity = 250<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("8")<br>&nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = int(e / 3) - 20<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("9")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if steer &gt; 100:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; velocity = 250<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif steer &lt; -100:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; velocity = 250</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:12:36 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754566489</guid>
      </item>
      <item>
         <title>홍승현</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754569507</link>
         <description><![CDATA[<div>&nbsp; &nbsp; def life(self):<br>&nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; velocity = 250<br>&nbsp; &nbsp; &nbsp; &nbsp; t = -100<br>&nbsp; &nbsp; &nbsp; &nbsp; t2 = -100<br>&nbsp; &nbsp; &nbsp; &nbsp; Ldt = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; Rdt = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; lastLider = -100<br><br>&nbsp; &nbsp; &nbsp; &nbsp; yield<br>&nbsp; &nbsp; &nbsp; &nbsp; #######################################################<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; while True:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; r = linecast_debug(self.canny_life, (self.center, 400), (639, 400), self._front_img)[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; l = linecast_debug(self.canny_life, (self.center, 400), (0, 400), self._front_img)[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.center = (r + l) // 2<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; d = (r + l) - 640<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = d / 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer *= math.sqrt(abs(steer))<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer *= 25<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = min(100, max(-100, steer))<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #steer += -37<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yield (steer, velocity)<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #rect<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dV = (abs(self.V_life[2] - self.V_life[3]) + abs(self.V_life[3] - self.V_life[4])) / 2<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if dV &lt; 20 and self.V_life[3] &lt; 170 and self.time - t &gt; 150 / velocity and self.time - lastLider &gt; 4:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sl = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sr = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for p in [0, 639]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; maxX = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for y in range(200, 400, 30):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x = linecast_debug(self.canny_life, (self.center, 400), (p, y), self._front_img)[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x = abs(x - 320) + (400 - y) * 0.1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if x &gt; maxX:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; maxX = x<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if p == 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sl = maxX<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sr = maxX<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.dir = sr - sl<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; t = self.time<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while self.time - t &lt; 1.2:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100 if self.dir &lt; 0 else 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #steer += -37<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yield (steer, velocity)<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #dotted<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L = []<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L_f = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R = []<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R_f = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for p in [0, 639]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for y in range(100, 400, 15):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; x = linecast(self.canny_life, (self.center, 400), (p, y))[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if p == 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L.append(x)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if len(L) &gt; 1 and abs(L[-2] - x) &gt; 50:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L_f += 1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R.append(x)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if len(R) &gt; 1 and abs(R[-2] - x) &gt; 50:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R_f += 1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L = np.array(L)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R = np.array(R)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ldt = Ldt - 1 if Ldt &gt; 0 else 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Rdt = Rdt - 1 if Rdt &gt; 0 else 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if L_f &gt; 2:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ldt = 3<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if R_f &gt; 2:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Rdt = 3<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; L_dotted = Ldt &gt; 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; R_dotted = Rdt &gt; 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if self.frontLider_life &lt; 6000:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; lastLider = self.time<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (L_dotted or R_dotted) and not (L_dotted and R_dotted) and self.time - t2 &gt; 2.5 and self.time - lastLider &lt; 10:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if max(self.V_life[2:5]) &lt; 210 and dV &lt; 30:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #print(L_dotted, R_dotted)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; t2 = self.time<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while self.time - t2 &lt; 0.7:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100 if L_dotted else 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #steer += -37<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yield (steer, velocity)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while self.time - t2 &lt; 1.2:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 80 if L_dotted else -80<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #steer += -37<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yield (steer, velocity)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ldt = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Rdt = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; r = linecast_debug(self.canny_life, (self.center, 400), (639, 250), self._front_img)[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; l = linecast_debug(self.canny_life, (self.center, 400), (0, 250), self._front_img)[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; length = r - l<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if length &gt; 500 and r &gt; 540 and l &lt; 100:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; t = self.time<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; while self.time - t &lt; 0.5:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yield (steer, velocity)<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; return</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:14:26 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754569507</guid>
      </item>
      <item>
         <title>김건우</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754570571</link>
         <description><![CDATA[<div>k = R[2] -L[2]<br>&nbsp; &nbsp; &nbsp; &nbsp; if k &lt; 30 and k &gt; -30 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; elif k &lt; 0 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = - abs(k * 0.38)<br>&nbsp; &nbsp; &nbsp; &nbsp; else :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = abs(k * 0.38)<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; #p회전<br>&nbsp; &nbsp; &nbsp; &nbsp; if R[2] &gt; 300 and L[2] &gt; 300 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[1] &lt; 200 and V[5] &gt; 200 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 70<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[1] &gt; 200 and V[5] &lt; 200 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -70<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; #직각<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[1] &lt; 180 and V[3] &lt; 180 and V[5] &lt; 180 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[2] &lt; V[4] :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 95<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if V[2] &gt; V[4] :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -95<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if frontLidar &lt; 6000 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:15:06 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754570571</guid>
      </item>
      <item>
         <title>배준형</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754571912</link>
         <description><![CDATA[<div>&nbsp; &nbsp; &nbsp; &nbsp; b = L[0]+L[1]+L[2]+R[0]+R[1]+R[2]<br>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; C = R[2] - L[2]<br>&nbsp; &nbsp; &nbsp; &nbsp; C1 = R[1] - L[1]<br>&nbsp; &nbsp; &nbsp; &nbsp; C0 = R[0] - L[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; if self.t==62:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t = 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.x = 0<br><br>&nbsp; &nbsp; &nbsp; &nbsp; # print(self.t)<br>&nbsp; &nbsp; &nbsp; &nbsp; if frontLidar&lt;3500:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -80<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if self.x == 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t = 3<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.x = 1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # print(self.t)<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if self.t != 100:<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if self.t&lt;=15:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t += 1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -60<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif 15&lt;=self.t&lt;=40:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if abs(C)&gt;100:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # print("step 0")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if C &lt; 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = C + 15<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif C &gt; 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = C - 15<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t += 1<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif 55&gt;self.t&gt;=40:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t += 1<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 60<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif 55&lt;=self.t&lt;62:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -65<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.t += 1<br><br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if abs(C)&gt;100:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("step 0")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if C &lt; 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = C + 15<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif C &gt; 0:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = C - 15<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (R[2]&gt;=320 and (V[0]-V[6]&gt;30) or (V[0]==V[1] or V[1]==V[2])):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("step 1")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100+C1+abs(C0)<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (b&gt;=1620 and (V[4] &lt; 190 or 0&lt;V[4]&lt;30)):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("step 2")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (L[0]+L[1]&gt;=608 and V[0]&gt;=235 and (V[2]&lt;=85 or V[2]&gt;=235)):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print("step 3")<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 100<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (L[0]==320 and R[0]&lt;40 and V[6]&gt;200):<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer += 10<br>&nbsp; &nbsp; &nbsp; &nbsp; print(L)<br>&nbsp; &nbsp; &nbsp; &nbsp; print(R)<br>&nbsp; &nbsp; &nbsp; &nbsp; print(V)<br>&nbsp; &nbsp; &nbsp; &nbsp; print("==========")</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:15:56 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754571912</guid>
      </item>
      <item>
         <title>김승원</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754572934</link>
         <description><![CDATA[<div><br>&nbsp; &nbsp; &nbsp; &nbsp; p = linecast(canny, (320, 479), (320, 0))<br>&nbsp; &nbsp; &nbsp; &nbsp; x= p[0]<br>&nbsp; &nbsp; &nbsp; &nbsp; y = p[1]<br>&nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if L[2] &lt; 319 and R[2] &lt; 319 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #L[2] 와 R[2]가 있으면<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if L[2] &lt; 254 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 254 - L[2]<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; elif R[2] &lt; 254 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = R[2] - 254<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 0<br>&nbsp; &nbsp; &nbsp; &nbsp; elif L[2] &lt; 319 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#L[2] 있고, R[2] 없으면<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if L[2] &lt; 254 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 254 - L[2]<br>&nbsp; &nbsp; &nbsp; &nbsp; elif R[2] &lt; 319:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if R[2] &lt; 254:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #R[2] 있고, L[2] 없으면<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = R[2] - 254<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[6] &lt; 125 and V[1] &lt; 175 and 110 &lt; V[4] &lt; 190 and R[0] &gt; 319 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # 직각 좌회전<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if R[1] &lt; 270 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = - 100<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[0] &lt; 125 and V[5] &lt; 175 and 110 &lt; V[2] &lt; 180 and L[0] &gt; 319 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # 직각 우회전<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if L[1] &lt; 270 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = + 100<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if L[2] &gt; 319 and R[2] &gt; 319 and L[1] &gt; 319 and R[1] &gt; 319 and 140 &lt; V[2] &lt; 194 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#P턴 오른쪽 꺾음<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = + 58<br>&nbsp; &nbsp; &nbsp; &nbsp; if L[2] &gt; 319 and R[2] &gt; 319 and L[1] &gt; 319 and R[1] &gt; 319 and 140 &lt; V[4] &lt; 194 :&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#P턴 왼쪽 꺽음<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = - 58<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if 1000 &lt; frontLidar &lt; 3200 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100<br>&nbsp; &nbsp; &nbsp; &nbsp; if R[2] &gt; 319 and&nbsp; R[1] &gt; 319 and L[2] &lt; 190 and V[5] &lt;200 and L[0] &gt;160 and L[1] &gt; 319 :&nbsp; &nbsp; #왼쪽 차선으로 넘어가야 할때<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = - 100<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[6] &lt; 90 and V[5] &lt; 120 and V[4] &lt; 130 and 100 &lt; V[3] &lt; 200 and V[1] &lt; 250 :<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -100</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:16:31 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754572934</guid>
      </item>
      <item>
         <title>권현석</title>
         <author>22102275</author>
         <link>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754577572</link>
         <description><![CDATA[<div>print(frontLidar)&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if L[2] &lt; 235:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 90<br>&nbsp; &nbsp; &nbsp; &nbsp; if R[2] &lt; 235:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -90<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt;= 195 and R[1] == 321 and abs(V[3] - V[4]) &lt; 13:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 99<br>&nbsp; &nbsp; &nbsp; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt;= 195 and L[1] == 320 and abs(V[3] - V[2]) &lt; 13:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -99<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt;= 185 and V[0] &lt; V[1] &lt; V[2] &lt; V[3] and abs(V[3] - V[5]) &gt; 40:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 99<br>&nbsp; &nbsp; &nbsp; &nbsp; if V[3] &lt;= 185 and V[6] &lt; V[5] &lt; V[4] &lt; V[3] and abs(V[3] - V[1]) &gt; 40:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -99<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if L[1] == 320 and R[1] == 321 and L[2] == 320 and R[2] == 321:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 15<br><br>&nbsp; &nbsp; &nbsp; &nbsp; if frontLidar &lt; 5700 and L[0] &lt; L[1] &lt; L[2]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = 99<br>&nbsp; &nbsp; &nbsp; &nbsp; if frontLidar &lt; 5700 and R[0] &lt; R[1] &lt; R[2]:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; steer = -99</div>]]></description>
         <enclosure url="" />
         <pubDate>2023-10-19 13:19:25 UTC</pubDate>
         <guid>https://padlet.com/22102275/ariw33j2eogfdiwj/wish/2754577572</guid>
      </item>
   </channel>
</rss>
