Git Product home page Git Product logo

hexapod's Introduction

Hexapod

First of all, the program should be done in the SD card, including writing the Raspberry Pi system, downloading and installing the Rasptank program.

Pay attention to the case sensitivity during process of git clone. It will automatically start up at boot after the program is successfully installed.

You need to connect the driver board and the Raspberry Pi, and before turn it on, connect the servo with the driver board. Wait until the servo rotates to specified position to assemble.

The servo is 20 teeth and will have an error of less than 9° during the installation process, which is normal.


The .py program in the folder client is the program required on the PC. The .py program in the folder server is the program required on the robot.

This instruction focuses on the programs in the folder server. When you encounter problems, you can refer to this description to solve the problem.

Try the beta program - a program named serverTest.py in the folder server. If you need the beta program to run automatically every time you boot, execute autorun.py - enter "2" to select the autorun beta - enter. If you need to change to the full version of the autorun program every time you boot, execute autorun.py - enter "1" to select the full version of autorun - enter.

We have reserved an interface for adjusting the direction of the servo in the program, which makes it much more easier to debug. All motion-related code is written in the program server/move.py. Enter the following command to open (note that it is not to execute) move.py and edit: sudo nano (path)/move.py The path of move.py is //home/pi/adeept_raspclaws/server/move.py After opening move.py, change the value of set_direction to 0 (the default is 1), then press ctrl+x to exit, press Y to save change, and press Enter to confirm.

If the reaction is slow, you can increase the P value appropriately (the line75 of move.py). If the reaction is too fast (or swing back and forth), you can reduce the P value appropriately. If the reaction speed is normal but there is overshoot, you need to increase the I value appropriately. The D value is differential and usually does not need to be changed.

hexapod's People

Watchers

Anand Mohan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.