<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by just_grassy on Medium]]></title>
        <description><![CDATA[Stories by just_grassy on Medium]]></description>
        <link>https://medium.com/@just_grassy?source=rss-13fc11318819------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lCkaWcSvugUW5_bFaIJ1Qw.jpeg</url>
            <title>Stories by just_grassy on Medium</title>
            <link>https://medium.com/@just_grassy?source=rss-13fc11318819------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:19:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@just_grassy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an Autonomous Robot for the 2026 Premier Robot League]]></title>
            <link>https://medium.com/@just_grassy/building-an-autonomous-robot-for-the-2026-premier-robot-league-9f2d9a2a917f?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f2d9a2a917f</guid>
            <category><![CDATA[decode]]></category>
            <category><![CDATA[ftc]]></category>
            <category><![CDATA[rev]]></category>
            <category><![CDATA[robots]]></category>
            <category><![CDATA[premier-robot-league]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Sun, 23 Aug 2026 07:57:55 GMT</pubDate>
            <atom:updated>2026-08-23T07:57:55.352Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*Ixn3VIz8oEiTSDPPIH1Wag.png" /></figure><p>I participated in the <strong>2026 Premier Robot League</strong>, held in Korea. The competition was based on an autonomous-mode version of <strong>FTC — FIRST Tech Challenge</strong>, using the <strong>DECODE</strong> game from the 2025–2026 FTC season.</p><p>The challenge was simple in concept, but difficult in execution: our robot had to <strong>shoot a ball into the goal automatically</strong>, without driver control during the match.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*N7A1ocJfzPc5YGJAidndiw.png" /></figure><h3>Starting with CAD</h3><p>Before touching any hardware, I started by modeling the robot in <strong>Onshape</strong>.</p><p>Because this was an <strong>autonomous-only competition</strong>, every mechanism had to work reliably without a driver correcting mistakes in real time. That meant the robot needed to be as simple and predictable as possible from the beginning.</p><h3>Day 1: Building the Drivetrain</h3><p>On the first day, I started with the drivetrain. I attached <strong>two wheels</strong> to the bottom of the robot and built a simple structure that could drive forward and move into position.</p><p>I kept the drivetrain minimal on purpose. In autonomous matches, a complicated drivetrain often means more possible failure points — and if something goes wrong mid-match, there is no driver to fix it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1-pJOQPe2lK76l3lEpeykg.png" /></figure><h3>Designing the Body and Ball Path</h3><p>Later that same day, I moved on to the main body of the robot. This structure needed to support both the <strong>ball intake path</strong> and the <strong>shooting mechanism</strong>.</p><p>I built a box-shaped frame on top of the drivetrain. The frame had to be tall enough to fit the motor and shooter inside, so I designed it like a <strong>vertical chute</strong> where the ball could travel from top to bottom.</p><p>I chose this chute shape instead of a flat shelf because I wanted the ball to fall into the shooter by gravity. That way, the robot would not need an extra mechanism just to move the ball into position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KmJL6hb6vHwQoFADuGcNxA.png" /></figure><h3>Aligning the Entry Hole</h3><p>I also cut a circular hole in the top panel. This hole is where the ball enters the robot, so it had to be aligned with the shooter underneath.</p><p>Getting this alignment right took a few tries. If the hole was even slightly off-center, the ball would hit the wall of the chute instead of dropping straight down into the shooter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkPc0j3gmnGP53CfzBZDrg.png" /></figure><h3>Day 2: Designing the Yaw Mechanism</h3><p>The next day, I designed the gear system that would control the <strong>yaw angle</strong> of the shooting mechanism.</p><p>The goal position stays fixed, but the robot’s starting position can change slightly between matches. Because of that, the shooter needed to rotate left and right to correct its aim.</p><p>Instead of turning the entire robot to aim, I decided to give the shooter its own rotation axis. This made the aiming process faster and reduced the burden on the drivetrain.</p><p>A servo sits inside the frame and drives the gear directly. The gear then rotates the shooter to the target angle.</p><p>I chose a gear-driven yaw system instead of mounting the servo directly on the shooter axis for two reasons:</p><ul><li><strong>Lower moving mass:</strong> keeping the servo off the shooter made the rotating assembly lighter.</li><li><strong>Better protection:</strong> if the shooter jammed, the servo would be less likely to take a direct hit.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/589/1*fSM038rV8Hv0sW8n7uUz6Q.png" /></figure><h3>Assembling the Gear System</h3><p>I designed two gears because the yaw mechanism needed a pair of meshing gears to transfer rotation from the servo to the shooter.</p><p>I also added a small ring of mounting holes near the center of each gear. These holes allowed the gears to be bolted securely onto their shafts, preventing them from slipping under load.</p><p>Once the gears were finished, I assembled them on top of the frame, next to the ball entry hole. At this point, the robot had a clear flow:</p><ul><li>The ball drops through the top hole.</li><li>The chute guides it into the shooter.</li><li>The yaw gear adjusts the shooter’s direction.</li><li>The shooter fires toward the goal.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*V25-Gd0GWJ8doU_SuyD4sw.png" /></figure><h3>Manufacturing and Assembly</h3><p>After the CAD design was mostly finished, we started manufacturing the parts using a <strong>3D printer</strong> and a <strong>laser cutter</strong>.</p><p>This was the moment when the robot started to move from a digital model into a real physical build. Some parts could be printed directly, while larger flat panels were better suited for laser cutting.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhdzAP7FY2wkyve6duYCTA.png" /></figure><p>We used <strong>Bambu Lab X1C 3D printers</strong> for the printed components. The printers helped us iterate quickly, especially for parts that needed small adjustments after testing the fit.</p><h3>First Physical Assembly</h3><p>After the parts were printed and cut, my teammate started assembling the first version of the robot.</p><p>At this stage, the robot was not fully functional yet, but seeing the parts come together helped us check whether the CAD design actually made sense in real life. It also made it easier to spot small issues that were hard to notice on the screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VnB_iNR_ErswzMXx2Lye5w.png" /></figure><h3>Getting the Control Hub</h3><p>Next, we assembled the wheels and prepared the electronics, including the <strong>REV Control Hub</strong>.</p><p>Getting the Control Hub was one of the hardest parts of the build. It was too expensive for us to buy at first, and by the time we finally had a chance to get one, it was already quite late in the project.</p><p>So I sent messages to people who were also attending the contest and asked if anyone could lend us one. Fortunately, someone agreed, and we finally managed to borrow a Control Hub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wPWWCR76TUGA-GMMreJ5Zw.png" /></figure><h3>First Driving Test</h3><p>With the Control Hub finally ready, we did some simple wiring and connected the drivetrain.</p><p>After that, our robot could finally move. It was only a basic driving test, but it was an important milestone because it proved that the drivetrain, electronics, and wiring were working together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*M2EmYnxrgXkqt6qeDk-_eA.gif" /></figure><h3>Iterating for the Real Field</h3><p>After the first driving test, I started changing and upgrading several components so the robot could work reliably in an actual contest environment.</p><p>The first major change was the <strong>front wheel setup</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9mz-O4eBsBJGXtxdqfqWRA.png" /></figure><h3>Replacing the Ball Caster</h3><p>In the first version, I used a <strong>ball caster</strong> at the front of the robot. In theory, this seemed like a simple way to support the front side while allowing the robot to move smoothly.</p><p>However, once we tested it on the actual field, the problem became clear. The field floor was softer and more flexible than I expected, so the ball caster sank in too much and created a lot of resistance. Because of that, the robot could not drive smoothly.</p><p>To solve this, I replaced the ball caster with <strong>omni wheels</strong>. The omni wheels gave the front of the robot better support while still allowing sideways slip, which made the drivetrain much more practical for the contest field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*taNbB-HTo4tavsxKy0lnSw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPbljdPVHYq4WSdLOKkgbg.png" /></figure><p>After this change, the robot could drive much better on different types of floors.</p><h3>Redesigning the Intake Mechanism</h3><p>Once the drivetrain became more reliable, the next problem was the <strong>intake mechanism</strong>.</p><p>In my original CAD model, I planned to use a rubber wheel underneath the robot to pull the ball in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hkbOMIGHOor-8D6547YDjg.png" /></figure><p>However, the rubber-wheel design was too rigid and difficult to integrate with our robot. Instead, we decided to use a rubber-band intake mechanism. I modeled a new component that could hold the rubber bands in the right position.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SV3KbVrpv-7IYBvfX3CZRg.png" /></figure><p>After finishing the model, I laser-cut the part from MDF and mounted it onto the robot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MwQcNOxYugDJ4Pw_cnZ55w.png" /></figure><p>With this change, the robot was able to collect the ball much more reliably, as shown in the video below. There was a problem that we did not have any more dc motors, but we fixed it using gears and chains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*XqT0JZNX8wjOI7GfAhclCA.gif" /></figure><h3>Feeding the Ball into the Shooter</h3><p>After the intake started working, we controlled a servo to move the ball upward into the shooting mechanism. This also worked well during testing, as shown in the video below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*TsOqynsvs5G-FtI2eVqjvg.gif" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ioh3dIpGrNA4JL6NdxRa3A.png" /></figure><h3>Building Autonomous Mode Overnight</h3><p>After the hardware tests, I stayed up all night working on the <strong>autonomous mode</strong>. My goal was to make the robot follow the ball, collect it, drive toward the goal, and shoot.</p><p>However, the shooting part was still unreliable. The robot could follow the ball, collect it, and move toward the goal, but it could not shoot the ball consistently in autonomous mode.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wUwilcQpI1tGGEs_znhZVw.png" /></figure><p>In the end, I spent the night at school trying to improve the robot before the contest.</p><h3>Going to the Contest</h3><p>After the overnight work session, we headed to the contest venue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FTPW9S7mPtoDxdPPI9ozLA.png" /></figure><p>When we arrived, we prepared the robot and started playing matches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NFtFp3ndcl3YtJqK6qqWEg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ucg-pmn7zsd73q8Tm1zKw.png" /></figure><p>During the contest, we ran into one major problem: the robot was slightly too large. To make it fit within the size limit, I moved the front wheel inward. However, because there was no support across the new wheel gap, that part became structurally weak.</p><p>We did not have enough time to redesign it properly, so we continued using the robot as it was. Eventually, during the second match, the front wheel came off the robot.</p><p>Even with that failure, we still won the match.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KG3CHOZ0u2QXlgkMQl4wMA.png" /></figure><h3>Final Result and Reflection</h3><p>In the end, we won <strong>one out of four matches</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nrjx75I2Al9hmO53kZyGqw.png" /></figure><p>The result was not perfect, but the project taught me a lot. I learned how different a robot can behave between CAD, simple testing, and the real contest field. Small mechanical details — like wheel placement, chassis stiffness, and intake flexibility — ended up making a huge difference.</p><p>Most importantly, this project showed me that building a competition robot is not only about designing a mechanism that works once. It is about making every part reliable enough to survive the real field, real time pressure, and unexpected failures.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f2d9a2a917f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[CodeForces Answer] A. Love Triangle with c++]]></title>
            <link>https://medium.com/@just_grassy/codeforces-answer-a-love-triangle-with-c-d07b034a0f5f?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/d07b034a0f5f</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[codeforces]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cpp]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Fri, 17 Apr 2026 23:31:43 GMT</pubDate>
            <atom:updated>2026-04-17T23:31:43.868Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/310/1*vBtIZvHFAcOsPudi0UhISw.png" /></figure><p>In this post, I am going to explain how to solve 939A, Lowve Triangle using C++ language.</p><p>If we read the problem, we can know that we should just get who likes who and then compare the number with someone that person likes likes. So I tried to write it as code.</p><pre>#include &lt;iostream&gt;<br><br>using namespace std;<br><br><br>int N;<br>int lovingMap[5001];<br><br>int main()<br>{<br>    cin &gt;&gt; N;<br>    for (int i = 1; i &lt;= N; i++)<br>    {<br>        cin &gt;&gt; lovingMap[i];<br>    }<br><br>    for (int i = 1; i &lt;= N; i++)<br>    {<br>        if (i == lovingMap[lovingMap[lovingMap[i]]])<br>        {<br>            cout &lt;&lt; &quot;YES&quot; &lt;&lt; endl;<br>            return 0;<br>        }<br>    }<br><br>    cout &lt;&lt; &quot;NO&quot; &lt;&lt; endl;<br><br>    return 0;<br>}</pre><p>I just got the input and check if one number is same as the person who that person likes likes. And the result is correct!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/906/1*hGboQP2D7Ds7cI1JT38KtQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d07b034a0f5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EKF(Extended Kalman Filter) explained]]></title>
            <link>https://medium.com/@just_grassy/ekf-extended-kalman-filter-explained-433d625fb6ea?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/433d625fb6ea</guid>
            <category><![CDATA[noise-sensor]]></category>
            <category><![CDATA[sensory-processing]]></category>
            <category><![CDATA[kalman-filter]]></category>
            <category><![CDATA[ekf]]></category>
            <category><![CDATA[extended-kalman-filter]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 11:07:47 GMT</pubDate>
            <atom:updated>2026-03-03T11:07:47.495Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>EKF -&gt; Extended Kalman Filter</strong></p><h3>What is EKF?</h3><p><strong>Standard Kalman Filter</strong>: Operates on linear systems.</p><p><strong>The Reality</strong>: Most real-world systems are non-linear.</p><ul><li><strong>The Solution (EKF)</strong>: To use a Kalman Filter in these cases, the EKF linearizes the non-linear functions at every time step by calculating their derivatives.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*Ki7SUKXcKgGZxbu3.jpg" /><figcaption>Copyright : 칼만필터는 어렵지 않아</figcaption></figure><p>The Kalman Filter predicts the next state based on the previous data, as shown in the process above. In this context, EKF replaces the linear transition 𝒙ₖ = 𝑨𝒙ₖ₋₁ with a non-linear function: 𝒙ₖ = 𝒇(𝒙ₖ₋₁).</p><p>Essentially, an EKF is a standard Kalman Filter that uses a <strong>first-order derivative</strong> to create a linear approximation of the system.</p><h3>The Jacobian Matrix</h3><p>To perform this differentiation, we use the <strong>Jacobian matrix</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*hf-paGHwkMSCZYuVbE4pMg.png" /><figcaption>Copyright : <a href="https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant">https://en.wikipedia.org/wiki/Jacobian_matrix_and_determinant</a></figcaption></figure><p>Simply put, if you have a set of equations.<br>For example:<br>- <strong>𝒙 = 𝒓 cos(𝜽)</strong> → (Let’s call this the first function, <strong>𝒇</strong>)<br>- <strong>𝒚 = 𝒓 sin(𝜽)</strong> → (Let’s call this the second function, <strong>𝒉</strong>)</p><p>The Jacobian involves taking the <strong>partial derivative</strong> of every function (<strong>𝒇</strong>, <strong>𝒉</strong>) with respect to every variable (in this case, <strong>𝒓</strong>and <strong>𝜽</strong>). This process allows us to transform non-linear, multivariate data into a linear form witch can be used with <strong>Kalman Filter</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=433d625fb6ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[Firefighting Drone Project] 00. Introduction of this project]]></title>
            <link>https://medium.com/@just_grassy/firefighting-drone-project-00-introduction-of-this-project-f76a4017533d?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/f76a4017533d</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[stm32]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[firefighting]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 14:44:50 GMT</pubDate>
            <atom:updated>2026-02-08T14:44:50.208Z</atom:updated>
            <content:encoded><![CDATA[<p>Traditional firefighting often struggles with the verticality of modern cities. <strong>When a fire breaks out on the 20th floor</strong>, every second counts, and accessibility is the enemy. I’m excited to announce my latest project: The Tactical Firefighting Drone. This isn’t just a quadcopter with a camera…! <strong>It’s a specialized response unit equipped with an AI-driven robotic arm designed to suppress fire and clear obstacles in real-time.</strong></p><h3><strong>The Vision: AI &amp; Hardware Synergy</strong></h3><p>The drone is designed for dual-mode operation. While it can be piloted manually for precision maneuvers, it features an autonomous AI mode for high-risk environments. The standout feature is the Robotic Arm. Controlled by a dedicated AI, the arm doesn’t just aim the water/suppressant. It actively “clears the path.” Whether it’s moving debris or breaking through glass to reach the source of the flame, the arm acts as the drone’s “hands” on the scene. Another cool thing is that this Drone Can Operate Anywhere. I will use <strong>various techniques</strong> for extreme conditions! It includes RTK features and my own cool <strong>technique</strong> which I am currently developing!</p><h3><strong>The Tech Stack: Going Custom</strong></h3><p>As part of this team project, my focus is the Drone Hardware and Flight Dynamics. I’ve decided to move away from off-the-shelf solutions to build something truly bespoke:</p><ul><li><strong>Triple-MCU Flight Controller:</strong> To handle the massive processing load of flight stability, arm coordination, and sensor fusion, I am designing a custom FC featuring three MCUs (STM32H7 for main, STM32F4 for my own tech, STM32H7 for <strong>another of my technologies</strong> which contains <strong>a</strong> light AI model). This provides redundancy and specialized processing power.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*1194LwN-lAT7mZ_s.jpg" /><figcaption>STM32 F4</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/0*pqBKNR76OfpkCAst.jpg" /><figcaption>STM32 H7</figcaption></figure><ul><li><strong>Custom Firmware:</strong> I am writing the firmware from scratch to ensure the flight logic accounts for the shifting center of gravity when the robot arm moves. And also for using all my cool and new <strong>techniques</strong>!</li><li><strong>Proprietary Tech:</strong> I am currently integrating some “secret” techniques regarding efficiency and stability that I’ll be revealing later in the development cycle!</li></ul><h3><strong>What’s Next?</strong></h3><p>I will post <strong>a part of the schematic drawing</strong> for my power regulating part! Follow my journey here on Medium as I push the limits of what a drone can do.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f76a4017533d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[PCB Design] PID Neutralization Titration Machine with STM32]]></title>
            <link>https://medium.com/@just_grassy/pcb-design-pid-neutralization-titration-machine-with-stm32-c413ee95508d?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/c413ee95508d</guid>
            <category><![CDATA[cpp17]]></category>
            <category><![CDATA[pcb]]></category>
            <category><![CDATA[pcb-design]]></category>
            <category><![CDATA[schematics]]></category>
            <category><![CDATA[stm32]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 03:26:34 GMT</pubDate>
            <atom:updated>2025-11-25T03:29:49.419Z</atom:updated>
            <content:encoded><![CDATA[<p>I wanted to design by own pcb for neutralization titration machine. So I designed it. I used a tool named Easy EDA and used STM32 for my mcu. I used STM32F103C8T6.</p><p>First, I designed the schematic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q1SBz25ZFkOZ9nLbPIWNGg.png" /></figure><p>I connected 3 screw terminals to the stm32. One is for power, one for the pump, and one for the pH sensor. And my board use c-type port to connect to programmer’s PC.</p><p>Then, I drew a PCB. First, I placed each parts on the place that I want.</p><p>Next was routing. I just used autorouting, only manually routing four traces, sine the design isn’t very complicated.</p><p>Then I added the copper pour. It looks like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*VzXyenofcT0n8N6p5n0MFA.png" /></figure><p>After that, I rendered it in 2D and 3D. So the result was like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*J57gEWr6o16YbMykeLu_Rg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/520/1*imOvvucgxly1MZcG-z-YkQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*rxYs8ERq719CSXmbfjKgig.png" /></figure><p>And now, I have my custom neutralization titration PCB!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c413ee95508d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[CodeForces Answer] A. Way Too Long Words with c++]]></title>
            <link>https://medium.com/@just_grassy/codeforces-answer-a-way-too-long-words-with-c-97dfb54fad5b?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/97dfb54fad5b</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[cpp17]]></category>
            <category><![CDATA[cpp]]></category>
            <category><![CDATA[codeforces]]></category>
            <category><![CDATA[problem-solving]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Mon, 24 Nov 2025 01:03:23 GMT</pubDate>
            <atom:updated>2025-11-24T01:03:23.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*YNgJlkFGXgbKfJ-t.jpeg" /></figure><p>Today, I am going to explain how to solve A. Way Too Long Words problem in CodeForces. The link to the problem is below.</p><p><a href="https://codeforces.com/problemset/problem/71/A">https://codeforces.com/problemset/problem/71/A</a></p><p>This problem is really simple. We just need to follow what the problem tells us to do!</p><p>First, you should get the integer n.<br>Then, use a loop to iterate n times!</p><p>Then, you should read a string in each loop.</p><p>On each loop, you should check if the length of string is longer than 10!<br>If is not longer than 10, You should just print the input string itself.<br>Otherwise, you should print the first character of the string, then print the length of string subtracted with 2, then print the last character of the string!</p><p>That’s it!</p><pre>#include &lt;iostream&gt;<br><br>using namespace std;<br><br>int n;<br>string a;<br><br>int main()<br>{<br>    cin&gt;&gt;n;<br>    for(int i=0;i&lt;n;i++)<br>    {<br>        cin&gt;&gt;a;<br>        if(a.length()&lt;=10)<br>            cout&lt;&lt;a&lt;&lt;endl;<br>        else<br>            cout&lt;&lt;a[0]&lt;&lt;a.length()-2&lt;&lt;a[a.length()-1]&lt;&lt;endl;<br>    }<br>}</pre><p>Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97dfb54fad5b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[[FTC 2025-2026 Decode] 01. 3D Modeling the Shooter Mechanism]]></title>
            <link>https://medium.com/@just_grassy/codeforces-answer-a-watermelon-with-c-5cbda2c87af3?source=rss-13fc11318819------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cbda2c87af3</guid>
            <category><![CDATA[ftc]]></category>
            <category><![CDATA[3d-modeling]]></category>
            <category><![CDATA[onshape]]></category>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[making]]></category>
            <dc:creator><![CDATA[just_grassy]]></dc:creator>
            <pubDate>Sun, 23 Nov 2025 14:29:13 GMT</pubDate>
            <atom:updated>2026-02-19T14:06:52.616Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0sZs7egPfvm8V2YV" /></figure><p>I am thrilled to announce my participation in this year’s <strong>FIRST Tech Challenge (FTC)</strong>! I am currently gearing up for the <strong>KRC (Korea Robotics Championship)</strong>, the South Korean preliminary.</p><p>This season’s mission, <strong>DECODE</strong>, requires robots to intake balls and launch them into a designated goal. Today, I’m excited to share the first major milestone: the <strong>3D modeling of the Top Shooter Plate.</strong></p><h3>Why Onshape??</h3><p>For this project, I chose <strong>Onshape</strong> as my primary design software. Having experience with a variety of CAD tools — including Fusion 360, SketchUp, AutoCAD, and SolidWorks — I found Onshape to be the most intuitive and powerful platform for this robot’s requirements. Being cloud-based meant I could work seamlessly without worrying about hardware limitations or file versions.</p><h3>01. Building a Systematic Foundation (Variables)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*fGPVYl5cVLXz3xUI0u-iAA.png" /></figure><p>Before drawing a single line, I started by setting up a <strong>Variable Studio</strong>. Even though I was working individually, I knew that a professional workflow requires flexibility.</p><p>I defined variables for everything from plate dimensions (<strong>MainPlateWidth/Height</strong>) to specific gear teeth counts (<strong>YawThrowGearCount</strong>). Most importantly, I created three levels of clearance:</p><ul><li><strong>ClearanceSmall (0.1mm):</strong> For parts that need to be “Really Tight.”</li><li><strong>ClearanceMedium (0.15mm):</strong> For standard assembly and disassembly.</li><li><strong>ClearanceBig (0.2mm):</strong> For loose fit requirements.</li></ul><p>By centralizing these values, I ensured that any future design changes — like swapping a bearing or adjusting for 3D printer tolerances — could be done by changing a single number rather than redesigning the entire part.</p><h3>02. Detailed Part Modeling</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/691/1*e5mMx66YF5QahJtrfROXIA.png" /></figure><p>With the variables set, I moved into the <strong>Part Modeling</strong> stage. The focus here was the upper plate that houses the shooting mechanism.</p><p>Using the variables defined earlier, I modeled the recessed tracks for the bearings and the gear interfaces. Because of the parametric nature of Onshape, I could focus on the geometry and mechanical logic, knowing that the dimensions were perfectly controlled by my variable studio. This step was where the abstract mission requirements started turning into a tangible mechanical solution.</p><h3>03. Final Assembly and Integration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*X9pFz4rhPBeTxQVjnMlZZw.png" /></figure><p>The final stage was the <strong>Assembly</strong>. This is the “moment of truth” where I combined my shooter plate with the rest of the robot’s sub-assemblies.</p><p>Onshape’s powerful “Mate” system allowed me to:</p><ul><li><strong>Check for Interference:</strong> I verified that the gear mesh between the servo and the shooter was perfect.</li><li><strong>Verify Structural Alignment:</strong> I integrated the plate with the chassis and intake components to ensure the mounting points aligned exactly with the structural rails.</li><li><strong>Simulate Movement:</strong> I could visualize how the shooter would rotate and operate within the tight constraints of the robot’s frame.</li></ul><p>Through the assembly process, I even discovered that a gear was designed incorrectly and wouldn’t have turned properly in real life — so I was able to fix it right away!</p><h3>Reflections</h3><p>This was my first time utilizing Onshape for a complete, complex assembly, and the experience was incredibly smooth. The ability to manage a “Variable Studio” and immediately see those changes reflected in a high-fidelity assembly has given me immense confidence for the physical build ahead.</p><p>Stay tuned for more updates as we bring this digital model to life for the KRC!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cbda2c87af3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>