Merge branch 'master' into documentation

This commit is contained in:
nsubiron 2018-02-02 11:39:18 +01:00
commit b470f3c564
3 changed files with 15 additions and 1 deletions

View File

@ -48,6 +48,18 @@
},
"build_systems":
[
{
"name": "CARLA - Pylint",
"working_dir": "${project_path}",
"file_regex": "^\\[([^:]*):([0-9]+):?([0-9]+)?\\]:? (.*)$",
"shell_cmd": "pylint --disable=R,C --rcfile=PythonClient/.pylintrc PythonClient/carla PythonClient/*.py --msg-template='[{path}:{line:3d}:{column}]: {msg_id} {msg}'"
},
{
"name": "CARLA - CppCheck",
"working_dir": "${project_path}",
"file_regex": "^\\[([^:]*):([0-9]+):?([0-9]+)?\\]:? (.*)$",
"shell_cmd": "cppcheck . -iBuild -i.pb.cc --error-exitcode=0 --enable=warning --quiet"
},
{
"name": "CARLA - Rebuild script",
"working_dir": "${project_path}",

View File

@ -1,6 +1,8 @@
CARLA Simulator
===============
[![Build Status](https://travis-ci.org/carla-simulator/carla.svg?branch=master)](https://travis-ci.org/carla-simulator/carla)
CARLA is an open-source simulator for autonomous driving research. CARLA has
been developed from the ground up to support development, training, and
validation of autonomous urban driving systems. In addition to open-source code

View File

@ -44,7 +44,7 @@ namespace MapGen {
using Dcel = DoublyConnectedEdgeList;
// from [-pi, pi] to [0, 1].
auto normalize = [](auto a) {
constexpr decltype(a) twoPi = 2.0 * 3.14159265359;
constexpr float twoPi = 2.0 * 3.14159265359;
a /= twoPi;
while (a >= 1.0) a -= 1.0;
while (a < 0.0) a += 1.0;