Shop OBEX P1 Docs P2 Docs Learn Events
Sumobot runs off edge — Parallax Forums

Sumobot runs off edge

Michael MihalkaMichael Mihalka Posts: 3
edited 2011-01-11 10:58 in Robotics
Folks,

I built a ring for my sumobots. Unfortunately they now have a tendency to run off the edge (when going forward) while they do just fine flat paper ring. Slowing the robots down helps but not enough.

Ideas?
Mike

Comments

  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-09-20 14:22
    Isn't running off the edge the end of the bout?
    I thought the first one to touch the outer rim is the looser.

    If that is the case, I don't see the need to have the Sumobot shut down immediately. You could put a tilt switch or sensor on it to shut off power when it turns over.

    I suspect slowing down the robot is a real disavantage because the robot with the most momentum [noparse][[/noparse]the combination of speed and mass] will have more ability to overcome the opponent [noparse][[/noparse]given equal traction]. And since the mass of all of them is nearly the same [noparse][[/noparse]at the maximum limit], higher speed is your advantage. Guys even put doughnut shaped sheets of lead on the wheel hubs to bring them up to the absolute maximum in their class.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • Michael MihalkaMichael Mihalka Posts: 3
    edited 2007-09-20 14:27
    Thanks, but it is running off the edge when no other sumobot is near. I would prefer that it reverse.
  • Steph LindsaySteph Lindsay Posts: 767
    edited 2007-09-20 15:34
    Hi Michael,

    It sounds like the QTI sensors are not always detecting the white edge. What material did you use for the dark and light surfaces of your ring? Some are far more reflective than others. Did you repeat Chapter 3, activity 3 from "Applied Robotics with the SumoBot" when you started using your new ring? You may need to adjust your program variables.

    -Stephanie Lindsay
    Editor, Parallax Inc.
  • Michael MihalkaMichael Mihalka Posts: 3
    edited 2007-09-20 20:02
    Hi Stephanie,

    Thanks -- well I did check the sensors on the new ring and the white edge registered under 200. I will check the exercise in Chapter 3 and report back.

    Cheers!
    Michael
  • k4shfk4shf Posts: 21
    edited 2007-09-22 14:17
    Michael,

    Did you find a cause?
  • ruckus49ruckus49 Posts: 1
    edited 2011-01-11 10:58
    Half of my class is struggling with this same issue right now. Adjusting the threshold (the divided by number in the example below) seems to do absolutely nothing and the bot runs off the edge anyway. It also is very erradic and will sometimes detect the edge perfectly and about-face with precise accuracy, other times it will fly right past the entire edge without reacting.

    Set_Threshold:
    GOSUB Read_Line_Sensors
    blackThresh = (lLine /8) + (rLine /8)
Sign In or Register to comment.