Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/docker cleanup #12

Closed
wants to merge 88 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
835fc65
initial commit gazebo simulator
yukkysaito Jan 21, 2019
187330b
delete old gazebo simulator
yukkysaito Jan 21, 2019
fa95db8
add citysim and car_demo
yukkysaito Jan 21, 2019
67cb8cc
update gazebo launch
yukkysaito Jan 21, 2019
fa48325
update readme
yukkysaito Jan 21, 2019
7d55f96
add gitignore
yukkysaito Jan 21, 2019
577c420
fixed bug gazebo model download script
yukkysaito Jan 21, 2019
a0ae053
launch gazebo from runtimemanager
yukkysaito Jan 21, 2019
11ebc2f
fixed tf frame
yukkysaito Jan 21, 2019
f580c24
update car_demo submodule
yukkysaito Jan 22, 2019
f5d75ee
Merge remote-tracking branch 'origin/develop' into feature/gazebo_sim…
yukkysaito Jan 22, 2019
f44cd65
update mcity world
yukkysaito Jan 23, 2019
4af8736
fixed bug (vehicle_gazebo_input_subscriber)
yukkysaito Jan 28, 2019
443fca2
refactoring gazebo launch
yukkysaito Jan 28, 2019
997ee12
update readme
yukkysaito Jan 28, 2019
5c9c9a5
update gazebo world
yukkysaito Jan 28, 2019
f2944cf
modify initial pose on gazebo world
yukkysaito Jan 29, 2019
dd38dea
Merge branch 'feature/gazebo_simulator' of https://github.com/CPFL/Au…
yukkysaito Jan 29, 2019
43ebad5
update citysim submodule t fix bug
yukkysaito Jan 29, 2019
d82f31a
Merge remote-tracking branch 'origin/feature/gazebo_simulator' into f…
yukkysaito Jan 29, 2019
bb72fa1
Update ros/src/simulation/gazebo_simulator/worlds/gazebo_world_descri…
aohsato Jan 29, 2019
0102194
Update ros/src/simulation/gazebo_simulator/vehicle/vehicle_model/pack…
aohsato Jan 29, 2019
dd7fbb1
Merge remote-tracking branch 'origin/feature/gazebo_simulator' into f…
yukkysaito Jan 29, 2019
ff3b2f8
cosmetic change
yukkysaito Jan 29, 2019
fde128a
apply xml formatter
yukkysaito Jan 29, 2019
eb9cf22
add comment for vehicle_gazebo_input_subscriber
yukkysaito Jan 29, 2019
1d2c0c0
Update ros/src/simulation/gazebo_simulator/launcher/vehicle_gazebo_si…
aohsato Jan 29, 2019
baac12d
Update ros/src/simulation/gazebo_simulator/launcher/vehicle_gazebo_si…
aohsato Jan 29, 2019
578ab7e
Update ros/src/simulation/gazebo_simulator/launcher/vehicle_gazebo_si…
aohsato Jan 29, 2019
c5f8b6d
Update ros/src/simulation/gazebo_simulator/vehicle/vehicle_gazebo_sim…
aohsato Jan 29, 2019
693476f
Update ros/src/simulation/gazebo_simulator/vehicle/sensor_model/imu/i…
aohsato Jan 29, 2019
d77454e
cosmetic change
yukkysaito Jan 29, 2019
072f3ac
Merge remote-tracking branch 'origin/feature/gazebo_simulator' into f…
yukkysaito Jan 29, 2019
0c98318
Update ros/src/simulation/gazebo_simulator/vehicle/sensor_model/camer…
aohsato Jan 29, 2019
8fcb12e
modified maintainer info in package xml
yukkysaito Jan 29, 2019
c82aa1e
Merge remote-tracking branch 'origin/feature/gazebo_simulator' into f…
yukkysaito Jan 29, 2019
2c8f189
cosmetic change
yukkysaito Jan 29, 2019
ce223de
subscribe autoware_msgs::VehicleCmd message
yukkysaito Jan 30, 2019
38204b9
publish tf and twist from gazebo
yukkysaito Jan 30, 2019
41da408
:put_litter_in_its_place:
yukkysaito Feb 1, 2019
5ed70b2
update docker image for gazebo
yukkysaito Feb 1, 2019
c7c88a1
Feature/autoware health checker (#1943)
hakuturu583 Feb 5, 2019
db61b3c
[Feature] waypoint replanner and extractor (#1951)
yn-mrse Feb 5, 2019
28bf8bb
fixed bug and typo
yukkysaito Feb 5, 2019
e6deb8c
update tf frame
yukkysaito Feb 7, 2019
36fd263
update for can odometry
yukkysaito Feb 7, 2019
400b1c8
change gain for gazebo
yukkysaito Feb 8, 2019
8062f8b
Updated cross-build image and removed velodyne submodule
Feb 7, 2019
1b5e2d6
add dependency (velodyne simulator)
yukkysaito Feb 13, 2019
14ab89f
Merge pull request #1976 from sgermanserrano/fix/gazebo_simulator_ci
yukkysaito Feb 13, 2019
724e8b0
[Feature] enable display errors (#1970)
hakuturu583 Feb 14, 2019
3af11e6
Fix/remove velodyne subtree (#1966)
amc-nu Feb 14, 2019
0f1d9a3
delete osrd_citysim submodule
yukkysaito Feb 16, 2019
ac427c6
add osrf_city submodule from CPFL repo
yukkysaito Feb 16, 2019
75a9fd9
add car_demo from CPFL repo
yukkysaito Feb 16, 2019
4c2a09c
modify wrong dependency
yukkysaito Feb 16, 2019
a3e8898
remove dependency velodyne_simulator
yukkysaito Feb 16, 2019
08ad3fe
modify sensor position
yukkysaito Feb 16, 2019
b4cf855
cosmetic change
yukkysaito Feb 16, 2019
17e344d
update readme
yukkysaito Feb 16, 2019
d089386
Update README.md
yukkysaito Feb 16, 2019
c42a900
[fix] Install commands for all the packages (#1861)
amc-nu Feb 18, 2019
a5ca57a
[feature] Baidu's CNN based LiDAR segmentation (#1800)
amc-nu Feb 18, 2019
b3a8654
Feature/spinnaker (#1984)
wep21 Feb 19, 2019
c1166d9
Fix/colcon build (#2000)
sgermanserrano Feb 19, 2019
619cf49
[Feature] Autoware Launcher (#1950)
isamu-takagi Feb 21, 2019
1e30f34
cosmetic change
yukkysaito Feb 22, 2019
38cc7da
Merge remote-tracking branch 'origin/feature/gazebo_simulator' into f…
yukkysaito Feb 22, 2019
4a9dc5a
Feature/autoware health analyzer (#2004)
hakuturu583 Feb 22, 2019
b6ea662
[Feature] Improve AS vehicle interface (#1945)
aohsato Feb 22, 2019
beaee78
fixed bug (wrong package.xml of gazebo simulator)
yukkysaito Feb 22, 2019
cc23c89
Merge pull request #1930 from CPFL/feature/gazebo_simulator
yukkysaito Feb 22, 2019
44ce969
fix framerate check
Feb 25, 2019
216cf5f
fix rosbag_controller license (#1924)
ChenxiTU Feb 25, 2019
ed87dfa
To allow FPS to be set, it requires first to disable FrameRateAuto pr…
amc-nu Feb 25, 2019
9944c67
Include app name in log message
amc-nu Feb 25, 2019
4f837ff
Merge pull request #2020 from CPFL/fix/spinnaker
wep21 Feb 25, 2019
460cfbc
Change LGSVL simulator dir (#2023)
yukkysaito Feb 26, 2019
e4187a7
Fix/health checker (#2012)
hakuturu583 Feb 27, 2019
0bd0145
Revert "Fix/health checker (#2012)" (#2037)
gbiggs Feb 27, 2019
99cde0e
Fix/colcon build (#2000)
sgermanserrano Feb 19, 2019
ad7f9b4
Cherrypicked #1861
amc-nu Feb 18, 2019
67b50e0
Cherrypicked #1966
amc-nu Feb 14, 2019
361962d
Removed ld.so.preload
Feb 28, 2019
5c48b10
source from install
Feb 28, 2019
c7cc0ea
Removed un-needed line
Feb 28, 2019
a7d98c1
Added --rm to build
Feb 28, 2019
3835e26
Merge develop
Feb 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ build_cross:
- docker:dind
variables:
ROS_DISTRO: kinetic
AUTOWARE_DOCKER_DATE: 20190102
AUTOWARE_DOCKER_DATE: 20190211
AUTOWARE_HOME: $CI_PROJECT_DIR
AUTOWARE_TARGET_ARCH: aarch64
AUTOWARE_TARGET_PLATFORM: generic-aarch64
Expand Down Expand Up @@ -115,7 +115,7 @@ build_cross:
"
'
retry: 1

pages:
stage: deploy
image: alpine
Expand Down
7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
[submodule "ros/src/sensing/drivers/lidar/packages/robosense"]
path = ros/src/sensing/drivers/lidar/packages/robosense
url = https://github.com/CPFL/robosense
branch = develop-curves-function
[submodule "ros/src/msgs/lgsvl_msgs"]
path = ros/src/msgs/lgsvl_msgs
url = https://github.com/lgsvl/lgsvl_msgs.git
[submodule "ros/src/sensing/drivers/lidar/packages/ouster"]
path = ros/src/sensing/drivers/lidar/packages/ouster
url = https://github.com/CPFL/ouster
branch = autoware_branch
[submodule "ros/src/simulation/gazebo_simulator/worlds/external/osrf_citysim"]
path = ros/src/simulation/gazebo_simulator/worlds/external/osrf_citysim
url = https://github.com/CPFL/osrf_citysim.git
[submodule "ros/src/simulation/gazebo_simulator/worlds/external/car_demo"]
path = ros/src/simulation/gazebo_simulator/worlds/external/car_demo
url = https://github.com/CPFL/car_demo.git
14 changes: 13 additions & 1 deletion docker/crossbuild/Dockerfile.kinetic-crossbuild
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,19 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ros-kinetic-tf2-ros \
ros-kinetic-visualization-msgs \
ros-kinetic-xacro \
ros-kinetic-rosbridge-server
ros-kinetic-rosbridge-server \
ros-kinetic-gazebo-ros \
ros-kinetic-gazebo-msgs \
ros-kinetic-gazebo-ros-control \
ros-kinetic-urdf \
ros-kinetic-xacro \
ros-kinetic-position-controllers \
ros-kinetic-transmission-interface \
ros-kinetic-velocity-controllers \
ros-kinetic-effort-controllers \
ros-kinetic-controller-manager \
ros-kinetic-robot-state-publisher \
ros-kinetic-joint-state-controller

RUN find / -depth -xdev -type l -lname '/*' -exec sh -c 'linkpath="$(readlink {})" && rm -f {} && ln -frsv "$linkpath" "{}"' \;

Expand Down
2 changes: 1 addition & 1 deletion docker/generic/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY --chown=autoware ./ /home/$USERNAME/Autoware
RUN su -c "bash -c 'source /opt/ros/$ROS_DISTRO/setup.bash; \
cd /home/$USERNAME/Autoware/ros; \
./colcon_release'" $USERNAME
RUN echo "source /home/$USERNAME/Autoware/ros/devel/setup.bash" >> \
RUN echo "source /home/$USERNAME/Autoware/ros/install/local_setup.bash" >> \
/home/$USERNAME/.bashrc

COPY ./docker/generic/entrypoint.sh /tmp
Expand Down
6 changes: 2 additions & 4 deletions docker/generic/Dockerfile.cuda
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ COPY --from=nvidia/opengl:1.0-glvnd-runtime-ubuntu16.04 \
/usr/local/share/glvnd/egl_vendor.d/10_nvidia.json \
/usr/local/share/glvnd/egl_vendor.d/10_nvidia.json
RUN echo '/usr/local/lib/x86_64-linux-gnu' >> /etc/ld.so.conf.d/glvnd.conf && \
ldconfig && \
echo '/usr/$LIB/libGL.so.1' >> /etc/ld.so.preload && \
echo '/usr/$LIB/libEGL.so.1' >> /etc/ld.so.preload
RUN apt update
ldconfig
RUN apt-get update
# nvidia-container-runtime
ENV NVIDIA_VISIBLE_DEVICES \
${NVIDIA_VISIBLE_DEVICES:-all}
Expand Down
3 changes: 3 additions & 0 deletions docker/generic/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ echo -e "\tBase only: $BASE_ONLY"
BASE=$IMAGE_NAME:$TAG_PREFIX-$ROS_DISTRO-base

docker build \
--rm \
--tag $BASE \
--build-arg ROS_DISTRO=$ROS_DISTRO \
--file Dockerfile.base ./../..
Expand All @@ -84,6 +85,7 @@ CUDA_SUFFIX=""
if [ $CUDA == "on" ]; then
CUDA_SUFFIX="-cuda"
docker build \
--rm \
--tag $BASE$CUDA_SUFFIX \
--build-arg FROM_ARG=$BASE \
--file Dockerfile.cuda .
Expand All @@ -95,6 +97,7 @@ if [ "$BASE_ONLY" == "true" ]; then
fi

docker build \
--rm \
--tag $IMAGE_NAME:$TAG_PREFIX-$ROS_DISTRO$CUDA_SUFFIX \
--build-arg FROM_ARG=$BASE$CUDA_SUFFIX \
--build-arg ROS_DISTRO=$ROS_DISTRO \
Expand Down
11 changes: 8 additions & 3 deletions ros/catkin_make_release
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,15 @@ if [[ -d devel ]]; then
rm -rf devel
fi

CATKIN_OPTS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs"
if [[ -d install ]]; then
rm -rf install
fi

if [[ -d log ]]; then
rm -rf log
fi

catkin_make clean $CATKIN_OPTS
source devel/setup.bash
CATKIN_OPTS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH=/usr/local/cuda/lib64/stubs install"

export LIBRARY_PATH=/usr/lib/OpenNI2/Drivers:$LIBRARY_PATH
catkin_make $CATKIN_OPTS $@
8 changes: 8 additions & 0 deletions ros/colcon_release
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#!/usr/bin/env bash
set -e

if [[ -d devel ]]; then
rm -rf devel
fi

if [[ -d build ]]; then
rm -rf build
fi
Expand All @@ -9,6 +13,10 @@ if [[ -d install ]]; then
rm -rf install
fi

if [[ -d log ]]; then
rm -rf log
fi

if [ -f src/CMakeLists.txt ]; then
rm -r src/CMakeLists.txt
fi
Expand Down
4 changes: 2 additions & 2 deletions ros/run
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ if [ "$?" == "0" ]; then
export ROS_IP=$ADDR
fi

# boot ros-master
${TERMINAL} ${MASTER_DISPLAY_OPTION} ${OPTION_WORKING_DIR}=${MY_PATH} ${OPTION_COMMAND}="bash -c 'source ./devel/setup.bash; roscore'"&
# boot ros-master & health_checker
${TERMINAL} ${MASTER_DISPLAY_OPTION} ${OPTION_WORKING_DIR}=${MY_PATH} ${OPTION_COMMAND}="bash -c 'source ./devel/setup.bash; roslaunch autoware_health_checker health_checker.launch'"&

# boot runtime_manager
${TERMINAL} ${RUNMGR_DISPLAY_OPTION} ${OPTION_WORKING_DIR}=${MY_PATH} ${OPTION_COMMAND}="bash -c 'source ./devel/setup.bash; rosrun runtime_manager runtime_manager_dialog.py'"
Loading