Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
irstea-ros
ads1115_driver
Commits
772a1ac4
Commit
772a1ac4
authored
Jun 27, 2018
by
Rousseau Vincent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add docker files
parent
d8d2eac5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
Dockerfile
Dockerfile
+10
-0
docker-compose.yml
docker-compose.yml
+17
-0
No files found.
Dockerfile
0 → 100644
View file @
772a1ac4
FROM
ros:kinetic-ros-core
# install ros tutorials packages
RUN
apt-get update
&&
apt-get
install
-y
\
ros-kinetic-rosbridge-suite
\
wget python-smbus python-pip
\
&&
rm
-rf
/var/lib/apt/lists/
RUN
pip
install
adafruit-ads1x15
COPY
. /app
docker-compose.yml
0 → 100644
View file @
772a1ac4
version
:
'
2'
services
:
ads1115
:
build
:
.
devices
:
-
"
/dev/i2c-1"
depends_on
:
-
web-bridge
command
:
python /app/scripts/ads1115_node.py
network_mode
:
"
host"
restart
:
on-failure
web-bridge
:
build
:
.
command
:
roslaunch rosbridge_server rosbridge_websocket.launch
network_mode
:
"
host"
restart
:
on-failure
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment