Skip to content

Commit

Permalink
Robot: Remove trailing spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxq authored and kechxu committed Dec 2, 2019
1 parent 32d2b84 commit 41c2d2b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Apollo 5.0 is loaded with new modules and features but needs to be calibrated an

1. Upgrade host to ubuntu_16.04 and above (Ubuntu 18.04 is preferred)
2. Update local host NVIDIA driver >=410.48. [Website link](https://www.nvidia.com/Download/index.aspx?lang=en-us). Or follow the [guide](https://github.com/ApolloAuto/apollo-kernel/tree/master/linux/Install_nvidia_driver_on_ubuntu_18.04.md) to install Apollo-Kernel and NVIDIA driver, if you want to install Apollo-Kernel.
3. Install NVIDIA-docker 2.0 - you can refer to [this link](https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)) for steps on installation, or use the install scripts we provide [here](https://github.com/ApolloAuto/apollo/blob/master/docker/setup_host/install_nvidia_docker.sh)
3. Install NVIDIA-docker 2.0 - you can refer to [this link](https://github.com/nvidia/nvidia-docker/wiki/Installation-(version-2.0)) for steps on installation, or use the install scripts we provide [here](https://github.com/ApolloAuto/apollo/blob/master/docker/setup_host/install_nvidia_docker.sh)

For those developers that would like to continue working with Ubuntu 14.04, please use the [Ubuntu 14.04 branch](https://github.com/ApolloAuto/apollo/tree/ubuntu_14.04) instead of the master branch.

Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Apollo 5.0 is an effort to support volume production for Geo-Fenced Autonomous D
* Prediction Evaluators
* Simulation web platform - Dreamland
* Scenario Editor
* Control-in-loop Simulation
* Control-in-loop Simulation
* Apollo Synthetic Data Set

## Autonomous Drive Capabilities
Expand Down
6 changes: 3 additions & 3 deletions apollo_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ function print_usage() {

function start_build_docker() {
docker ps --format "{{.Names}}" | grep apollo_dev_$USER 1>/dev/null 2>&1
if [ $? != 0 ]; then
# If Google is reachable, we fetch the docker image directly.
if [ $? != 0 ]; then
# If Google is reachable, we fetch the docker image directly.
if ping -q -c 1 -W 1 www.google.com 1>/dev/null 2>&1; then
opt=""
else
ping -q -c 1 -W 1 www.baidu.com 1>/dev/null 2>&1
# If Baidu is unreachable, we use local images.
# If Baidu is unreachable, we use local images.
if [ $? -ne 0 ]; then
opt="-l"
fi
Expand Down
4 changes: 2 additions & 2 deletions docker/build/installers/install_adolc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ git clone https://github.com/CSCsw/ColPack.git
pushd ColPack
pushd build/automake # automake folder
sudo autoreconf -vif # generate configure files based on the machince
sudo mkdir mywork
sudo mkdir mywork
pushd mywork
fullpath=$(pwd) # modify fullpath to your destination folder if need
sudo ../configure --prefix=${fullpath}
Expand Down Expand Up @@ -65,7 +65,7 @@ sudo cp -r include /usr/local/adolc/ && sudo cp -r lib64 /usr/local/adolc/
sudo cp LICENSE /usr/local/adolc/
popd

export LD_LIBRARY_PATH=/usr/local/adolc/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/adolc/lib64:$LD_LIBRARY_PATH

# Clean up.
sudo apt-get clean && sudo rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion tools/cpplint.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def cpplint(data=None, extra_srcs=None):
source_filenames = ["$(location %s)" % x for x in source_labels]

# Run the cpplint checker as a unit test.
if len(source_filenames) > 0:
if len(source_filenames) > 0:
_add_linter_rules(source_labels, source_filenames, rule["name"], data)

# Lint all of the extra_srcs separately in a single rule.
Expand Down
2 changes: 1 addition & 1 deletion tools/qt.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def _file_name(filePathName):
def _base_name(fileName):
return fileName.split('.')[0]

def qt_cc_library(name, src, hdr, uis = [], res = [], normal_hdrs = [], deps = None, **kwargs):
def qt_cc_library(name, src, hdr, uis = [], res = [], normal_hdrs = [], deps = None, **kwargs):
srcs = src
for hItem in hdr:
base_name = _base_name(_file_name(hItem))
Expand Down

0 comments on commit 41c2d2b

Please sign in to comment.