Go Down

Topic: HELP! SUMOBOT (Read 277 times) previous topic - next topic


Mar 13, 2019, 06:43 am Last Edit: Mar 13, 2019, 11:00 am by Dreyord12
Can Someone help me in my project im using
arduino uno
motor driver shield v1.1
ultrasonic hc-sr04
3 channel line sensor

please help me to code my robotics thank you

sumobot that follow line and push opponent


You haven't said what you want help with. What does your code do? What do you want it to do that's different? Why do you have a function Turn() that is never called?



I want to have new code that can follow line and detect opponent and push the opponent using
3 channel line sensor
Motor driver shield v1.1
Arduino uno


So post the code you already have.


You have two inputs - the relative position of the line and the distance to an opponent. You must consider BOTH of them when deciding what to do, not consider them independently.
The art of getting good answers lies in asking good questions.


How what will i do? Please help me to modify my code. My mind is so overload. Because all my subjects have a projects so many things to do. That's why i can think clearly.


You are the ONLY one that can decide whether following the line is more, or less, important that pushing your opponent around, and for how long.
The art of getting good answers lies in asking good questions.

Go Up