iwant to write a program which robot looks like a circle when touches a wall turn right 120 degree,
and how much are robot sweeps.
also i will change room plan , speed and time
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Karthikeyan AnbarasanRank #71 · 25.5K reputationPosted Apr 19, 2011, 5:36 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 19, 2011, 1:03 PM EDT
ramon korko9 reputationPosted Apr 19, 2011, 4:44 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 19, 2011, 5:26 PM EDT
What part do you need help with? You will need to move the robot at a certain speed, which will require a timer. You will need to draw the robot; what else do you need to draw that you are asking for help with? Do you need help with calculating a 120 degree angle? You need to be specific about things like that.
ramon korko9 reputationPosted Apr 22, 2011, 9:33 AM EDT
i want to add how much area sweep and distance?
Sam HobbsRank #107 · 20.5K reputationPosted Apr 22, 2011, 2:30 PM EDT
You are still being vague so I am still being vague.
ramon korko9 reputationPosted Apr 23, 2011, 7:46 AM EDT
FroglegRank #1,020 · 1.9K reputationPosted Apr 23, 2011, 2:25 PM EDT
ramon korko9 reputationPosted Apr 23, 2011, 11:14 PM EDT
FroglegRank #1,020 · 1.9K reputationPosted Apr 23, 2011, 11:27 PM EDT
When the room is clean, it's done
edit
we know the area of the robot - maybe we can multiply that by distance traveled