Skip to content

Commit

Permalink
pre-comit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikN committed Dec 5, 2023
1 parent fa12c36 commit 9e0716c
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ localhost
SHM
UDPv
CustomUdpTransport
UDPv
UDPv
3 changes: 1 addition & 2 deletions tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN MYDISTRO=${PREFIX:-ros}; MYDISTRO=${MYDISTRO//-/} && \
rm -rf build log

## =========================== Final Stage ===============================
FROM husarnet/ros:${PREFIX}${ROS_DISTRO}-ros-core
FROM husarnet/ros:${PREFIX}${ROS_DISTRO}-ros-core

ARG ROS_DISTRO
ARG PREFIX
Expand All @@ -98,4 +98,3 @@ COPY tools/healthcheck.sh /

HEALTHCHECK --interval=7s --timeout=2s --start-period=5s --retries=5 \
CMD ["/healthcheck.sh"]

2 changes: 1 addition & 1 deletion tools/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Quick Start
#
#
# 1. run `docker compose up` on the robot
# 3. You can use teleop_twist_keyboard to control the robot in robot1 namespace:
# `ros2 run teleop_twist_keyboard teleop_twist_keyboard --ros-args -r __ns:=/robot1`
Expand Down
14 changes: 14 additions & 0 deletions tools/healthcheck.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
// Copyright 2023 Husarion sp. z o.o.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#include "fstream"
#include "nav_msgs/msg/odometry.hpp"
#include "rclcpp/rclcpp.hpp"
Expand Down

0 comments on commit 9e0716c

Please sign in to comment.