-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates for carla 0.9.12 * refactor gstreaming * run CI on melodic and noetic * include carla ros bridge in CI build
- Loading branch information
Showing
92 changed files
with
912 additions
and
1,308 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[flake8] | ||
max-line-length = 120 | ||
|
||
ignore = | ||
# Ignore "whitespace before ':'" because it conflicts with black | ||
E203, | ||
# Ignore "linebrak before binary operator" because it conflicts with black | ||
W503 |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,33 @@ | ||
FROM ros:melodic-robot | ||
ARG CARLA_VERSION='0.9.12' | ||
|
||
ARG CARLA_MAJOR_VERSION='0.9.10' | ||
ARG CARLA_MINOR_VERSION='1' | ||
FROM carlasim/carla:${CARLA_VERSION} as carla | ||
|
||
FROM ros:noetic-robot | ||
|
||
ARG CARLA_VERSION | ||
|
||
ENV DEBIAN_FRONTEND='noninteractive' | ||
ENV QT_X11_NO_MITSHM=1 | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends -y \ | ||
python-catkin-tools \ | ||
python3-catkin-tools \ | ||
python3-osrf-pycommon \ | ||
x11-apps \ | ||
socat \ | ||
wget \ | ||
ubuntu-server \ | ||
ubuntu-desktop && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=carla /home/carla/PythonAPI /opt/carla/PythonAPI | ||
COPY . /home/catkin_ws/src/telecarla | ||
WORKDIR /home/catkin_ws/src/telecarla | ||
RUN ./install.sh | ||
|
||
WORKDIR /home/catkin_ws | ||
RUN wget https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/CARLA_${CARLA_MAJOR_VERSION}.${CARLA_MINOR_VERSION}.tar.gz && \ | ||
mkdir -p carla && tar xzf CARLA_${CARLA_MAJOR_VERSION}.${CARLA_MINOR_VERSION}.tar.gz -C carla && \ | ||
python -m easy_install --no-deps carla/PythonAPI/carla/dist/carla-${CARLA_MAJOR_VERSION}-py2.7-linux-x86_64.egg && \ | ||
rm -rf carla CARLA_${CARLA_MAJOR_VERSION}.${CARLA_MINOR_VERSION}.tar.gz | ||
RUN bash -c "source /opt/ros/melodic/setup.bash && source /opt/carla-ros-bridge/melodic/setup.bash && catkin init && catkin build" | ||
RUN python3 -m easy_install --no-deps /opt/carla/PythonAPI/carla/dist/carla-${CARLA_VERSION}-py3.7-linux-x86_64.egg && \ | ||
ln -s /usr/bin/python3 /usr/bin/python | ||
RUN bash -c "source /opt/ros/noetic/setup.bash && catkin build" | ||
|
||
ENTRYPOINT [ "src/telecarla/docker/entrypoint.sh" ] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#ifndef LMT_PIPELINE_STATE_H | ||
#define LMT_PIPELINE_STATE_H | ||
|
||
namespace lmt | ||
{ | ||
namespace common | ||
{ | ||
enum class PipelineState | ||
{ | ||
started, | ||
stopped, | ||
paused, | ||
starting, | ||
stopping | ||
}; | ||
} | ||
} // namespace lmt | ||
|
||
#endif // LMT_PIPELINE_STATE_H |
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 @@ | ||
#include "pipeline_state.h" |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.