EVcrane's Program - Daniyaalbeg/EV-Crane GitHub Wiki

EVcrane and how it works!

The EVcranes has two modes of operation.

Mode #1 Auto Pilot

The first being it can be turned on autonomous mode where it will search for a object and lift it and then place it on the other side of a wall. While doing that the crane will: Detect walls and avoid them. Avoid the edge of the table. Tell the difference between an object and the wall. Check that it has actually lifted the object and not just missed it. Actively search out for the object.

Mode #2 Gyro Control

The EVcrane is also fully controllable via a Gyro. They way it works is you hold the gyro controller and start the program. It will first control the tank treads. Judging by the tilt of the controller it will go forward, back, left, etc. The gyro also allows for tilt speed so the farther you tilt the faster the treads turn, however after a certain tilt they would stop. This is a prevention against just dropping the controller and the treads going on forever. After you have reached the object, with the press of a button the crane switch to control of the arm and the hook cart. This has a fixed speed as these are precision tasks and need to be done carefully. Wouldn't want to get anyone hurt now would you... tilting forward and back moves the cart along the arm while tilting left and right moves rotates the arm.

No image available