Commit Graph

395 Commits

Author SHA1 Message Date
Oleg Kalachev
be6e894b80 docs: add led events table 2020-10-01 05:09:00 +03:00
Oleg Kalachev
2f6125ce54 Implement block programming (using Blockly) (#272)
* Clover Blockly: add first blocks set

* Adjust Blockly settings

* Fix get_position output type

* Add screenshot

* Rename readme.md to README.md

* Resize screenshot

* Add package.xml

* Little change

* Fixes

* Add python_compressed to blockly

* Implement some of the Clover blocks in Python

* Make Python indentation 4 spaces

* Fixes to Python blocks implementation

* Implement set_velocity block in Python

* Implement wait_arrival block in Python

* Fix indentation in Python implementation of blocks

* Fix

* Fix land_wait template

* Set reserved words in Python

* Change default frame_id to aruco_map in get_position block

* Fix

* Move blocks definitions to blocks.js

* Get rid of missing favicon error

* Simplify navigate

* Rearrange layout, add tabs

* Generate Python code

* Small style change

* -console.log

* Code style

* Use modules

* Move modules to the header

* Correct order for ROS definitions + generating "backend" code

* Fix rangefinder_distance block

* simple_offboard: commands to change only yaw and yaw rate

* Implement set_yaw block

* Start working on Blockly documentation

* Implement print block with a topic

* Unneeded code

* Little fixes

* Fix indentation

* Fixes

* Fix wait_arival, get_distance

* Implement running Blockly programs, implement prompt block, fixes

* Add land button

* Little change

* Fix reserved words + little fixes

* +x for main.py

* Simplify run button

* Auto-save and load workspace

* Make land button work

* Handle exceptions

* Minor change

* Add help URL for blocks

* Fix

* Implement arrived block

* Mark blockly and highlight.js as linguist-vendored

* Add forgotten CMakeLists.txt

* Add wait checkbox to set_yaw block

* Disable run button when disconnected

* Add message and service files

* Add some comments

* Add tooltip to some blocks

* Implement GPIO blocks

* Don’t latch print message to prevent duplication

* Prevent duplication prompts

* Add ROS init code to backend code anyways

* Make GPIO blocks color a constant

* Minor fix

* More correctly update blocks on input value changes

* Minor fixes

* Remove unneeded readonly attribute

* Add marker ID shadow blocks to toolbox

* Add lacking reserved words

* Fix frame id generation for complex marker id expressions

* Consider frame_id in set_yaw block

* Shorten ros module import

* Implement stop service

* Disable and enable run button correctly

* Don’t print KeyboardInterrupt exceptions

* Put notifications to notifications element

* Add 'running' mark

* Disable signal in backend python code

* Sleep a little bit to let rospy initialize publishers

* Remove accidental code

* Make ROS namespace and private namespace constants

* editorconfig-lint: don’t check Blockly code

* Use private namespace constant in Python generator

* Implement ~running topic to display current program status more robustly

* Make navigate tolerance and sleep time constants

* Make set_leds and and set_effect services proxies persistent

* Replace a number with constant

* Limit ~block topic publishing rate
Otherwise messages get queued making the frontend to freeze

* Improve internal documentation

* Append 'map' to frames list

* Return degrees in get_attitude block

* Move getting yaw in a separate block

* Improve block tooltips

* Add some more files to editorconfig-lint excludes

* Add get_yaw block to toolbox

* Implement get_time block

* Implement ~store and ~load services for storing user programs

* Set auto_arm only in take_off block

* Minor CSS fixes

* Make 'Python' tab textarea-like

* Implement saving and loading programs

* Adjust styles

* Retrieve only .xml files in load service

* Forgotten code

* Documentation on store and load services

* Add some examples

* Add blocks programming arg to launch file

* Update docs

* Add package’s dependencies

* Add dependency

* Add title to select

* Fix syntax

* Minor fix in docs

* Add forgotten roslib.js

* Run user program in the same process

* Use print function for print block in Python 2

* Add variables example

* Fix url

* Add functions example

* Fix set_servo block

* Fix gpio_read block

* Update blocks screenshot

* Update docs

* Update docs

* Fix set_effect block

* Minor fix in example

* Add setpoint block, remove set_velocity from toolbox

* Remove unused modules

* Unused variable

* Add English article skeleton

* Clarify backend node link error

* Remove unused variable

* Update documentation

* Fix link to documentation

* Add Blockly logo

* Update English article

* Add Blocks programming link to the main page

* Minor change

* Add catkin_install_python to CMakeLists.txt

* Make navigate tolerance and sleep time configurable

* Add minor todo

* Add blockly examples directory to editorconfig-lint excludes

* Rename main node to clover_blocks

* Add a warning to the old blocks programming article

* Fix editorconfig-lint exclude
2020-09-30 17:07:03 +03:00
Volga
c6a238c671 docs: fixed gpio port assignment 2020-09-10 14:46:58 +03:00
Volga
28851f39ad docs: add notice 2020-09-10 13:56:57 +03:00
Oleg Kalachev
4a2fbf3e22 docs: minor fixes 2020-09-08 17:01:13 +03:00
Oleg Kalachev
c3b549df0d docs: little titles fix 2020-09-03 01:17:25 +03:00
Alamoris
88ef00e043 docs: translate flight articles (#269)
* docs: Add translation of the article about flight exercises

* docs: Add translation of the article about flight

* docs: Added articles about flying to summary

* docs: fix

* Update docs/en/flight.md

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* docs: fix

* Fix

* Remove unnecessary image borders

* Edit flight article

* Edit flight articles

* Fix

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-08-27 08:41:24 +03:00
Oleg Kalachev
1b85a9cdf2 docs: simplify laser rangefinder code sample 2020-08-26 18:25:58 +03:00
Oleg Kalachev
d5a79babad docs: add links to demo js gcs sources 2020-08-26 18:14:10 +03:00
alamoris
4d80e6f6cf docs: Small fixes 2020-08-25 19:05:44 +03:00
Oleg Kalachev
8ce4de191b docs: little fix 2020-08-25 17:32:13 +03:00
Oleg Kalachev
ecaab1650f docs: edit snippets articles 2020-08-21 22:46:39 +03:00
Oleg Kalachev
a62107132d docs: add wait_arrival snippet 2020-08-21 22:08:07 +03:00
Oleg Kalachev
423490304b docs: add link to Clover blocks development 2020-08-21 19:37:18 +03:00
Oleg Kalachev
ee9c956fc7 docs: add cloud simulator to projects 2020-08-21 19:28:31 +03:00
oponfil
14e49a4f7b docs: update projects article (#268)
* Update projects.md

Скорректировал статус по существующим проектам и добавил новые проекты.

* docs: edit projects article

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-08-21 19:21:29 +03:00
Oleg Kalachev
d4d25c61a2 docs: rework and simplify navigate_wait snippet, move it on top 2020-08-21 18:16:25 +03:00
Oleg Kalachev
106209d79b docs: add links to Python tutorials 2020-08-20 20:28:55 +03:00
Oleg Kalachev
2ddf831842 docs: remove trailing whitespace 2020-08-20 20:07:35 +03:00
Oleg Kalachev
68f23babcc docs: more reasonable title 2020-08-20 20:06:44 +03:00
Alamoris
acfb858598 docs: add section about manual flight (#267)
* docs: Add article about flight

* docs: add flight lessons

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* Update docs/ru/flight.md

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>

* docs: Updates

* Edit flight article

* Move flight exercises to separate article

* sfalexrog edits

* docs: add exercise

* docs: update exercises

* docs: Some fixes

* Edit flight exercises article

* docs: Resize and change images

* Reduce images sizes more

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>
Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-08-12 04:45:45 +03:00
Oleg Kalachev
892c6f853b docs: add note on how to reset Clover package using git (ru, en) 2020-08-05 14:03:08 +03:00
Alexey Rogachevskiy
ebeb3f58d6 docs/simulation_usage: Performance suggestions (#262) 2020-07-31 16:25:44 +03:00
Alexey Rogachevskiy
3b19346a44 docs: Add note about Gazebo in SITL articles (en/ru) 2020-07-30 17:31:56 +03:00
Dmitrii Okoneshnikov
32d27f3f66 Tried translating simulator articles (#259)
* Translation + fix broken links

* Fix broken links

* Changes

* Fixed some typos

* Fixed header

* docs/simulation_native: Stylistic changes, fix typo (ru)

* docs: Add old simulation_vm article (ru)

* docs: Update SUMMARY.md (ru)

* docs/simulation_native: Use main branch for simulation (ru)

* Fixed some stuff

* Update docs/ru/simulation_native.md

Co-authored-by: Ilya Petrov <38784273+copterspace@users.noreply.github.com>

* Fixed some stuff

* Removed extra spaces

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* Fixed typo

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* Fixed typo

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* Update docs/ru/simulation_vm.md

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* Removed extra spaces

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>

* Fixed typo

Co-authored-by: Alexey Rogachevskiy <sfalexrog@gmail.com>
Co-authored-by: Ilya Petrov <38784273+copterspace@users.noreply.github.com>
Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-07-29 13:08:19 +03:00
alamoris
fb17a3f926 docs: fix bolts size 2020-07-22 15:16:15 +03:00
Oleg Kalachev
cb2cf48f39 docs: add possible projects list (ru) 2020-07-21 10:33:41 +03:00
Alexey Rogachevskiy
ebec850010 docs: add contributed models for Jetson Nano (#250)
* docs: Add contributed models for Jetson Nano

* Add Vyacheslav Buzov’s contact link

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-07-18 17:37:02 +03:00
Vasily Yuryev
4376bbb723 docs: add Innopolis Open 2020 L22_AERO team article (#251)
* L22_AERO docs

* remove html code

* docs: edit Innopolis Open 2020 (L22_AERO) article

Co-authored-by: Oleg Kalachev <okalachev@gmail.com>
2020-07-17 19:25:01 +03:00
alamoris
54de7fca3a docs: Fix clover 4.2 equipment list 2020-07-16 16:21:51 +03:00
alamoris
32f5584082 docs: Fix text formatting 2020-07-14 21:57:51 +03:00
alamoris
d7c0fb33ff docs: Add hint about FC rotation 2020-07-14 19:27:38 +03:00
alamoris
26bd1e2d8f docs: Rework type size table 2020-07-13 22:05:31 +03:00
alamoris
12544a69af docs: add notification about ir sensors article 2020-07-10 20:45:16 +03:00
alamoris
f471280bef docs: Hidden articles about working with ir sensors 2020-07-10 17:33:08 +03:00
alamoris
2ff9887ac4 docs: fix broken image link 2020-07-09 22:24:49 +03:00
alamoris
2ecfb28a5d docs: Rename assembly clover 4 article 2020-07-09 20:43:51 +03:00
Alamoris
091483226f Update assembling clover 4 (#243)
* docs: Rewrite article  article about assembling clever 4

* docs: Update

* docs: Update clever 4 assemble

* docs: remove old assembly instructions images

* docs: Renamed and returned  assembly instruction about clover 4.0, some fixes

* docs: Add english version of the article, some fixes

* docs: resize assemble images

* docs: fix assets check errors

* docs: fix image size error
2020-07-09 19:39:45 +03:00
Oleg Kalachev
af16414c77 docs: fix links to PDF 2020-06-30 23:01:20 +03:00
Oleg Kalachev
696214e717 docs: add link to PDF docs 2020-06-30 22:44:55 +03:00
Alexey Rogachevskiy
a26f0f41e7 docs: Fix capitalization 2020-06-30 22:04:59 +03:00
Alexey Rogachevskiy
62a77519e6 docs: Remove notice about compressed topics
Not relevant since web_video_server 0.2.1+.
2020-06-15 18:07:50 +03:00
Arthur Golubtsov
e1bf8aade5 docs: assemble Clover 4.1 version (#232)
* docs: Add russian instruction for building intermediate frame for Clover 4

* Update SUMMARY.md

* docs: Fix typos

* docs: Rename intermediate to 4.1

* Fix links, remove unnecessary asset

* Fix header

* Move article header down

* Small fixes

* Fix link to clover 4.0 frame
2020-06-15 17:00:20 +03:00
Oleg Kalachev
0172d6e892 docs: simplify leds examples 2020-06-13 02:11:45 +03:00
Oleg Kalachev
bcb7351a90 roswww_static: infrastructure for web-based Clover plugins (#230)
* Package for generating static web sites for ROS

* rosstatic: add CMakeLists.txt

* rosstatic: utilize rospkg, store static directory in ROS_HOME

* rosstatic: default_package param

* rosstatic: fix URLs in docs

* clover.launch: make clover the default package for www

* Unused import

* Rename rosstatic to roswww_static

* Fixes
2020-06-13 02:08:00 +03:00
Alexey Rogachevskiy
66ecbb4d09 docs: Update ROS repository keys (en/ru) 2020-06-10 14:51:13 +03:00
Oleg Kalachev
044d6c6d33 docs: switch lpe and ekf2 settings in aruco map navigation articles 2020-05-21 21:01:16 +03:00
Alexey Rogachevskiy
514c0f1b65 Flysky FS-A8S article (#229)
* docs: Add FS-A8S article draft

* docs: Fix image links

* docs/flysky_a8s: Make images appear smaller

* docs: Add animated images

* docs/flysky_a8s: Proofreading

* docs/flysky_a8s: Sync up header to summary entry

* docs/flysky_a8s: Add Flysky FS-A8S article (en)

* docs/flysky_a8s: More proofreading
2020-05-12 12:35:05 +03:00
Oleg Kalachev
6a79b8292a docs: little fix 2020-05-08 17:02:36 +03:00
Oleg Kalachev
7f2cb1c63e docs: add using ROS with javascript article 2020-05-08 16:51:15 +03:00