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

Dome #726

Merged
merged 104 commits into from
Dec 17, 2020
Merged

Dome #726

Show file tree
Hide file tree
Changes from 103 commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
72ba2c0
bump to citadel, update comms visualization
iche033 Mar 17, 2020
8525667
Adding breadcrumbs to x1 config 7 & 8
Apr 16, 2020
c4d4001
Added additional breadcrumbs
Apr 16, 2020
24b0991
merged with master
Apr 20, 2020
ec1ea45
Update to citadel
Apr 20, 2020
5f7697a
Prevent breadcrumb topics
Apr 23, 2020
db2aa77
Merge branch 'master' into breadcrumb_models
nkoenig Apr 23, 2020
fe173a8
Added breadcrumb handling to more launch files
Apr 23, 2020
5e01ced
Merge branch 'breadcrumb_models' of github.com:osrf/subt into breadcr…
Apr 23, 2020
8841390
Apply patch
Apr 28, 2020
a1a886b
Adjust spawn location of the breadcrumbs
Apr 28, 2020
be97ede
Update cave_circuit.ign to call the corect spawner method (#409)
azeey Apr 29, 2020
1b29050
Add disable_physics_time param to breadcrumb plugin to auto disable them
iche033 Apr 30, 2020
7baee30
Adding team base
May 1, 2020
240a57d
One team base only
May 1, 2020
8c88f38
Merge branch 'master' into comms_visualization
May 4, 2020
72fd347
Cleanup after move from bitbucket
Apr 14, 2020
69a2799
Cleanup
Apr 14, 2020
33d490d
Remove extra whitespace
Apr 14, 2020
f69b91a
Use https for git
Apr 14, 2020
c8ab8d7
Cave Qual release
Apr 20, 2020
f850c58
Merge branch 'comms_visualization' into comms_visualization_citadel
May 4, 2020
117e61e
Update Citadel and Urban Circuit
azeey Nov 15, 2019
590da9c
Merged
May 4, 2020
3875c6c
Update Citadel and Urban Circuit
iche033 Oct 22, 2019
dc43190
Merge branch 'comms_visualization_citadel' of github.com:osrf/subt in…
May 4, 2020
7b571fc
bump to citadel, update comms visualization
iche033 Mar 17, 2020
010ed04
Merge branch 'comms_visualization' of github.com:osrf/subt into comms…
May 4, 2020
af3b079
Update to citadel
iche033 Oct 22, 2019
d96d0e4
Merge branch 'comms_visualization_citadel' of github.com:osrf/subt in…
May 4, 2020
0ef2c40
bump to citadel, update comms visualization
iche033 Mar 17, 2020
5c6982f
Merge branch 'comms_visualization_citadel' of github.com:osrf/subt in…
May 4, 2020
7df121e
Cleanup after rebase
May 4, 2020
7e6f070
Merge pull request #398 from osrf/breadcrumb_models
nkoenig May 5, 2020
3225249
Updates based on review
May 6, 2020
c94f34e
Missed one pose publisher
May 6, 2020
3f78007
one more RawPose
iche033 May 8, 2020
5ef7adb
Merge pull request #411 from osrf/teambase
nkoenig May 11, 2020
5541b2b
Merge pull request #410 from osrf/breadcrumbs_static
nkoenig May 13, 2020
30e2632
Minor cmake tweaks
May 13, 2020
a1878a6
Merge branch 'comms_visualization_citadel' of github.com:osrf/subt in…
May 13, 2020
78fab22
Merge pull request #404 from osrf/comms_visualization_citadel
nkoenig May 13, 2020
713812c
Change colors for comms visualization.
May 19, 2020
3439cd7
Fix docs
May 19, 2020
26da447
Merge pull request #425 from osrf/visibility_colors
nkoenig May 19, 2020
6f689bc
Azeey/marsupial (#424)
nkoenig May 20, 2020
f27805e
Merged with master
May 20, 2020
e470e98
Add missing changes from PRs #402 and #403
azeey May 20, 2020
651c8ca
Merge branch 'master' into cave_feature_release1
May 20, 2020
a1837a1
Adjust platform height
May 20, 2020
ae9e0d3
Merge branch 'cave_feature_release1' into citadel
May 21, 2020
aa34adb
Fix deprecation
May 21, 2020
320362a
Merge branch 'master' into citadel
May 21, 2020
458bfd9
Merged with master
Jun 4, 2020
8279f49
Fix build
Jun 4, 2020
3236c4e
Update to visibility RF model (#440)
acschang Jun 4, 2020
48e5cf7
Merge branch 'master' into citadel
Jul 2, 2020
85e4832
citadel dockerfiles
Jul 2, 2020
b685ecd
Merge branch 'master' into citadel
Jul 9, 2020
fcc0714
Merged with master
Jul 9, 2020
029f530
Fix dependencies
Jul 9, 2020
fe6258e
Download models
Jul 9, 2020
7be9737
Merged with master
Aug 10, 2020
d5f6b53
Path tracer (#545)
nkoenig Aug 20, 2020
d19fdd4
Break out model download into separate docker image.
Aug 20, 2020
e992762
Cleanup
Aug 20, 2020
c0d0b24
merged from master
Aug 26, 2020
9a815e7
Update docker image name
Aug 27, 2020
f4f58ba
Updating docker
Sep 1, 2020
81bc8b9
Merged with master
Sep 1, 2020
746ec6b
Merge branch 'master' into citadel
Sep 9, 2020
c2c1902
Fixed merge
Sep 15, 2020
9b15caf
Handle log files with no events.yml file, and also handle an error ca…
nkoenig Sep 16, 2020
bb093f2
Path tracer rtf (#596)
nkoenig Sep 16, 2020
afa207d
Path tracer colors (#599)
nkoenig Sep 21, 2020
55e1496
Merge from master (#621)
caguero Sep 23, 2020
3b8c7b3
Missing include
Sep 23, 2020
8d99326
Merged with master
Sep 25, 2020
c02b753
Merged with master
Sep 25, 2020
4169306
Merged with master
nkoenig Oct 8, 2020
8b9d293
Disable truth_controller
nkoenig Oct 8, 2020
7f86c9b
Merge branch 'master' into citadel
Nov 9, 2020
1a07a06
Update to use Ignition Dome
Nov 9, 2020
8c10e11
Merged with master
Dec 1, 2020
1e8efed
Updating dockerfiles
Dec 1, 2020
6d233a3
Updating subt_sim_entry dockerfile
Dec 1, 2020
d6e8d6e
Updating model download
Dec 4, 2020
0627a68
Update dockerfile
Dec 7, 2020
af769f9
Update dockefile
Dec 7, 2020
525984b
Update subt_sim_entry
Dec 9, 2020
5329a15
Merged with master
Dec 9, 2020
201bc74
Merge branch 'citadel' into dome
Dec 9, 2020
51cb515
Merge branch 'master' into citadel
Dec 9, 2020
7d26805
Merge branch 'citadel' into dome
Dec 9, 2020
411f0f4
Merge branch 'master' into breakout_model_docker
Dec 9, 2020
d646310
Update docker
Dec 9, 2020
0760921
Fixing docker images
Dec 9, 2020
9cbce68
Fixing docker
Dec 9, 2020
e267a88
Improve git clone
Dec 10, 2020
5c0b8ea
Add back in ros_ign bridge to cloudsim_sim dockerfile
Dec 10, 2020
4a26a02
Update all urban .dat files. (#721)
caguero Dec 15, 2020
1426913
Update all tunnel .dat files. (#723)
caguero Dec 15, 2020
e8f1b70
Merged from master
Dec 16, 2020
501f5a2
Update dockerfiles
Dec 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ pipelines:
- rosdep update
- rosdep install --from-paths ./ -i -y --rosdistro melodic
--skip-keys=ignition-common3
--skip-keys=ignition-gazebo2
--skip-keys=ignition-launch1
--skip-keys=ignition-gazebo3
--skip-keys=ignition-launch2
--skip-keys=ignition-math6
--skip-keys=ignition-msgs4
--skip-keys=ignition-msgs5
--skip-keys=ignition-plugin1
--skip-keys=ignition-rendering2
--skip-keys=ignition-sensors2
--skip-keys=ignition-transport7
--skip-keys=ignition-rendering3
--skip-keys=ignition-sensors3
--skip-keys=ignition-transport8
--skip-keys=ros_ign_bridge
--skip-keys=ros_ign_image
# SubT
Expand Down
2 changes: 1 addition & 1 deletion docker/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ fi

user_id=$(id -u)
image_name=$(basename $1)
image_plus_tag=$image_name:$(date +%Y_%b_%d_%H%M)
image_plus_tag=$image_name:latest-$(date +%Y_%b_%d_%H%M)

shift

Expand Down
66 changes: 22 additions & 44 deletions docker/cloudsim_bridge/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
# Ubuntu 18.04 with nvidia-docker2 beta opengl support
FROM nvidia/opengl:1.0-glvnd-devel-ubuntu18.04

RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y \
tzdata \
&& ln -fs /usr/share/zoneinfo/America/Los_Angeles /etc/localtime \
&& dpkg-reconfigure --frontend noninteractive tzdata \
&& apt-get clean
FROM osrf/subt-virtual-testbed:models_latest

# Tools I find useful during development
RUN apt-get update -qq \
&& apt-get install --no-install-recommends -y -qq \
RUN sudo apt-get update -qq \
&& sudo apt-get install --no-install-recommends -y -qq \
build-essential \
bwm-ng \
atop \
cmake \
cppcheck \
gdb \
git \
gnutls-bin \
libbluetooth-dev \
libccd-dev \
libcwiid-dev \
Expand All @@ -41,16 +34,16 @@ RUN apt-get update -qq \
wget \
net-tools \
iputils-ping \
&& apt-get clean -qq
&& sudo apt-get clean -qq

# Install AWS CLI. This is needed by cloudsim to capture ROS logs.
RUN pip3 install --upgrade awscli=="1.16.220"
VOLUME /root/.aws

# install ROS and required packages
RUN /bin/sh -c 'echo "deb [trusted=yes] http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' \
&& apt-get update \
&& apt-get install -y \
RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' \
&& sudo apt-get update \
&& sudo apt-get install -y \
python-catkin-tools \
python-rosdep \
python-rosinstall \
Expand All @@ -63,34 +56,22 @@ RUN /bin/sh -c 'echo "deb [trusted=yes] http://packages.ros.org/ros/ubuntu $(lsb
ros-melodic-twist-mux \
ros-melodic-rviz-imu-plugin \
ros-melodic-rotors-control \
&& rosdep init \
&& apt-get clean
ros-melodic-theora-image-transport \
&& sudo rosdep init \
&& sudo apt-get clean

# sdformat8-sdf conflicts with sdformat-sdf installed from gazebo
# so we need to workaround this using a force overwrite
# Do this before installing ign-gazebo
RUN /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' \
&& /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -' \
&& /bin/sh -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'

# install ign-blueprint and the ign-bridge
RUN apt-get update \
&& apt-get install -y \
ignition-blueprint \
ros-melodic-ros-ign \
&& apt-get clean

# Add a user with the same user_id as the user outside the container
# Requires a docker build argument `user_id`
ARG user_id
ENV USERNAME developer
RUN useradd -U --uid ${user_id} -ms /bin/bash $USERNAME \
&& echo "$USERNAME:$USERNAME" | chpasswd \
&& adduser $USERNAME sudo \
&& echo "$USERNAME ALL=NOPASSWD: ALL" >> /etc/sudoers.d/$USERNAME
RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' \
&& sudo /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -' \
&& sudo /bin/sh -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'

# Commands below run as the developer user
USER $USERNAME
# install ign-dome and the ign-bridge
RUN sudo apt-get update \
&& sudo apt-get install -y \
ignition-dome \
&& sudo apt-get clean

# Make a couple folders for organizing docker volumes
RUN mkdir ~/workspaces ~/other
Expand All @@ -104,16 +85,13 @@ RUN rosdep update
# docker is run
RUN mkdir -p subt_ws/src \
&& cd subt_ws/src \
&& git clone https://github.com/osrf/subt
&& git config --global http.postBuffer 1048576000 \
&& git clone https://github.com/ignitionrobotics/ros_ign -b melodic \
&& git clone https://github.com/osrf/subt -b dome

WORKDIR /home/$USERNAME/subt_ws

# Install Rotors
# RUN wget https://s3.amazonaws.com/osrf-distributions/subt_robot_examples/releases/subt_robot_examples_latest.tgz
# RUN tar xvf subt_robot_examples_latest.tgz

RUN /bin/bash -c 'source /opt/ros/melodic/setup.bash && catkin_make install'

RUN /bin/sh -c 'echo ". /opt/ros/melodic/setup.bash" >> ~/.bashrc' \
&& /bin/sh -c 'echo ". ~/subt_ws/install/setup.sh" >> ~/.bashrc'

Expand Down
15 changes: 11 additions & 4 deletions docker/cloudsim_sim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ RUN sudo apt-get update -qq \
cppcheck \
gdb \
git \
gnutls-bin \
libbluetooth-dev \
libccd-dev \
libcwiid-dev \
Expand All @@ -33,8 +34,13 @@ RUN sudo apt-get update -qq \
iputils-ping \
libyaml-cpp-dev \
xvfb \
g++-8 \
&& sudo apt-get clean -qq

RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8

RUN gcc --version

# Install AWS CLI. This is needed by cloudsim to capture ROS logs.
RUN pip3 install --upgrade awscli=="1.16.220"
VOLUME /root/.aws
Expand All @@ -55,6 +61,7 @@ RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.ros.org/ros/ubuntu
ros-melodic-twist-mux \
ros-melodic-rviz-imu-plugin \
ros-melodic-rotors-control \
ros-melodic-theora-image-transport \
&& sudo rosdep init \
&& sudo apt-get clean

Expand All @@ -65,10 +72,10 @@ RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/g
&& sudo /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -' \
&& sudo /bin/sh -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'

# install ign-blueprint
# install ign-dome
RUN sudo apt-get update \
&& sudo apt-get install -y \
ignition-blueprint \
ignition-dome \
&& sudo apt-get clean

# install the ros to ign bridge
Expand All @@ -88,12 +95,12 @@ RUN rosdep update
# Install subt sim
RUN mkdir -p subt_ws/src \
&& cd subt_ws/src \
&& git clone https://github.com/osrf/subt
&& git config --global http.postBuffer 1048576000 \
&& git clone https://github.com/osrf/subt -b dome

WORKDIR /home/$USERNAME/subt_ws

RUN /bin/bash -c 'source /opt/ros/melodic/setup.bash && catkin_make install'

RUN /bin/sh -c 'echo ". /opt/ros/melodic/setup.bash" >> ~/.bashrc' \
&& /bin/sh -c 'echo ". ~/subt_ws/install/setup.sh" >> ~/.bashrc'

Expand Down
11 changes: 6 additions & 5 deletions docker/subt_sim_entry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.ros.org/ros/ubuntu
ros-melodic-twist-mux \
ros-melodic-rviz-imu-plugin \
ros-melodic-rotors-control \
ros-melodic-theora-image-transport \
&& sudo rosdep init \
&& sudo apt-get clean -qq

Expand All @@ -66,10 +67,10 @@ RUN sudo /bin/sh -c 'echo "deb [trusted=yes] http://packages.osrfoundation.org/g
&& sudo /bin/sh -c 'wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add -' \
&& sudo /bin/sh -c 'apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654'

# install ign-blueprint
RUN sudo apt-get update \
&& sudo apt-get install -y \
ignition-blueprint \
# install ign-dome
RUN sudo apt-get update -qq \
&& sudo apt-get install -y -qq \
ignition-dome \
&& sudo apt-get clean

# install the ros to ign bridge
Expand All @@ -82,7 +83,7 @@ RUN sudo apt-get update \
# docker is run
RUN mkdir -p subt_ws/src \
&& cd subt_ws/src \
&& git clone https://github.com/osrf/subt
&& git clone https://github.com/osrf/subt -b dome

WORKDIR /home/$USERNAME/subt_ws

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ project(ctu_cras_norlab_absolem_sensor_config_1)

set(CMAKE_CXX_STANDARD 17)

find_package(ignition-gazebo2 REQUIRED)
find_package(ignition-gazebo4 REQUIRED)
find_package(ignition-common3 REQUIRED)

find_package(catkin REQUIRED)

catkin_package()

add_library(laser_rotate_plugin src/laser_rotate_plugin.cpp)
target_link_libraries(laser_rotate_plugin PRIVATE ignition-gazebo2::core ignition-common3::ignition-common3)
target_link_libraries(laser_rotate_plugin PRIVATE ignition-gazebo4::core ignition-common3::ignition-common3)

add_library(flipper_control_plugin src/flipper_control_plugin.cpp)
target_link_libraries(flipper_control_plugin PRIVATE ignition-gazebo2::core ignition-common3::ignition-common3)
target_link_libraries(flipper_control_plugin PRIVATE ignition-gazebo4::core ignition-common3::ignition-common3)

install(TARGETS laser_rotate_plugin flipper_control_plugin
ARCHIVE DESTINATION lib
Expand Down
14 changes: 7 additions & 7 deletions subt-communication/subt_communication_broker/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.3)
cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
project(subt_communication_broker)

set(PKG_DEPENDS
Expand All @@ -18,22 +18,22 @@ set(RUN_DEPENDS
find_package(catkin REQUIRED ${BUILD_DEPENDS})

find_package(ignition-common3 REQUIRED)
find_package(ignition-msgs4 REQUIRED)
find_package(ignition-transport7 REQUIRED)
find_package(ignition-msgs6 REQUIRED)
find_package(ignition-transport9 REQUIRED)

include_directories(
include
${CATKIN_DEVEL_PREFIX}/include
${catkin_INCLUDE_DIRS}
${ignition-transport7_INCLUDE_DIRS}
${ignition-msgs4_INCLUDE_DIRS}
${ignition-transport9_INCLUDE_DIRS}
${ignition-msgs6_INCLUDE_DIRS}
${ignition-common3_INCLUDE_DIRS}
)

set(project_libs
${catkin_LIBRARIES}
${ignition-transport7_LIBRARIES}
${ignition-msgs4_LIBRARIES}
${ignition-transport9_LIBRARIES}
${ignition-msgs6_LIBRARIES}
${ignition-common3_LIBRARIES})

#######################################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
find_package(ignition-transport7 REQUIRED)
find_package(ignition-transport9 REQUIRED)

list(APPEND catkin_INCLUDE_DIRS ${ignition-transport7_INCLUDE_DIRS})
list(APPEND catkin_LIBRARIES ${ignition-transport7_LIBRARIES} ${Protobuf_LIBRARIES})
list(APPEND catkin_INCLUDE_DIRS ${ignition-transport9_INCLUDE_DIRS})
list(APPEND catkin_LIBRARIES ${ignition-transport9_LIBRARIES} ${Protobuf_LIBRARIES})

include_directories(@CATKIN_DEVEL_PREFIX@/include)
4 changes: 2 additions & 2 deletions subt-communication/subt_communication_broker/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<depend>roscpp</depend>
<depend>subt_communication_model</depend>
<depend>subt_rf_interface</depend>
<depend>ignition-msgs4</depend>
<depend>ignition-transport7</depend>
<depend>ignition-msgs6</depend>
<depend>ignition-transport9</depend>
<depend>subt_msgs</depend>

</package>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protobuf_generate_cpp_with_descriptor(
PROTO_HEADERS
PROTO_DESCRIPTORS
IMPORT_DIRS
${ignition-msgs4_INCLUDE_DIRS}
${ignition-msgs6_INCLUDE_DIRS}
DESTINATION
${CATKIN_DEVEL_PREFIX}/${CATKIN_PACKAGE_INCLUDE_DESTINATION}/protobuf
${PROTO_MESSAGES}
Expand Down
11 changes: 10 additions & 1 deletion subt_example/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
project(subt_example)

if(NOT WIN32)
Expand All @@ -11,6 +11,12 @@ find_package(catkin REQUIRED
subt_ign
message_generation
subt_communication_broker
geometry_msgs
nav_msgs
angles
tf2
tf2_ros
eigen_conversions
)

add_service_files(DIRECTORY srv
Expand Down Expand Up @@ -40,6 +46,9 @@ add_executable(teleop_node src/teleop_node.cc)
add_dependencies(teleop_node ${catkin_EXPORTED_TARGETS})
target_link_libraries(teleop_node ${catkin_LIBRARIES})

# add_subdirectory(src/truth_controller)


###########
## Tests ##
###########
Expand Down
Loading