I have this object avoidance robot, who is supposed to detect cans and

  • Thread starter Thread starter qablos
  • Start date Start date
  • Tags Tags
    Robot
Click For Summary
SUMMARY

The discussion centers on programming an object avoidance robot designed to detect and push cans out of a designated ring. The robot utilizes two optical sensors (C1 and C2) and two timers (T1 and T2) to control its movements via left (LM) and right motors (RM). The user seeks assistance in developing the logical framework and Boolean expressions necessary for the robot's operation, specifically how to determine motor actions based on sensor inputs and timer states.

PREREQUISITES
  • Understanding of basic robotics concepts, including sensor integration.
  • Familiarity with Boolean logic and expressions.
  • Knowledge of motor control systems in robotics.
  • Experience with programming logic for automated systems.
NEXT STEPS
  • Research how to implement sensor feedback loops in robotic systems.
  • Learn about Boolean algebra applications in robotics for decision-making.
  • Explore motor control algorithms for precise movement in robots.
  • Study examples of object detection and avoidance algorithms in robotics.
USEFUL FOR

Robotics enthusiasts, hobbyists building automated systems, and engineers developing object detection algorithms will benefit from this discussion.

qablos
Messages
13
Reaction score
0

Homework Statement


I have this object avoidance robot, who is supposed to detect cans and push them out of a ring. It has two optical sensors, one looking left (C1) and one looking right (C2). I also have two timers which are triggered simultaneously when the robot goes over the ring line. Time 1 (T1) is the time the robot should turn around for (by turning to the left) and timer 2 (T2) is the time it should go forward for to reach the center of the circle. These are connected to two motors, left motor (LM) and right motor (RM). If a can is not detected the robot must do a search by turning to the left. When it has a can in front of it, it must push it until it is out of the ring, then return to the center.

I need to sort out the logic...I have tried so many times, but it doesn't make sense to me.
If you know the Boolean expression for these, that would be great.

jkmj.jpg


Thanks.
 
Physics news on Phys.org
To fill out the table, you don't need boolean expressions. For each row, determine what the inputs mean, and determine which motors should be powered.
As an example, the first row means no timer is running, and Comp1 and Comp2 (the sensors)? are 0 (does not see anything?). What should the robot do?

After the table is full, you can try to express this with boolean expressions.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
37
Views
7K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 85 ·
3
Replies
85
Views
10K
  • · Replies 13 ·
Replies
13
Views
6K