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
Showing
5 changed files
with
75 additions
and
10 deletions.
There are no files selected for viewing
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
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,21 @@ | ||
diff --git a/posix-configs/SITL/init/ekf2/iris b/posix-configs/SITL/init/ekf2/iris | ||
index 91ebb0b3b8..d5d7dad3ca 100644 | ||
--- a/posix-configs/SITL/init/ekf2/iris | ||
+++ b/posix-configs/SITL/init/ekf2/iris | ||
@@ -61,8 +61,8 @@ ekf2 start | ||
mc_pos_control start | ||
mc_att_control start | ||
mixer load /dev/pwm_output0 ROMFS/px4fmu_common/mixers/quad_w.main.mix | ||
-mavlink start -x -u 14556 -r 4000000 | ||
-mavlink start -x -u 14557 -r 4000000 -m onboard -o 14540 | ||
+mavlink start -x -u 14556 -r 4000000 -t 172.17.0.1 | ||
+mavlink start -x -u 14557 -r 4000000 -m onboard -o 14540 -t 172.17.0.1 | ||
mavlink stream -r 50 -s POSITION_TARGET_LOCAL_NED -u 14556 | ||
mavlink stream -r 50 -s LOCAL_POSITION_NED -u 14556 | ||
mavlink stream -r 50 -s GLOBAL_POSITION_INT -u 14556 | ||
diff --git a/src/modules/uavcan/libuavcan b/src/modules/uavcan/libuavcan | ||
--- a/src/modules/uavcan/libuavcan | ||
+++ b/src/modules/uavcan/libuavcan | ||
@@ -1 +1 @@ | ||
-Subproject commit 231b221b64265db4e98f86e53721316f9e17e143 | ||
+Subproject commit 231b221b64265db4e98f86e53721316f9e17e143-dirty |
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,37 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ENV WORKSPACE_DIR /root | ||
ENV FIRMWARE_DIR ${WORKSPACE_DIR}/Firmware | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y cmake \ | ||
curl \ | ||
git \ | ||
libeigen3-dev \ | ||
libopencv-dev \ | ||
libroscpp-dev \ | ||
protobuf-compiler \ | ||
python-jinja2 \ | ||
python-empy \ | ||
python-toml \ | ||
python-numpy \ | ||
unzip | ||
|
||
RUN curl -ssL http://get.gazebosim.org | sh | ||
|
||
RUN git clone https://github.com/PX4/Firmware.git ${FIRMWARE_DIR} | ||
RUN git -C ${FIRMWARE_DIR} checkout v1.8.0 | ||
RUN git -C ${FIRMWARE_DIR} submodule update --init --recursive | ||
|
||
COPY 0002-forward-mavlink-in-docker.patch ${FIRMWARE_DIR} | ||
RUN git -C ${FIRMWARE_DIR} apply ${FIRMWARE_DIR}/0002-forward-mavlink-in-docker.patch | ||
|
||
RUN ["/bin/bash", "-c", " \ | ||
cd ${FIRMWARE_DIR} && \ | ||
DONT_RUN=1 make posix gazebo_iris \ | ||
"] | ||
|
||
ENTRYPOINT ["/bin/bash", "-c", " \ | ||
cd ${FIRMWARE_DIR} && \ | ||
HEADLESS=1 make posix gazebo_iris \ | ||
"] |
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