forked from ethz-asl/kalibr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changes for python 2.x to compile, and 16.04 kinetic and 18.04 melodi…
…c dockers
- Loading branch information
1 parent
8761165
commit bb638ff
Showing
17 changed files
with
216 additions
and
58 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
FROM osrf/ros:kinetic-desktop-full | ||
|
||
|
||
# Dependencies we use, catkin tools is very good build system | ||
# https://github.com/ethz-asl/kalibr/wiki/installation | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
git wget autoconf automake \ | ||
python2.7-dev python-pip python-scipy python-matplotlib \ | ||
ipython python-wxgtk3.0 python-tk python-igraph \ | ||
libeigen3-dev libboost-all-dev libsuitesparse-dev \ | ||
doxygen \ | ||
libopencv-dev \ | ||
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \ | ||
python-catkin-tools | ||
|
||
|
||
# Create the workspace and build kalibr in it | ||
ENV WORKSPACE /catkin_ws | ||
|
||
RUN mkdir -p $WORKSPACE/src && \ | ||
cd $WORKSPACE && \ | ||
catkin init && \ | ||
catkin config --extend /opt/ros/kinetic && \ | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
||
ADD . $WORKSPACE/src/kalibr | ||
# RUN cd $WORKSPACE/src &&\ | ||
# git clone https://github.com/ori-drs/kalibr.git | ||
|
||
RUN cd $WORKSPACE &&\ | ||
catkin build -j$(nproc) | ||
|
||
|
||
# When a user runs a command we will run this code before theirs | ||
# This will allow for using the manual focal length if it fails to init | ||
# https://github.com/ethz-asl/kalibr/pull/346 | ||
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \ | ||
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \ | ||
cd $WORKSPACE && \ | ||
/bin/bash | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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,50 @@ | ||
FROM osrf/ros:melodic-desktop-full | ||
|
||
|
||
# Dependencies we use, catkin tools is very good build system | ||
# https://github.com/ethz-asl/kalibr/wiki/installation | ||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \ | ||
apt-get install -y \ | ||
git wget autoconf automake nano \ | ||
python3-dev python-pip python-scipy python-matplotlib \ | ||
ipython python-wxgtk4.0 python-tk python-igraph \ | ||
libeigen3-dev libboost-all-dev libsuitesparse-dev \ | ||
doxygen \ | ||
libopencv-dev \ | ||
libpoco-dev libtbb-dev libblas-dev liblapack-dev libv4l-dev \ | ||
python-catkin-tools | ||
|
||
|
||
# Create the workspace and build kalibr in it | ||
ENV WORKSPACE /catkin_ws | ||
|
||
RUN mkdir -p $WORKSPACE/src && \ | ||
cd $WORKSPACE && \ | ||
catkin init && \ | ||
catkin config --extend /opt/ros/melodic && \ | ||
catkin config --cmake-args -DCMAKE_BUILD_TYPE=Release | ||
|
||
ADD . $WORKSPACE/src/kalibr | ||
# RUN cd $WORKSPACE/src &&\ | ||
# git clone https://github.com/ori-drs/kalibr.git | ||
|
||
RUN cd $WORKSPACE &&\ | ||
catkin build -j$(nproc) | ||
|
||
|
||
# When a user runs a command we will run this code before theirs | ||
# This will allow for using the manual focal length if it fails to init | ||
# https://github.com/ethz-asl/kalibr/pull/346 | ||
ENTRYPOINT export KALIBR_MANUAL_FOCAL_LENGTH_INIT=1 && \ | ||
# /bin/bash -c "source \"$WORKSPACE/devel/setup.bash\"" && \ | ||
cd $WORKSPACE && \ | ||
/bin/bash | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import print_function #handle print in 2.x python | ||
import time | ||
import datetime | ||
import sys | ||
|
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
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
1 change: 1 addition & 0 deletions
1
aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import print_function #handle print in 2.x python | ||
import yaml | ||
import sys | ||
import numpy as np | ||
|
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
Oops, something went wrong.