kaytwenty / sumocode Goto Github PK
View Code? Open in Web Editor NEWThe SumoCode repository contains the source code for our sumo bot, which is designed for the upcoming sumo robot competition.
License: MIT License
The SumoCode repository contains the source code for our sumo bot, which is designed for the upcoming sumo robot competition.
License: MIT License
Summary:
The current code for the sumo bot lacks support for an ultrasonic sensor, which limits its ability to detect and track obstacles. This issue aims to add ultrasonic sensor support to the existing codebase.
Proposed Changes:
Additional Considerations:
Issue: Motor Speed Imbalance and Ramping
Description:
Currently, our sumo bot utilizes two motors, but we have noticed a significant power difference between them. To address this imbalance, we decided to remove the jumpers on the L298N motor driver and manually control the motor speeds through our source code. However, we encountered a problem where one motor's speed is inadvertently limited due to our speed control implementation.
Current Speed Control Implementation:
To control the motor speeds, we have hardcoded the speed values in our source code using the analogWrite()
function. Here is the snippet of code responsible for setting the motor speeds:
analogWrite(ena, 255); // LEFT
analogWrite(enb, 180); // RIGHT
Issue Identification:
After investigating the problem further, we have determined that the motor speed imbalance stems from the ramping mechanism we have implemented. The difference in ramping times between the left and right motors is causing the speed limitation on the right motor.
Next Steps:
To resolve the motor speed imbalance and address the ramping issue, we will conduct further testing and experimentation. We will explore the proposed solutions and evaluate their effectiveness in achieving balanced motor speeds. Our goal is to optimize the sumo bot's performance and ensure equal power distribution between the motors.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.