Skip to main content

10 posts tagged with "fll-masterpiece"

fll-masterpiece

View All Tags

Build a LEGO Chatbot

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

In my latest experiment with AI-powered robotics, I decided to take all the API help specs from the Spike Prime 3 user guide and load them into Cosmos DB as a knowledge base. The goal was to use this data to generate better, more targeted Python code for Spike Prime robots using a LangChain RAG integration.

Here's the plan I followed:

  1. Extracting API Data: I pulled all the relevant API definitions and code snippets from the Spike Prime user guide. This included functions related to movement, turning, and sensor control.
  2. Cosmos DB as a Knowledge Base: I uploaded the extracted API documentation into Cosmos DB, setting it up as a searchable knowledge base. This would allow us to easily retrieve API definitions and related examples.
  3. LangChain Integration: The idea was to use LangChain's search capabilities to query Cosmos DB. The chatbot would then fetch relevant Python API definitions and example code snippets directly from the knowledge base.
  4. Generating Python Code: Once the relevant information was fetched, the chatbot would combine this with user input to generate Python code that could control the Spike Prime robot.

However, I ran into an unexpected issue: Despite having all the Spike Prime API information in Cosmos DB, the chatbot still ocassionally attempted to rely on external Python libraries from the internet instead of using the custom API definitions I had loaded. This led to code that wasn't compatible with the Spike Prime system, as those external libraries were not designed for LEGO robots.

This is a challenge I need to address. The chatbot is prioritizing internet-based solutions over the internal knowledge base, which defeats the purpose of having a custom-built, Spike Prime-specific AI assistant.

Next steps? I plan to tweak the LangChain logic to ensure the chatbot prioritizes fetching from Cosmos DB and only uses the API definitions we've provided. This will help ensure that the Python code generated is compatible with the Spike Prime robot. Stay tuned for updates on how I solve this!

FLL Masterpiece National

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

It's here, the National Competition Day for the FLL Masterpiece Season! The excitement was off the charts, and we knew we had to be up bright and early to prepare for this big day. By 8 AM, Team Cleverbots were already at the competition pit in Macquarie University, fully geared up with our robot and our team's contagious energy. The atmosphere was buzzing with teams from all over, each ready for one last epic showdown.

First on our agenda was the Innovation Project presentation. Understandably, the girls were a bit nervous, but they absolutely nailed it! They presented their "Fresh: Hobby Sharing AI App" with enthusiasm, and even when the judges asked tough questions, they handled them like pros. Watching them speak with such confidence was a proud moment for all of us, especially considering the level of competition we were up against.

Then came the Robot Game, and this was where things really heated up. Our robot was performing better than ever, and we had three rounds to prove its capabilities. Each round felt like a new achievement, our score kept rising, and the team was cheering louder with every success. By the end of the day, we hit an incredible 355 points, setting a new personal best! It was a huge moment, and the sense of pride and accomplishment on the kids' faces was priceless after all those long hours of practice.

As the day came to a close, we couldn't help but reflect on the unforgettable season we'd just completed. Not only did we leave with a huge sense of achievement, but we also got a sneak peek at next year's theme. Let me tell you, the new challenge looks just as exciting, maybe even more! We're already buzzing with ideas and can't wait to get started on brainstorming for the upcoming season.

What a journey it has been, from regionals to nationals, from early mornings to late-night practice sessions. And now, we're ready to tackle what's next. Bring on next year's challenge! Our robotics adventure is far from over, so stay tuned!

alt text

alt text

alt text

Fresh Hobby Sharing App powered by AI (improved)

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We are thrilled to share some exciting updates about Fresh, our AI-powered hobby-sharing app. Over the past few months, we've been working tirelessly to enhance your experience by incorporating valuable feedback from tech experts and our vibrant community.

One of the significant improvements is the expansion of our hobby directory. We've added a plethora of new hobbies to ensure that everyone finds something that resonates with their interests. Whether you're into pottery, urban gardening, or drone racing, Fresh has got you covered.

Our chatbot has also received a significant upgrade. It now suggests nearby events based on your current location, making it easier for you to connect with like-minded enthusiasts in your area. Simply tell the chatbot what you're interested in, and it will provide personalized recommendations for events and meetups happening near you.

alt text

alt text

We've also produced new tutorial videos to help you get the most out of Fresh. These guide you through the app's features and show you how to make the most of our platform.

Moreover, we've made significant strides in enhancing the app's accessibility. Fresh is now fully functional on both desktop and mobile devices, ensuring you can stay connected to your hobbies anytime, anywhere.

We couldn't have achieved these improvements without your invaluable feedback. Thank you for being a part of our journey. The girls are committed to continually enhancing Fresh to make it the best platform for hobby enthusiasts worldwide.

FLL Masterpiece Regional

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

Here we go! It's finally time for the Masterpiece Season's regional competition in Abbotsleigh! The school is sending three teams, and we're proud to be one of them. The anticipation has been building, and the day has finally arrived.

The journey to the venue was smooth, with an easy ride on the train. When we arrived, we were greeted by over 15 teams, all ready to compete. The energy in the room was incredible! You could feel the excitement buzzing as everyone prepared for the big day.

Our team absolutely nailed the Innovation Project presentation. The judges were fully engaged, asking insightful questions, and the girls did a fantastic job presenting their idea: the Fresh: Hobby Sharing AI App. It's designed to help people connect over shared interests, and they explained it with such confidence and passion. I could see how impressed the judges were, and it felt like all our hard work in the weeks leading up to this moment really paid off.

When it came to the Robot Game, we had an incredible start! In the first round, we scored an impressive 285 points, which put us in second place right out of the gate. The kids were ecstatic, and the excitement only grew as the day went on. The robot performed consistently well, and our strategies were really coming together. Throughout the day, we maintained a strong performance, and it felt like everything was clicking into place.

alt text

alt text

By the end of the competition, we had reason to celebrate big time! We were awarded the Innovation Project Award, a recognition of the team's creativity and hard work on the Fresh app. On top of that, we finished in third place in the Robot Game, a huge accomplishment considering the level of competition we faced.

And the best part? We're going to the national competition again this year! It's such an incredible feeling to see all the dedication and teamwork paying off. The kids are thrilled, and so am I. We're already talking about how to take our ideas to the next level as we prepare for nationals.

It's been an amazing day, and we couldn't be more excited for what's next. National competition, here we come! Stay tuned, this journey is far from over!

alt text

Robot Game Plan for the FLL Masterpiece

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We have a plan of attack for our robot game this time! We're aiming to score 300 points if everything works out. But as we know, things just don't always go as planned.

To improve our robot's performance, we've focused a lot on engineering control and handling misalignments during movement. We've prepared code that can handle big errors in movements caused by attachments. By writing robot code that anticipates unexpected situations, we can make on-the-fly adjustments during the game.

alt text

Our first template of Python code started to work with lots of help from our coach. We used functions to simplify our robot's movements in coding, which made it easier to manage and debug. Incorporating the gyro sensor has been a game-changer for us, assisting with precise turning and moving.

We've spent countless hours practicing to make every action accurate. Sometimes, we have to redo all the coding just to improve by a few seconds. It's a tedious process, but those few seconds can make a significant difference in the competition.

By focusing on precision and reliability, we're hoping to make our robot more consistent during the game. It's been a challenging process, but we're excited to see how our efforts pay off. Fingers crossed for a successful run!

alt text

Fresh Hobby Sharing App powered by AI

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We've decided to bring our idea to life by building an AI app for hobby sharing called FRESH. The inspiration behind FRESH is to create a platform that helps people find nearby hobbies and workshops where they can learn new things and connect with others who share similar interests.

FRESH isn't just a directory; it's a comprehensive resource with a vast database of hobbies available to assist people in exploring new activities. Whether you're interested in pottery, coding, photography, or any other hobby, FRESH aims to make the search easy and engaging.

alt text

What sets FRESH apart is its clever chatbot assistant. Powered by AI technologies like ChatGPT and enriched with a collection of documents we've assembled, the chatbot can communicate with users to understand their likes and preferences. Based on this interaction, it offers personalized hobby suggestions drawn from our extensive backend knowledge base.

The chatbot doesn't just list options; it engages in a conversation to help users discover hobbies they might not have considered. It's like having a friendly guide who's always ready to inspire and inform.

We can't wait to see the potential of FRESH to help people discover new passions and build a community around shared interests. By combining arts, technology, and AI, we're creating an innovative way for people to enrich their lives and connect with others.

alt text

Exploring DallE

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We are interested in exploring how AI can help with our research, brainstorming, and feedback. We tried using ChatGPT and DALL·E to generate answers to our questions and to understand the best ways to use these new tools. We also had a lot of fun creating AI-generated images to help us visualize our innovation project.

Using ChatGPT, we were able to brainstorm ideas more efficiently. Whenever we hit a roadblock, we asked ChatGPT for suggestions, and it provided us with fresh perspectives we hadn't considered before. It was like having a collaborative partner available 24/7, ready to help us think through complex problems.

DALL-E, on the other hand, allowed us to bring our ideas to life visually. By inputting descriptions of concepts and scenarios related to our project, DALL-E generated images that captured the essence of our thoughts. This was incredibly helpful during team meetings, as visual aids made it easier for everyone to understand and contribute to the discussion.

One of the most enjoyable parts was creating AI-generated images for our innovation project. Seeing our ideas transformed into visuals not only made the project more tangible but also sparked new ideas and directions to explore. It was fascinating to see how the AI interpreted our descriptions and turned them into creative imagery.

Integrating AI tools like ChatGPT and DALL-E into our learning has significantly enhanced the way we approach education. They've enhanced our research process, made brainstorming sessions more productive, and provided valuable feedback on our ideas. Plus, experimenting with these tools has been both educational and fun.

Masterpiece Innovation Project

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

The FIRST LEGO League (FLL) MASTERPIECE season is upon us, and our team is buzzing with excitement. We're diving into the Innovation Project, where creativity meets technology, and we're eager to explore new ideas that share our hobbies through arts, tech, and AI to create innovative experiences.

This year's theme challenges us to think outside the box and find ways to enhance how people engage with the arts. We've been brainstorming how we can combine our love for robotics, programming, and the arts to make something truly unique.

One idea we're exploring is developing an interactive platform that uses artificial intelligence to connect artists and hobbyists from around the world. Imagine a space where painters, musicians, writers, and tech enthusiasts collaborate on projects, using AI tools to overcome language barriers and distance. AI could assist in translating artistic styles or suggesting creative collaborations based on users' interests.

We're also considering creating a robotic art installation that responds to audience input. Using sensors and AI algorithms, the robot could interpret emotions or movements from viewers and translate them into visual art or music in real-time. This would not only be a captivating experience but also demonstrate the harmony between human expression and technology.

Another concept is an educational app that uses augmented reality to teach art techniques. Users could point their device at a canvas or workspace, and the app would overlay guides, tips, and even demonstrate strokes or notes for instruments. Incorporating AI would personalize the learning experience, adjusting to the user's skill level and providing feedback.

Our goal is to develop a project that not only fulfills the FLL criteria but also brings people together through shared hobbies and artistic expression. By leveraging arts, technology, and AI, we hope to create an innovative solution that inspires creativity and makes the arts more accessible to everyone.

The journey of exploration and innovation is just beginning, and the possibilities are endless.

Exploring LEGO Spike Prime for Education

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

We've been eagerly awaiting the latest release of the LEGO Spike Prime apps, and it's finally here! The most exciting part? It now officially supports writing code in Python. We can't wait to dive in and start coding like pros. However, our journey hasn't been without its challenges.

The introduction of Python support opens up a whole new world of possibilities for the Spike Prime. Unlike block-based coding, Python allows for more complex and efficient programming, enabling us to tackle advanced projects and fine-tune our robot's performance.

One of the first obstacles we encountered was the scarcity of comprehensive documentation. While the new Python feature is fantastic, the resources available to learn and troubleshoot are somewhat lacking. Some of the official examples even contain errors, which can be frustrating when you're trying to learn.

This is where ChatGPT comes into play. By asking ChatGPT for help, we hope to bridge the gap in documentation and get accurate code snippets that work with Spike Prime. We found that ChatGPT can provide explanations of Python concepts, help debug code, and even generate sample programs tailored to our needs.

Controlling the robot involves not just programming but also understanding real-world physics and calculations. For instance, making the robot move a certain distance requires calculations involving wheel circumference and motor rotations. ChatGPT has been instrumental in helping us understand these concepts by breaking down the calculations and explaining the physics behind them.

While there's still a learning curve, combining the new Python capabilities of Spike Prime with the support of ChatGPT has made the process much more manageable.

Get ready for FLL Masterpriece season

· 2 min read
Daniel Fang
AI, Robotics & LEGO Enthusiast

The new FIRST LEGO League MASTERPIECE season is just around the corner, and we couldn't be more thrilled! The anticipation is building as we eagerly await the release of all the mission and project details. Each new season brings a fresh set of challenges, and this one promises to be a masterpiece indeed.

We've been immersing ourselves in all the YouTube analyses based on the sneak peek videos, and they've been incredibly helpful. These insights offer glimpses into what we might expect from the upcoming missions. Discussing theories and potential strategies has not only fueled our excitement but also sharpened our analytical skills.

alt text

To prepare, we've been building various similar missions at home to test out our robot designs and coding skills. This hands-on experience has allowed us to fine-tune gear ratios, optimize sensors, and perfect our code. It's amazing to see how much progress we've made, and it's bringing us closer together as a team.

Reflecting on last year's competition, we've identified areas where we stumbled and are determined to get it right this time. Whether it was a coding error or a mechanical flaw, each mistake was a valuable lesson. We're channeling those lessons into our preparations now, ensuring we won't repeat them in the upcoming season.

One of the things we love most about the FIRST LEGO League is the excitement of the robot game. The thrill of seeing our robot successfully complete a mission is unmatched. Each new mission is not just a task but an adventure that challenges us to think creatively and work collaboratively. The adrenaline rush during the competition motivates us to push our boundaries and strive for excellence.

We know that each new mission will bring its own set of challenges, and we can't wait to tackle them head-on. The combination of problem-solving, engineering, and teamwork makes the experience both fun and rewarding. Challenges await, but we're ready to face them with enthusiasm and determination.

As we count down the days to the season launch, our team is buzzing with energy. We're fine-tuning our robot, practicing our coding, and strengthening our teamwork skills. The MASTERPIECE season is not just a competition; it's an opportunity to learn, grow, and create memories that will last a lifetime.

alt text