Merge branch 'master' into documentation
This commit is contained in:
commit
b470f3c564
|
@ -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}",
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
CARLA Simulator
|
||||
===============
|
||||
|
||||
[](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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue