mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
docs: make markdownlint happy
This commit is contained in:
@@ -56,4 +56,4 @@ When scripting languages are used, [shebang] should be placed at the beginning o
|
||||
|
||||
```(bash)
|
||||
#!/usr/bin/env python
|
||||
```
|
||||
```
|
||||
|
||||
@@ -13,4 +13,4 @@ The Rate Pitch and Rate Roll parameters should be the same.
|
||||
|
||||
YAW parameters should be changed individually, according to the above instruction (usually the yaw doesn't require serious adjustment, you may leave it default).
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -60,4 +60,4 @@ The first image — how a copter model looks in rviz with these settings, the se
|
||||
```
|
||||
|
||||
<img src="../assets/camera_option_4_rviz.png" width=400>
|
||||
<img src="../assets/camera_option_4_clever.jpg" width=400>
|
||||
<img src="../assets/camera_option_4_clever.jpg" width=400>
|
||||
|
||||
@@ -34,4 +34,4 @@ Winning teams:
|
||||
4. International Post (Novosibirsk) — automatic scattering leaflets from the drone.
|
||||
5. LAMAR (Yekaterinburg) — an automatic quadcopter battery replacement station.
|
||||
|
||||
<img src="../assets/alcopter.jpg" title="Alcopter Team" height=300px>
|
||||
<img src="../assets/alcopter.jpg" title="Alcopter Team" height=300px>
|
||||
|
||||
@@ -50,4 +50,4 @@ To upload the `v3` firmware to Pixhawk, you may need the `force_upload` command:
|
||||
|
||||
```
|
||||
make px4fmu-v3_default force-upload
|
||||
```
|
||||
```
|
||||
|
||||
@@ -46,4 +46,4 @@ The following may be used as fastening materials:
|
||||
1. Hot-melt glue;
|
||||
1. electrical tape;
|
||||
1. zip-ties (clamps);
|
||||
1. double-sided adhesive tape.
|
||||
1. double-sided adhesive tape.
|
||||
|
||||
@@ -13,4 +13,4 @@ Main frames in package `clever`:
|
||||
|
||||
> **Hint** In accordance with [the agreement](http://www.ros.org/reps/rep-0103.html), for frames associated with the copter, the X-axis directed forward, Y – to the left, and Z – up.
|
||||
|
||||
More clearly, 3D visualization of the coordinate systems can be viewed using [rviz](rviz.md).
|
||||
More clearly, 3D visualization of the coordinate systems can be viewed using [rviz](rviz.md).
|
||||
|
||||
@@ -52,4 +52,4 @@ Part 6
|
||||
|
||||
Autonomous flights
|
||||
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/WvIlRG7ShWA" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/WvIlRG7ShWA" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||
|
||||
@@ -176,4 +176,4 @@ Usually unused.</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<span style="background: #fffee6">Yellow</span> is used for highlighting the data fields(payload). An individual set of such fields exists for every message type.
|
||||
<span style="background: #fffee6">Yellow</span> is used for highlighting the data fields(payload). An individual set of such fields exists for every message type.
|
||||
|
||||
@@ -52,4 +52,4 @@ Messages published in the topics may be viewed by using the `rostopic` utility,
|
||||
|
||||
`/mavros/setpoint_raw/attitude` — sending packet [SET\_ATTITUDE\_TARGET](https://pixhawk.ethz.ch/mavlink/#SET_ATTITUDE_TARGET). Allows setting the target attitude /angular velocity and throttle level. The values to be set are selected using the `type_mask` field
|
||||
|
||||
`/mavros/setpoint_raw/global` — sending packet [SET\_POSITION\_TARGET\_GLOBAL\_INT](https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT). Allows setting the target attitude in global coordinates \(latitude, longitude, altitude\) and flight speed. **Not supported in PX4** \([issue](https://github.com/PX4/Firmware/issues/7552)\).
|
||||
`/mavros/setpoint_raw/global` — sending packet [SET\_POSITION\_TARGET\_GLOBAL\_INT](https://pixhawk.ethz.ch/mavlink/#SET_POSITION_TARGET_GLOBAL_INT). Allows setting the target attitude in global coordinates \(latitude, longitude, altitude\) and flight speed. **Not supported in PX4** \([issue](https://github.com/PX4/Firmware/issues/7552)\).
|
||||
|
||||
@@ -24,4 +24,4 @@ The version of the installed image may be found in file `/etc/clever_version`:
|
||||
|
||||
```bash
|
||||
cat /etc/clever_version
|
||||
```
|
||||
```
|
||||
|
||||
@@ -69,4 +69,4 @@ Prearm checks, switching the modes and states of the copter.
|
||||
|
||||
Enabling, disabling and configuring various sensors.
|
||||
|
||||
TODO
|
||||
TODO
|
||||
|
||||
@@ -43,4 +43,4 @@ If there is no communication with the flight controller, the screen of the compu
|
||||
1. Go to MENU (by holding down the “OK” button)
|
||||
2. Select menu “System setup” (Up/Down Button to navigate, OK button - to confirms the choice).
|
||||
3. Select “RX setup” > “PPM OUTPUT” > “On”
|
||||
4. Save changes (hold pressed the “CANCEL” button).
|
||||
4. Save changes (hold pressed the “CANCEL” button).
|
||||
|
||||
@@ -27,4 +27,4 @@ See more:
|
||||
|
||||
* [RPi image](microsd_images.md)
|
||||
* [SSH access](ssh.md)
|
||||
* [Network setup](network.md)
|
||||
* [Network setup](network.md)
|
||||
|
||||
@@ -72,4 +72,4 @@ Brief description of useful rqt plugins:
|
||||
|
||||
* `rqt_image_view` – viewing images from topics like `sensor_msgs/Image`;
|
||||
* `rqt_multiplot` – Building charts from the data from of arbitrary topics (installation: `sudo apt-get install ros-kinetic-rqt-multiplot`);
|
||||
* Bag – working with [Bag-files](http://wiki.ros.org/rosbag).
|
||||
* Bag – working with [Bag-files](http://wiki.ros.org/rosbag).
|
||||
|
||||
@@ -29,4 +29,4 @@ To check the main sub systems of PX4 and the possibility of arming at the moment
|
||||
|
||||
<img src="../assets/commander-check.png">
|
||||
|
||||
When using SITL instead of the MAVLink console, use a terminal with SITL running.
|
||||
When using SITL instead of the MAVLink console, use a terminal with SITL running.
|
||||
|
||||
@@ -264,4 +264,4 @@ After a scheduled landing, do the following:
|
||||
2. Disconnect the Li-ion battery on the copter.
|
||||
3. Turn off the remote.
|
||||
|
||||
Next: [Connecting Raspberry Pi to Pihxawk](connection.md).
|
||||
Next: [Connecting Raspberry Pi to Pihxawk](connection.md).
|
||||
|
||||
@@ -130,4 +130,4 @@ while True:
|
||||
# if the obstacle is closer than 1 m, hanging on the spot
|
||||
set_position(x=0, y=0, z=0, frame_id='body')
|
||||
rospy.sleep(0.1)
|
||||
```
|
||||
```
|
||||
|
||||
@@ -25,4 +25,4 @@ When soldering:
|
||||
|
||||
5. Carry the soldering iron by the handle, rather than the cable or the working part. During breaks, the soldering iron is to be disconnected from the mains.
|
||||
|
||||
> **Caution** In case of the soldering iron malfunction or fire, disconnect it from the mains.
|
||||
> **Caution** In case of the soldering iron malfunction or fire, disconnect it from the mains.
|
||||
|
||||
@@ -38,4 +38,4 @@ Using a multimeter, you need to make sure that the voltage converters located on
|
||||
After measurement:
|
||||
|
||||
* disconnect the battery
|
||||
* turn off the multimeter
|
||||
* turn off the multimeter
|
||||
|
||||
@@ -7,4 +7,4 @@ Password: `cleverwifi`.
|
||||
|
||||
<img src="../assets/ssid.png" width="300px" alt="Wi-Fi SSID">
|
||||
|
||||
To edit the Wi-Fi settings, or to obtain more detailed information about the network device on Raspberry Pi, read this [article](network.md).
|
||||
To edit the Wi-Fi settings, or to obtain more detailed information about the network device on Raspberry Pi, read this [article](network.md).
|
||||
|
||||
@@ -87,10 +87,11 @@ Saving mode (YES - on): # Режим сохранения
|
||||
|
||||
Скрипт начнет свою работу:
|
||||
|
||||
...
|
||||
Calibration started!
|
||||
Commands:
|
||||
help, catch (key: Enter), delete, restart, stop, finish
|
||||
```
|
||||
Calibration started!
|
||||
Commands:
|
||||
help, catch (key: Enter), delete, restart, stop, finish
|
||||
```
|
||||
|
||||
Чтобы откалибровать камеру, вам требуется сделать как минимум 25 фото шахматной доски с различных ракурсов.
|
||||
|
||||
|
||||
@@ -40,4 +40,4 @@ sudo systemctl start clever-blocks.service
|
||||
python main.py
|
||||
```
|
||||
|
||||
После запуска Вы можете открыть веб-интерфейс для блочного программирования по адресу [192.168.11.1:5000](192.168.11.1:5000).
|
||||
После запуска Вы можете открыть веб-интерфейс для блочного программирования по адресу [192.168.11.1:5000](192.168.11.1:5000).
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
---
|
||||
description: Режимы полетного контроллера PX4
|
||||
meta:
|
||||
author: Oleg Kalachev
|
||||
---
|
||||
|
||||
Полетные режимы
|
||||
===
|
||||
|
||||
|
||||
@@ -274,6 +274,23 @@ set_mode(custom_mode='STABILIZED')
|
||||
|
||||
### # {#flip}
|
||||
|
||||
Флип:
|
||||
Флип по крену:
|
||||
|
||||
TODO
|
||||
```python
|
||||
def flip():
|
||||
start = get_telemetry() # memorize starting position
|
||||
|
||||
set_rates(roll_rate=5, thrust=0.2) # maximum roll rate
|
||||
while True:
|
||||
telem = get_telemetry()
|
||||
if abs(telem.roll) > math.pi / 2:
|
||||
break
|
||||
|
||||
set_position(x=start.x, y=start.y, z=start.z, yaw=start.yaw) # finish flip
|
||||
|
||||
print navigate(z=4, speed=1, auto_arm=True) # take off
|
||||
rospy.sleep(10)
|
||||
|
||||
rospy.loginfo('flip')
|
||||
flip()
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user