Skip to content

Commit bb9d8ed

Browse files
committed
Merge branch 'master' into ros-book
2 parents 852b854 + 4a2fbf3 commit bb9d8ed

39 files changed

Lines changed: 5165 additions & 337 deletions

.travis.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77
global:
88
- DOCKER="sfalexrog/img-tool:qemu-update"
99
- TARGET_REPO="https://github.com/${TRAVIS_REPO_SLUG}.git"
10-
- if [[ -z ${TRAVIS_TAG} ]]; then IMAGE_VERSION="${TRAVIS_COMMIT}}"; else IMAGE_VERSION="${TRAVIS_TAG}"; fi
10+
- IMAGE_VERSION=${TRAVIS_TAG:-${TRAVIS_COMMIT:0:7}}
1111
- IMAGE_NAME="$(basename -s '.git' ${TARGET_REPO})_${IMAGE_VERSION}.img"
1212
git:
1313
depth: 50
@@ -36,12 +36,13 @@ jobs:
3636
fi
3737
before_cache:
3838
- cp images/*.zip imgcache
39+
after_success:
40+
- sudo chmod -R 777 *
41+
- cd images && zip ${IMAGE_NAME}.zip ${IMAGE_NAME} && stat --printf="Compressed image size:%s\n" ${IMAGE_NAME}.zip
3942
before_deploy:
4043
# Set up git user name and tag this commit
4144
- git config --local user.name "goldarte"
4245
- git config --local user.email "goldartt@gmail.com"
43-
- sudo chmod -R 777 *
44-
- cd images && zip ${IMAGE_NAME}.zip ${IMAGE_NAME}
4546
deploy:
4647
provider: releases
4748
token: ${GITHUB_OAUTH_TOKEN}
@@ -99,14 +100,6 @@ jobs:
99100
verbose: true
100101
on:
101102
branch: master
102-
- stage: Annotate
103-
name: Auto-generate changelog
104-
language: python
105-
python: 3.6
106-
install:
107-
- pip install GitPython PyGithub
108-
script:
109-
- PYTHONUNBUFFERED=1 python ./gen_changelog.py
110103
- stage: Build
111104
name: Editorconfig-lint
112105
language: generic
@@ -117,7 +110,6 @@ jobs:
117110
- ./ec-linux-amd64 -spaces-after-tabs -e "roslib.js|ros3d.js|eventemitter2.js|draw.cpp|BinUtils.swift|\.idea|apps/android/app|Assets.xcassets|test_parser_pass.txt|test_node_failure.txt|aruco_pose/vendor|\.stl|\.dxf|\.dae"
118111
stages:
119112
- Build
120-
- Annotate
121113
# More info there
122114
# https://github.com/travis-ci/travis-ci/issues/6893
123115
# https://docs.travis-ci.com/user/customizing-the-build/

builder/assets/examples/navigate_wait.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Information: https://clover.coex.tech/en/snippets.html#block-nav
1+
# Information: https://clover.coex.tech/en/snippets.html#navigate_wait
22

33
import math
44
import rospy

clover/README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,6 @@ Alternatively you may change the `fcu_url` property in `mavros.launch` file to p
4444

4545
## Running
4646

47-
Enable systemd service `roscore` (if not running):
48-
49-
```bash
50-
sudo systemctl enable /home/<username>/catkin_ws/src/clover/builder/assets/roscore.service
51-
sudo systemctl start roscore
52-
```
53-
5447
To start connection to SITL, use:
5548

5649
```bash
@@ -64,10 +57,3 @@ roslaunch clover clover.launch
6457
```
6558

6659
> Note that the package is configured to connect to `/dev/px4fmu` by default (see [previous section](#manual-installation)). Install udev rules or specify path to your FCU device in `mavros.launch`.
67-
68-
Also, you can enable and start the systemd service:
69-
70-
```bash
71-
sudo systemctl enable /home/<username>/catkin_ws/src/clover/deploy/clover.service
72-
sudo systemctl start clover
73-
```

clover/launch/clover.launch

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
<param name="reference_frames/body" value="map"/>
5656
<param name="reference_frames/base_link" value="map"/>
5757
<param name="reference_frames/navigate_target" value="map"/>
58+
<param name="reference_frames/main_camera_optical" value="map"/>
5859
</node>
5960

6061
<!-- main camera -->

clover_simulation/resources/worlds/clover.world

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
</include>
88
<include>
99
<uri>model://parquet_plane</uri>
10+
<pose>0 0 -0.01 0 0 0</pose>
1011
</include>
1112

1213
<scene>

docs/assets/flight/basic_movements_multicopter.svg

Lines changed: 3865 additions & 0 deletions
Loading

docs/assets/flight/buzzer.jpg

23.2 KB
Loading

docs/assets/flight/buzzer_acb.jpg

67.2 KB
Loading
33.1 KB
Loading
82.2 KB
Loading

0 commit comments

Comments
 (0)