From 387d2c23419acbf8b451ac094cd45ab5983159b7 Mon Sep 17 00:00:00 2001 From: Oleg Kalachev Date: Fri, 1 May 2020 00:39:38 +0300 Subject: [PATCH] Update documentation links --- README.md | 6 +++--- builder/assets/examples/flight.py | 2 +- builder/assets/examples/flight_marker.py | 2 +- builder/assets/examples/leds.py | 2 +- builder/assets/examples/navigate_wait.py | 2 +- clover/launch/aruco.launch | 2 +- clover/launch/main_camera.launch | 2 +- clover/package.xml | 2 +- clover/src/selfcheck.py | 8 ++++---- clover/src/simple_offboard.cpp | 2 +- clover/www/index.html | 2 +- docs/en/contributing.md | 2 +- docs/en/human_pose_estimation_drone_control.md | 4 ++-- docs/ru/contributing.md | 2 +- docs/ru/human_pose_estimation_drone_control.md | 2 +- docs/ru/metodmaterials.md | 2 +- redirects.json | 12 ++++++++---- 17 files changed, 30 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index 436192d9..d068da7a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Clover is an educational programmable drone kit consisting of an unassembled quadcopter, open source software and documentation. The kit includes Pixracer-compatible autopilot running PX4 firmware, Raspberry Pi 4 as companion computer, a camera for computer vision navigation as well as additional sensors and peripheral devices. -The main documentation is available [on Gitbook](https://clever.coex.tech/). +The main documentation is available [on Gitbook](https://clover.coex.tech/). Official website: coex.tech/clover. @@ -27,11 +27,11 @@ Image features: * Configured networking * OpenCV * [`mavros`](http://wiki.ros.org/mavros) -* Periphery drivers for ROS ([GPIO](https://clever.coex.tech/en/gpio.html), [LED strip](https://clever.coex.tech/en/leds.html), etc) +* Periphery drivers for ROS ([GPIO](https://clover.coex.tech/en/gpio.html), [LED strip](https://clover.coex.tech/en/leds.html), etc) * `aruco_pose` package for marker-assisted navigation * `clover` package for autonomous drone control -API description for autonomous flights is available [on GitBook](https://clever.coex.tech/en/simple_offboard.html). +API description for autonomous flights is available [on GitBook](https://clover.coex.tech/en/simple_offboard.html). For manual package installation and running see [`clover` package documentation](clover/README.md). diff --git a/builder/assets/examples/flight.py b/builder/assets/examples/flight.py index 3198d9f1..0f0d0510 100644 --- a/builder/assets/examples/flight.py +++ b/builder/assets/examples/flight.py @@ -1,4 +1,4 @@ -# Information: https://clever.coex.tech/en/programming.html +# Information: https://clover.coex.tech/programming import rospy from clover import srv diff --git a/builder/assets/examples/flight_marker.py b/builder/assets/examples/flight_marker.py index 62539b06..5102e4b5 100644 --- a/builder/assets/examples/flight_marker.py +++ b/builder/assets/examples/flight_marker.py @@ -1,4 +1,4 @@ -# Information: https://clever.coex.tech/en/aruco.html +# Information: https://clover.coex.tech/en/aruco.html import rospy from clover import srv diff --git a/builder/assets/examples/leds.py b/builder/assets/examples/leds.py index 9a015482..ee78fc2c 100644 --- a/builder/assets/examples/leds.py +++ b/builder/assets/examples/leds.py @@ -1,4 +1,4 @@ -# Information: https://clever.coex.tech/en/leds.html +# Information: https://clover.coex.tech/en/leds.html import rospy from clover.srv import SetLEDEffect diff --git a/builder/assets/examples/navigate_wait.py b/builder/assets/examples/navigate_wait.py index 625c1535..7ead3be8 100644 --- a/builder/assets/examples/navigate_wait.py +++ b/builder/assets/examples/navigate_wait.py @@ -1,4 +1,4 @@ -# Information: https://clever.coex.tech/en/snippets.html#block-nav +# Information: https://clover.coex.tech/en/snippets.html#block-nav import math import rospy diff --git a/clover/launch/aruco.launch b/clover/launch/aruco.launch index 164ae2d1..ebeeda5f 100644 --- a/clover/launch/aruco.launch +++ b/clover/launch/aruco.launch @@ -3,7 +3,7 @@ - + diff --git a/clover/launch/main_camera.launch b/clover/launch/main_camera.launch index ad17b443..e9d72297 100644 --- a/clover/launch/main_camera.launch +++ b/clover/launch/main_camera.launch @@ -1,5 +1,5 @@ - + diff --git a/clover/package.xml b/clover/package.xml index 8a9a0c7e..f3cd3450 100644 --- a/clover/package.xml +++ b/clover/package.xml @@ -7,7 +7,7 @@ Oleg Kalachev MIT - https://clever.coex.tech/ + https://clover.coex.tech/ Oleg Kalachev Artem Smirnov diff --git a/clover/src/selfcheck.py b/clover/src/selfcheck.py index bdf7cb8e..59defb5d 100755 --- a/clover/src/selfcheck.py +++ b/clover/src/selfcheck.py @@ -210,7 +210,7 @@ def check_fcu(): is_clover_firmware = True if not is_clover_firmware: - failure('not running Clover PX4 firmware, https://clever.coex.tech/firmware') + failure('not running Clover PX4 firmware, https://clover.coex.tech/firmware') est = get_param('SYS_MC_EST_GROUP') if est == 1: @@ -250,11 +250,11 @@ def check_fcu(): try: battery = rospy.wait_for_message('mavros/battery', BatteryState, timeout=3) if not battery.cell_voltage: - failure('cell voltage is not available, https://clever.coex.tech/power') + failure('cell voltage is not available, https://clover.coex.tech/power') else: cell = battery.cell_voltage[0] if cell > 4.3 or cell < 3.0: - failure('incorrect cell voltage: %.2f V, https://clever.coex.tech/power', cell) + failure('incorrect cell voltage: %.2f V, https://clover.coex.tech/power', cell) elif cell < 3.7: failure('critically low cell voltage: %.2f V, recharge battery', cell) except rospy.ROSException: @@ -718,7 +718,7 @@ def check_network(): if ros_hostname in parts: break else: - failure('not found %s in /etc/hosts, ROS will malfunction if network interfaces are down, https://clever.coex.tech/hostname', ros_hostname) + failure('not found %s in /etc/hosts, ROS will malfunction if network interfaces are down, https://clover.coex.tech/hostname', ros_hostname) @check('RPi health') diff --git a/clover/src/simple_offboard.cpp b/clover/src/simple_offboard.cpp index af79a1df..fd419ad7 100644 --- a/clover/src/simple_offboard.cpp +++ b/clover/src/simple_offboard.cpp @@ -490,7 +490,7 @@ inline void checkState() throw std::runtime_error("State timeout, check mavros settings"); if (!state.connected) - throw std::runtime_error("No connection to FCU, https://clever.coex.tech/connection"); + throw std::runtime_error("No connection to FCU, https://clover.coex.tech/connection"); } #define ENSURE_FINITE(var) { if (!std::isfinite(var)) throw std::runtime_error(#var " argument cannot be NaN or Inf"); } diff --git a/clover/www/index.html b/clover/www/index.html index 3da27946..fe3f0def 100644 --- a/clover/www/index.html +++ b/clover/www/index.html @@ -1,7 +1,7 @@

Clover Drone Kit Tools

    -
  • View documentation (snapshot of clever.coex.tech)
  • +
  • View documentation (snapshot of clover.coex.tech)
  • View image topics (web_video_server)
  • Open web terminal (Butterfly)
  • View 3D visualization (ros3djs)
  • diff --git a/docs/en/contributing.md b/docs/en/contributing.md index 3f527fbc..e51442d7 100644 --- a/docs/en/contributing.md +++ b/docs/en/contributing.md @@ -91,7 +91,7 @@ Prepare your article and send it as a pull request to the [Clover repository](ht GitHub Create Pull 10. Wait for the review, be ready to make changes if needed. -11. Look at your new and useful article at https://clever.coex.tech ! +11. Look at your new and useful article at https://clover.coex.tech ! ## Easy way diff --git a/docs/en/human_pose_estimation_drone_control.md b/docs/en/human_pose_estimation_drone_control.md index 2820c222..2434a17d 100644 --- a/docs/en/human_pose_estimation_drone_control.md +++ b/docs/en/human_pose_estimation_drone_control.md @@ -31,7 +31,7 @@ Before you test it you need to install on your laptop: - Install Nodejs from [here](https://nodejs.org/en/download/). For [Ubuntu installation](https://tecadmin.net/install-latest-nodejs-npm-on-ubuntu/) - Install Yarn package manager from [here](https://yarnpkg.com/lang/en/docs/install/). [Usual problem](https://github.com/yarnpkg/yarn/issues/3189) while installing and using yarn with Ubuntu. - Have an experience in manual control on the drone in case of any weird behavior happen. -- Worked before with COEX drones, if this is your first time to work with COEX drones check [this](https://clever.coex.tech/en/). +- Worked before with COEX drones, if this is your first time to work with COEX drones check [this](https://clover.coex.tech/en/). and you are ready to build and use the required codes. @@ -145,7 +145,7 @@ Animation is created by [this](https://justsketchme.web.app/) ## References - [Human pose estimation guide](https://blog.nanonets.com/human-pose-estimation-2d-guide/) -- [Clover drones tutorials](https://clever.coex.tech/en/) +- [Clover drones tutorials](https://clover.coex.tech/en/) - [Posenet GitHub repo](https://github.com/tensorflow/tfjs-models/tree/master/posenet) - [Posenet meduim article](https://medium.com/tensorflow/real-time-human-pose-estimation-in-the-browser-with-tensorflow-js-7dd0bc881cd5) - [Tensorflow.js demos](https://www.tensorflow.org/js/demos) diff --git a/docs/ru/contributing.md b/docs/ru/contributing.md index dfd3d998..df718b18 100644 --- a/docs/ru/contributing.md +++ b/docs/ru/contributing.md @@ -91,7 +91,7 @@ GitHub Create Pull 10. Дождитесь комментариев на свою статью, сделайте правки, если потребуется. -11. Порадуйтесь своей новой полезной статье, опубликованной на https://clever.coex.tech ! +11. Порадуйтесь своей новой полезной статье, опубликованной на https://clover.coex.tech ! ## Простой способ diff --git a/docs/ru/human_pose_estimation_drone_control.md b/docs/ru/human_pose_estimation_drone_control.md index 20298f03..82e48d25 100644 --- a/docs/ru/human_pose_estimation_drone_control.md +++ b/docs/ru/human_pose_estimation_drone_control.md @@ -9,7 +9,7 @@ ## Ссылки на литературу - [Руководство по оценке позы человека](https://blog.nanonets.com/human-pose-estimation-2d-guide/) -- [Умные беспилотники учебники](https://clever.coex.tech/en/) +- [Умные беспилотники учебники](https://clover.coex.tech/en/) - [Posnet GitHub РЕПО](https://github.com/tensorflow/tfjs-models/tree/master/posenet) - [Posnet Medium артикул](https://medium.com/tensorflow/real-time-human-pose-estimation-in-the-browser-with-tensorflow-js-7dd0bc881cd5) - [Tensorflow.js Демонстрация](https://www.tensorflow.org/js/demos) diff --git a/docs/ru/metodmaterials.md b/docs/ru/metodmaterials.md index cd6c0d1f..57e6529e 100644 --- a/docs/ru/metodmaterials.md +++ b/docs/ru/metodmaterials.md @@ -46,7 +46,7 @@ * [Инструкция по сборке.](assemble_3.md) * [Инструкция по настройке.](setup.md) * [Проверочные задания.](tests.md) -* Информационные материалы на сайте https://clever.coex.tech. +* Информационные материалы на сайте https://clover.coex.tech. ## Промежуточный контроль diff --git a/redirects.json b/redirects.json index f999aa13..8ed31b27 100644 --- a/redirects.json +++ b/redirects.json @@ -27,8 +27,8 @@ { "from": "ros.html", "to": "ru/ros.html" }, { "from": "mavros.html", "to": "ru/mavros.html" }, { "from": "simple_offboard.html", "to": "ru/simple_offboard.html" }, - { "from": "aruco/", "to": "ru/aruco.html" }, - { "from": "aruco.html", "to": "ru/aruco.html" }, + { "from": "aruco/", "to": "en/aruco.html" }, + { "from": "aruco.html", "to": "en/aruco.html" }, { "from": "selfcheck.html", "to": "ru/selfcheck.html" }, { "from": "snippets.html", "to": "ru/snippets.html" }, { "from": "camera_frame.html", "to": "ru/camera_setup.html" }, @@ -46,7 +46,7 @@ { "from": "flight_logs.html", "to": "ru/flight_logs.html" }, { "from": "modes/", "to": "ru/modes.html" }, - { "from": "firmware/", "to": "ru/firmware.html" }, + { "from": "firmware/", "to": "en/firmware.html" }, { "from": "simple_offboard/", "to": "ru/simple_offboard.html" }, { "from": "camera/", "to": "ru/camera.html" }, { "from": "snippets/", "to": "ru/snippets.html" }, @@ -54,7 +54,11 @@ { "from": "laser/", "to": "ru/laser.html" }, { "from": "led/", "to": "ru/leds.html" }, { "from": "leds/", "to": "ru/leds.html" }, - { "from": "hostname/", "to": "ru/hostname.html" }, + { "from": "hostname/", "to": "en/hostname.html" }, + { "from": "programming/", "to": "en/programming.html" }, + { "from": "camera_setup/", "to": "en/camera_setup.html" }, + { "from": "power/", "to": "en/power.html" }, + { "from": "connection/", "to": "en/connection.html" }, { "from": "ru/microsd_images.html", "to": "image.html" }, { "from": "en/microsd_images.html", "to": "image.html" }