Join us in Chat. Click link in menu bar to join. Unofficial chat day is every Friday night (US time).
0 Members and 1 Guest are viewing this topic.
Start:Give Servo a pulse of xAdd values to x to make it scan back and forth Check Value of SensorIf Flame is detected Then Servo tracks flame by finding the limits of the flame [ see at what two servo positions ( on opposite sides) there no longer is a flame] If the general position of the flame is on the right side, then turn right and with every cycle for turning right the servo for the sensor moves left until the sensor servo is at center , then the robot is aligned If the general position of the flame is on the left side, then turn left and with every cycle for turning left the servo for the sensor moves right until the sensor servo is at center , then the robot is aligned
can encoders be used to tell the angle the wheel has turned ,.. i thought it was only for speed and displacement
hey thats the wheel turn angle i was meaning the whole bot turning angle or u meant to say indirectly we are measuring the servo's turning angle... now i get it
aligned for both the sensor and the body when u turn the body to the sensor's position try moving the sensor back to the position of the mid value