-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Afreez
committed
Mar 23, 2024
1 parent
40242c5
commit 39afa9a
Showing
4 changed files
with
108 additions
and
1 deletion.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
============================== | ||
Software Calibration for Mini Pupper 2 and 2Pro | ||
============================== | ||
|
||
.. contents:: | ||
:depth: 2 | ||
|
||
|
||
1. Calibration Setup | ||
------------- | ||
|
||
Tools | ||
^^^^^^ | ||
In addition to the tools included in the kit, the following items are required. | ||
|
||
* USB keyboard | ||
* HDMI display | ||
* micro HDMI cable for connection between display and Raspberry Pi | ||
|
||
Step 1.1 Startup raspberry pi | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* Connect the carry board to the display with a microHDMI cable. | ||
* Connect a USB keyboard to the carry board. | ||
* Press and hold the battery button of the Mini Pupper for three seconds to boot up. | ||
* If you can see Ubuntu running on your screen, you have succeeded. You should also see the IP address or "IP: no IPv4 address" on Mini Pupper display. | ||
|
||
.. image:: ../_static/101.jpg | ||
:align: center | ||
|
||
|
||
Step 1.2 Log in | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* Press ubuntu button on the screen to log in. | ||
* Default username: ubuntu | ||
* Default password: mangdang | ||
|
||
Step 1.3 Set your own WiFi | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* Set your WiFi following this guide, thanks! | ||
|
||
https://github.com/mangdangroboticsclub/mini_pupper_web_controller | ||
|
||
.. image:: ../_static/102.jpg | ||
:align: center | ||
|
||
|
||
Step 1.4 Open ports for ssh (Optional) | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* Attempt to make an ssh connection from your PC to Ubuntu. | ||
|
||
:: | ||
|
||
ssh ubuntu@192.168.x.x -p 22 | ||
|
||
* If you are unable to make an ssh connection from your PC, you will need to configure the following, maybe. | ||
|
||
:: | ||
|
||
sudo ufw allow 22 | ||
sudo ufw reload | ||
* If firewall is not running, do the following. | ||
|
||
:: | ||
|
||
sudo ufw enable | ||
|
||
2. Calibration | ||
------------- | ||
|
||
Step 2.1 Leg calibration | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
Please refer to the below calibration video clip. | ||
|
||
.. raw:: html | ||
|
||
<div style="position: relative; height: 0; overflow: hidden; max-width: 100%; height: auto;"> | ||
<iframe width="560" height="315" src="https://www.youtube.com/embed/96z3NyjY2t0?mute=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
</div> | ||
|
||
|
||
* Then assemble the 4 legs by hand at the right position as the below picture shows. | ||
|
||
.. image:: ../_static/105.png | ||
:align: center | ||
|
||
* It is a little bit difficult to measure the accurate inclination of the legs, so it is better to place the legs on a grid, like a piece of graph paper, to check that they are in the same position from front to back and from side to side, and to make any final adjustments. | ||
|
||
.. image:: ../_static/107.jpg | ||
:align: center | ||
|
||
* When all legs are at 45° inclination as shown, press "s" to save the settings. Press "q" to quite the calibration application. | ||
|
||
|
||
Step 2.2 Run | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
* Please check the web controller repo: https://github.com/mangdangroboticsclub/mini_pupper_web_controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters