Git Product home page Git Product logo

ad-rss-lib's People

Contributors

berndgassmann avatar daedric avatar dependabot[bot] avatar fabianoboril avatar fpasch avatar johannesquast avatar mehrnazhazrati avatar rfma23 avatar sm-azure avatar step-security-bot avatar suhel-jaber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ad-rss-lib's Issues

rss library compilation error

sudo apt-get install git build-essential cmake libgtest-dev
git clone https://github.com/intel/ad-rss-lib .
cd ad-rss-lib
mkdir build
cd build
cmake ..
make
...
/usr/bin/ld: /usr/local/lib/libgtest_main.a(gtest_main.cc.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libgtest_main.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
tests/CMakeFiles/ad_rss_tests.dir/build.make:2333: recipe for target 'tests/ad_rss_tests' failed
make[2]: *** [tests/ad_rss_tests] Error 1
CMakeFiles/Makefile2:122: recipe for target 'tests/CMakeFiles/ad_rss_tests.dir/all' failed
make[1]: *** [tests/CMakeFiles/ad_rss_tests.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

compile error of boost lib

after i running colcon build, it ocuured error as following:

/xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:152:53: error: no matching function for call to ‘evaluate_polynomial(boost::array<double, 4>&, double&)’
152 | double v = boost::math::tools::evaluate_polynomial(poly, u);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/include/opendrive/geometry/Geometry.hpp:19,
from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:13:
/usr/local/include/boost/math/tools/rational.hpp:189:10: note: candidate: ‘template<class T, class U> U boost::math::tools::evaluate_polynomial(const T*, const U&, std::size_t)’
189 | inline U evaluate_polynomial(const T* poly, U const& z, std::size_t count) BOOST_MATH_NOEXCEPT(U)
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/math/tools/rational.hpp:189:10: note: template argument deduction/substitution failed:
/xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:152:53: note: mismatched types ‘const T*’ and ‘boost::array<double, 4>’
152 | double v = boost::math::tools::evaluate_polynomial(poly, u);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/include/opendrive/geometry/Geometry.hpp:19,
from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:13:
/usr/local/include/boost/math/tools/rational.hpp:205:10: note: candidate: ‘template<long unsigned int N, class T, class V> V boost::math::tools::evaluate_polynomial(const T (&)[N], const V&)’
205 | inline V evaluate_polynomial(const T(&a)[N], const V& val) BOOST_MATH_NOEXCEPT(V)
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/math/tools/rational.hpp:205:10: note: template argument deduction/substitution failed:
/xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:152:53: note: mismatched types ‘const T [N]’ and ‘boost::array<double, 4>’
152 | double v = boost::math::tools::evaluate_polynomial(poly, u);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
In file included from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/include/opendrive/geometry/Geometry.hpp:19,
from /xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:13:
/usr/local/include/boost/math/tools/rational.hpp:212:10: note: candidate: ‘template<long unsigned int N, class T, class V> V boost::math::tools::evaluate_polynomial(const std::array<T, N>&, const V&)’
212 | inline V evaluate_polynomial(const std::array<T,N>& a, const V& val) BOOST_MATH_NOEXCEPT(V)
| ^~~~~~~~~~~~~~~~~~~
/usr/local/include/boost/math/tools/rational.hpp:212:10: note: template argument deduction/substitution failed:
/xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:152:53: note: ‘boost::array<double, 4>’ is not derived from ‘const std::array<T, N>’
152 | double v = boost::math::tools::evaluate_polynomial(poly, u);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
/xurban/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/src/geometry/Geometry.cpp:166:60: error: no matching function for call to ‘evaluate_polynomial(boost::array<double, 4>&, double&)’
166 | double tangentV = boost::math::tools::evaluate_polynomial(tangentPoly, u);

Question: Init object by metric coordinates in map_integration

Hello,
I am trying to understand the python example of map_integration. There, the objects are initialized with geodetic coordinates (ENU). Is it possible to define objects with x and y?
How would an example look like?

`

    # example from interface_test.py
    positionGeo = ad.map.point.createGeoPoint(lon, lat, ad.map.point.Altitude(0.)) # -> I want to exchange lon and lat by x and y
    # fill the result position
    resultObject.enuPosition.centerPoint = ad.map.point.toENU(positionGeo)
    resultObject.enuPosition.heading = ad.map.point.createENUHeading(yawAngle)
    resultObject.enuPosition.dimension.length = ad.physics.Distance(4.5)
    resultObject.enuPosition.dimension.width = ad.physics.Distance(2.)
    resultObject.enuPosition.dimension.height = ad.physics.Distance(1.5)
    resultObject.enuPosition.enuReferencePoint = ad.map.access.getENUReferencePoint()

`

If this is not possible, is there an option to read the projection string from an opendrive file using this library with python. I have already found the mapdata reference, but haven't found a useful way to retrieve it - without rebuilding the whole factorypipeline.

Thanks!

Guide to get started

HI,
I would like to use this library with Carla simulator.
Is there any tutorial to guide how to integrate RSS lib with Carla and run a simple example?

Suppress spdlog

Thanks for providing this repository open source. I'm trying to ingrate this as a near-real-time safety checker in my own work for some scenario evaluation, so I've built the library with python bindings (I'm a cpp noob). When I execute the safety checks (similar to the python unit tests), I get a boatload of log information from spdlog spit out to the console which clogs up what I really need to see. Is there a way to suppress this at runtime, redirect to another file, or a build flag to accomplish this? Thanks.

LaneDirection estimation in RssObjectPositionExtractor::newLaneSegment

One question for positive lane or negative lane estimation logic:
In RssObjectPositionExtractor::newLaneSegment the object lane direction is gotten from laneSegment laneDrivingDirection. But if the object is occupying both positive and negtive lane, the lane type will be overwritten by the last occupied laneSegment. Will there be a logic bug?

if (laneSegment.drivingDirection == LaneDrivingDirection::Positive)
      {
        mObjectDimensions.onPositiveLane = true;
      }

      if (laneSegment.drivingDirection == LaneDrivingDirection::Negative)
      {
        mObjectDimensions.onNegativeLane = true;
      }

THX!

How to import an OpenDRIVE map using UTM coordinate system

I use the RSS-lib in my own simulator, and during the integration process, I modified it based on the RSS-sensor from Carla.

During the final debugging process, I found that ad-map-access does not support the UTM coordinate system, and my map happens to be in UTM coordinates, with a large map scope. And my maps use extended lon/lat offset use userData label.
Due to the large map scope and coordinate values like (x:10330.6, y:-41831.2, z:0), an error occurred when creating the ENU coordinates:

withinValidInputRange(::ad::map::point::ENUCoordinate)>> -41831.17771743114 out of valid input range [-16384.0, 16384.0]

By reviewing the ad map access doc and related issues, I've come to understand that in the ENU coordinate system, larger coordinate values lead to larger errors. Therefore, author have implemented range restrictions in the code.

How should I proceed with using the rss-lib? Is there a solution specific to the UTM coordinate system? Or do I need to explore alternative approaches and consider abandoning the use of ad-map-access?

RSS Sensor crashes Carla Simulator-0.9.13

Hi, I am repeatedly getting following error when using RSS Sensor with Carla-0.9.13

Signal 11 caught.
Malloc Size=65538 LargeMemoryPoolOffset=65554 
CommonUnixCrashHandler: Signal=11
Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
Segmentation fault (core dumped)

I suspect this might be due to call vehicle.get_physics_control() in RSS python implementation, since it makes a request to server causing it to crash.

libad_physics_python3 isn't being created.

The library libad_physics isn't being created. When tried to run "cmake ad_physics" in the dependencies, it throws "unknown cmake command find_python_binding_package". There is some issue in generating this python library.

in the install/ad_physics there is libad_physics.so generated but it's not being imported into python.

Extended logging / response a log from RssCheck

There is a need to log important messages required for debugging. The best would be to get all the logs from the lib as a string from the ad::rss::core::RssCheck calculateProperResponse(...), but the most important is also acceptable.
By most important, I mean from the core.

I can provide a PR with the change spdlog to a logger (variable + console).

Unstructured Roads Implementation

Hi,
I want to understand how to implement the unstructured case for RSS and need clarity. I feel the problem is intractable because the number of trajectories for each set of robot is essentially infinite and hence it is not possible to evaluate the intersection of each pair for two sets of robots.

Even if we consider the braking and continue forward constraints and work with the bounds determined by the heading angle and inverse of rate of change of radius, the possible number and range of trajectories is infinite and hence the possible positions of the robot with continue forward constraint is highly complex and makes it difficult to evaluate the RSS constraints.

Can you please provide some insight?

"×××××× spdlog.cpp.o"can not be used when making a shared object; recompile with -fPIC

I'm executing the make command in the ~/map/ad_physics/build folder, and i have some errors below:


/usr/bin/ld: /usr/local/lib/libspdlog.a(spdlog.cpp.o): relocation R_X86_64_TPOFF32 against `_ZGVZN6spdlog7details2os9thread_idEvE3tid' can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/ad_physics.dir/build.make:295: libad_physics.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/ad_physics.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

I found a similar solution in this URL-https://blog.csdn.net/u010333076/article/details/77227552
but i doesn't match my questions.

The Makefile in the ~/map/ad_physics/build/Makefile is below:


CMAKE generated file: DO NOT EDIT!

Generated by "Unix Makefiles" Generator, CMake Version 3.16

Default target executed when no arguments are given to make.

default_target: all

.PHONY : default_target

Allow only one "make -f Makefile2" at a time, but pass parallelism.

.NOTPARALLEL:

#=============================================================================

Special targets provided by cmake.

Disable implicit rules so canonical targets will work.

.SUFFIXES:

Remove some rules from gmake that .SUFFIXES does not remove.

SUFFIXES =

.SUFFIXES: .hpux_make_needs_suffix_list

Suppress display of executed commands.

$(VERBOSE).SILENT:

A target that is always out of date.

cmake_force:

.PHONY : cmake_force

#=============================================================================

Set environment variables for the build.

The shell in which to execute make rules.

SHELL = /bin/sh

The CMake executable.

CMAKE_COMMAND = /usr/bin/cmake

The command to remove a file.

RM = /usr/bin/cmake -E remove -f

Escaping for special characters.

EQUALS = =

The top-level source directory on which CMake was run.

CMAKE_SOURCE_DIR = /home/chw/projects/clion_code/carla_RSS_Build/map/ad_physics

The top-level build directory on which CMake was run.

CMAKE_BINARY_DIR = /home/chw/projects/clion_code/carla_RSS_Build/map/ad_physics/build

#=============================================================================

Targets provided globally by CMake.

Special rule for the target install/strip

install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip

Special rule for the target install/strip

install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..."
/usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast

Special rule for the target install/local

install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local

Special rule for the target install/local

install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
/usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast

Special rule for the target install

install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install

Special rule for the target install

install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
/usr/bin/cmake -P cmake_install.cmake
.PHONY : install/fast

Special rule for the target list_install_components

list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: "Unspecified""
.PHONY : list_install_components

Special rule for the target list_install_components

list_install_components/fast: list_install_components

.PHONY : list_install_components/fast

Special rule for the target rebuild_cache

rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache

Special rule for the target rebuild_cache

rebuild_cache/fast: rebuild_cache

.PHONY : rebuild_cache/fast

Special rule for the target edit_cache

edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache

Special rule for the target edit_cache

edit_cache/fast: edit_cache

.PHONY : edit_cache/fast

The main all target

all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/chw/projects/clion_code/carla_RSS_Build/map/ad_physics/build/CMakeFiles /home/chw/projects/clion_code/carla_RSS_Build/map/ad_physics/build/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/chw/projects/clion_code/carla_RSS_Build/map/ad_physics/build/CMakeFiles 0
.PHONY : all

The main clean target

clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean

The main clean target

clean/fast: clean

.PHONY : clean/fast

Prepare targets for installation.

preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall

Prepare targets for installation.

preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast

clear depends

depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend

#=============================================================================

Target rules for targets named ad_physics

Build rule for target.

ad_physics: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ad_physics
.PHONY : ad_physics

fast build rule for target.

ad_physics/fast:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/build
.PHONY : ad_physics/fast

generated/src/ad/physics/Acceleration.o: generated/src/ad/physics/Acceleration.cpp.o

.PHONY : generated/src/ad/physics/Acceleration.o

target to build an object file

generated/src/ad/physics/Acceleration.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Acceleration.cpp.o
.PHONY : generated/src/ad/physics/Acceleration.cpp.o

generated/src/ad/physics/Acceleration.i: generated/src/ad/physics/Acceleration.cpp.i

.PHONY : generated/src/ad/physics/Acceleration.i

target to preprocess a source file

generated/src/ad/physics/Acceleration.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Acceleration.cpp.i
.PHONY : generated/src/ad/physics/Acceleration.cpp.i

generated/src/ad/physics/Acceleration.s: generated/src/ad/physics/Acceleration.cpp.s

.PHONY : generated/src/ad/physics/Acceleration.s

target to generate assembly for a file

generated/src/ad/physics/Acceleration.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Acceleration.cpp.s
.PHONY : generated/src/ad/physics/Acceleration.cpp.s

generated/src/ad/physics/Angle.o: generated/src/ad/physics/Angle.cpp.o

.PHONY : generated/src/ad/physics/Angle.o

target to build an object file

generated/src/ad/physics/Angle.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Angle.cpp.o
.PHONY : generated/src/ad/physics/Angle.cpp.o

generated/src/ad/physics/Angle.i: generated/src/ad/physics/Angle.cpp.i

.PHONY : generated/src/ad/physics/Angle.i

target to preprocess a source file

generated/src/ad/physics/Angle.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Angle.cpp.i
.PHONY : generated/src/ad/physics/Angle.cpp.i

generated/src/ad/physics/Angle.s: generated/src/ad/physics/Angle.cpp.s

.PHONY : generated/src/ad/physics/Angle.s

target to generate assembly for a file

generated/src/ad/physics/Angle.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Angle.cpp.s
.PHONY : generated/src/ad/physics/Angle.cpp.s

generated/src/ad/physics/AngularAcceleration.o: generated/src/ad/physics/AngularAcceleration.cpp.o

.PHONY : generated/src/ad/physics/AngularAcceleration.o

target to build an object file

generated/src/ad/physics/AngularAcceleration.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularAcceleration.cpp.o
.PHONY : generated/src/ad/physics/AngularAcceleration.cpp.o

generated/src/ad/physics/AngularAcceleration.i: generated/src/ad/physics/AngularAcceleration.cpp.i

.PHONY : generated/src/ad/physics/AngularAcceleration.i

target to preprocess a source file

generated/src/ad/physics/AngularAcceleration.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularAcceleration.cpp.i
.PHONY : generated/src/ad/physics/AngularAcceleration.cpp.i

generated/src/ad/physics/AngularAcceleration.s: generated/src/ad/physics/AngularAcceleration.cpp.s

.PHONY : generated/src/ad/physics/AngularAcceleration.s

target to generate assembly for a file

generated/src/ad/physics/AngularAcceleration.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularAcceleration.cpp.s
.PHONY : generated/src/ad/physics/AngularAcceleration.cpp.s

generated/src/ad/physics/AngularVelocity.o: generated/src/ad/physics/AngularVelocity.cpp.o

.PHONY : generated/src/ad/physics/AngularVelocity.o

target to build an object file

generated/src/ad/physics/AngularVelocity.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularVelocity.cpp.o
.PHONY : generated/src/ad/physics/AngularVelocity.cpp.o

generated/src/ad/physics/AngularVelocity.i: generated/src/ad/physics/AngularVelocity.cpp.i

.PHONY : generated/src/ad/physics/AngularVelocity.i

target to preprocess a source file

generated/src/ad/physics/AngularVelocity.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularVelocity.cpp.i
.PHONY : generated/src/ad/physics/AngularVelocity.cpp.i

generated/src/ad/physics/AngularVelocity.s: generated/src/ad/physics/AngularVelocity.cpp.s

.PHONY : generated/src/ad/physics/AngularVelocity.s

target to generate assembly for a file

generated/src/ad/physics/AngularVelocity.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/AngularVelocity.cpp.s
.PHONY : generated/src/ad/physics/AngularVelocity.cpp.s

generated/src/ad/physics/Distance.o: generated/src/ad/physics/Distance.cpp.o

.PHONY : generated/src/ad/physics/Distance.o

target to build an object file

generated/src/ad/physics/Distance.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Distance.cpp.o
.PHONY : generated/src/ad/physics/Distance.cpp.o

generated/src/ad/physics/Distance.i: generated/src/ad/physics/Distance.cpp.i

.PHONY : generated/src/ad/physics/Distance.i

target to preprocess a source file

generated/src/ad/physics/Distance.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Distance.cpp.i
.PHONY : generated/src/ad/physics/Distance.cpp.i

generated/src/ad/physics/Distance.s: generated/src/ad/physics/Distance.cpp.s

.PHONY : generated/src/ad/physics/Distance.s

target to generate assembly for a file

generated/src/ad/physics/Distance.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Distance.cpp.s
.PHONY : generated/src/ad/physics/Distance.cpp.s

generated/src/ad/physics/DistanceSquared.o: generated/src/ad/physics/DistanceSquared.cpp.o

.PHONY : generated/src/ad/physics/DistanceSquared.o

target to build an object file

generated/src/ad/physics/DistanceSquared.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DistanceSquared.cpp.o
.PHONY : generated/src/ad/physics/DistanceSquared.cpp.o

generated/src/ad/physics/DistanceSquared.i: generated/src/ad/physics/DistanceSquared.cpp.i

.PHONY : generated/src/ad/physics/DistanceSquared.i

target to preprocess a source file

generated/src/ad/physics/DistanceSquared.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DistanceSquared.cpp.i
.PHONY : generated/src/ad/physics/DistanceSquared.cpp.i

generated/src/ad/physics/DistanceSquared.s: generated/src/ad/physics/DistanceSquared.cpp.s

.PHONY : generated/src/ad/physics/DistanceSquared.s

target to generate assembly for a file

generated/src/ad/physics/DistanceSquared.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DistanceSquared.cpp.s
.PHONY : generated/src/ad/physics/DistanceSquared.cpp.s

generated/src/ad/physics/Duration.o: generated/src/ad/physics/Duration.cpp.o

.PHONY : generated/src/ad/physics/Duration.o

target to build an object file

generated/src/ad/physics/Duration.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Duration.cpp.o
.PHONY : generated/src/ad/physics/Duration.cpp.o

generated/src/ad/physics/Duration.i: generated/src/ad/physics/Duration.cpp.i

.PHONY : generated/src/ad/physics/Duration.i

target to preprocess a source file

generated/src/ad/physics/Duration.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Duration.cpp.i
.PHONY : generated/src/ad/physics/Duration.cpp.i

generated/src/ad/physics/Duration.s: generated/src/ad/physics/Duration.cpp.s

.PHONY : generated/src/ad/physics/Duration.s

target to generate assembly for a file

generated/src/ad/physics/Duration.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Duration.cpp.s
.PHONY : generated/src/ad/physics/Duration.cpp.s

generated/src/ad/physics/DurationSquared.o: generated/src/ad/physics/DurationSquared.cpp.o

.PHONY : generated/src/ad/physics/DurationSquared.o

target to build an object file

generated/src/ad/physics/DurationSquared.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DurationSquared.cpp.o
.PHONY : generated/src/ad/physics/DurationSquared.cpp.o

generated/src/ad/physics/DurationSquared.i: generated/src/ad/physics/DurationSquared.cpp.i

.PHONY : generated/src/ad/physics/DurationSquared.i

target to preprocess a source file

generated/src/ad/physics/DurationSquared.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DurationSquared.cpp.i
.PHONY : generated/src/ad/physics/DurationSquared.cpp.i

generated/src/ad/physics/DurationSquared.s: generated/src/ad/physics/DurationSquared.cpp.s

.PHONY : generated/src/ad/physics/DurationSquared.s

target to generate assembly for a file

generated/src/ad/physics/DurationSquared.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/DurationSquared.cpp.s
.PHONY : generated/src/ad/physics/DurationSquared.cpp.s

generated/src/ad/physics/ParametricValue.o: generated/src/ad/physics/ParametricValue.cpp.o

.PHONY : generated/src/ad/physics/ParametricValue.o

target to build an object file

generated/src/ad/physics/ParametricValue.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/ParametricValue.cpp.o
.PHONY : generated/src/ad/physics/ParametricValue.cpp.o

generated/src/ad/physics/ParametricValue.i: generated/src/ad/physics/ParametricValue.cpp.i

.PHONY : generated/src/ad/physics/ParametricValue.i

target to preprocess a source file

generated/src/ad/physics/ParametricValue.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/ParametricValue.cpp.i
.PHONY : generated/src/ad/physics/ParametricValue.cpp.i

generated/src/ad/physics/ParametricValue.s: generated/src/ad/physics/ParametricValue.cpp.s

.PHONY : generated/src/ad/physics/ParametricValue.s

target to generate assembly for a file

generated/src/ad/physics/ParametricValue.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/ParametricValue.cpp.s
.PHONY : generated/src/ad/physics/ParametricValue.cpp.s

generated/src/ad/physics/Probability.o: generated/src/ad/physics/Probability.cpp.o

.PHONY : generated/src/ad/physics/Probability.o

target to build an object file

generated/src/ad/physics/Probability.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Probability.cpp.o
.PHONY : generated/src/ad/physics/Probability.cpp.o

generated/src/ad/physics/Probability.i: generated/src/ad/physics/Probability.cpp.i

.PHONY : generated/src/ad/physics/Probability.i

target to preprocess a source file

generated/src/ad/physics/Probability.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Probability.cpp.i
.PHONY : generated/src/ad/physics/Probability.cpp.i

generated/src/ad/physics/Probability.s: generated/src/ad/physics/Probability.cpp.s

.PHONY : generated/src/ad/physics/Probability.s

target to generate assembly for a file

generated/src/ad/physics/Probability.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Probability.cpp.s
.PHONY : generated/src/ad/physics/Probability.cpp.s

generated/src/ad/physics/RatioValue.o: generated/src/ad/physics/RatioValue.cpp.o

.PHONY : generated/src/ad/physics/RatioValue.o

target to build an object file

generated/src/ad/physics/RatioValue.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/RatioValue.cpp.o
.PHONY : generated/src/ad/physics/RatioValue.cpp.o

generated/src/ad/physics/RatioValue.i: generated/src/ad/physics/RatioValue.cpp.i

.PHONY : generated/src/ad/physics/RatioValue.i

target to preprocess a source file

generated/src/ad/physics/RatioValue.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/RatioValue.cpp.i
.PHONY : generated/src/ad/physics/RatioValue.cpp.i

generated/src/ad/physics/RatioValue.s: generated/src/ad/physics/RatioValue.cpp.s

.PHONY : generated/src/ad/physics/RatioValue.s

target to generate assembly for a file

generated/src/ad/physics/RatioValue.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/RatioValue.cpp.s
.PHONY : generated/src/ad/physics/RatioValue.cpp.s

generated/src/ad/physics/Speed.o: generated/src/ad/physics/Speed.cpp.o

.PHONY : generated/src/ad/physics/Speed.o

target to build an object file

generated/src/ad/physics/Speed.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Speed.cpp.o
.PHONY : generated/src/ad/physics/Speed.cpp.o

generated/src/ad/physics/Speed.i: generated/src/ad/physics/Speed.cpp.i

.PHONY : generated/src/ad/physics/Speed.i

target to preprocess a source file

generated/src/ad/physics/Speed.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Speed.cpp.i
.PHONY : generated/src/ad/physics/Speed.cpp.i

generated/src/ad/physics/Speed.s: generated/src/ad/physics/Speed.cpp.s

.PHONY : generated/src/ad/physics/Speed.s

target to generate assembly for a file

generated/src/ad/physics/Speed.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Speed.cpp.s
.PHONY : generated/src/ad/physics/Speed.cpp.s

generated/src/ad/physics/SpeedSquared.o: generated/src/ad/physics/SpeedSquared.cpp.o

.PHONY : generated/src/ad/physics/SpeedSquared.o

target to build an object file

generated/src/ad/physics/SpeedSquared.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/SpeedSquared.cpp.o
.PHONY : generated/src/ad/physics/SpeedSquared.cpp.o

generated/src/ad/physics/SpeedSquared.i: generated/src/ad/physics/SpeedSquared.cpp.i

.PHONY : generated/src/ad/physics/SpeedSquared.i

target to preprocess a source file

generated/src/ad/physics/SpeedSquared.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/SpeedSquared.cpp.i
.PHONY : generated/src/ad/physics/SpeedSquared.cpp.i

generated/src/ad/physics/SpeedSquared.s: generated/src/ad/physics/SpeedSquared.cpp.s

.PHONY : generated/src/ad/physics/SpeedSquared.s

target to generate assembly for a file

generated/src/ad/physics/SpeedSquared.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/SpeedSquared.cpp.s
.PHONY : generated/src/ad/physics/SpeedSquared.cpp.s

generated/src/ad/physics/Weight.o: generated/src/ad/physics/Weight.cpp.o

.PHONY : generated/src/ad/physics/Weight.o

target to build an object file

generated/src/ad/physics/Weight.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Weight.cpp.o
.PHONY : generated/src/ad/physics/Weight.cpp.o

generated/src/ad/physics/Weight.i: generated/src/ad/physics/Weight.cpp.i

.PHONY : generated/src/ad/physics/Weight.i

target to preprocess a source file

generated/src/ad/physics/Weight.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Weight.cpp.i
.PHONY : generated/src/ad/physics/Weight.cpp.i

generated/src/ad/physics/Weight.s: generated/src/ad/physics/Weight.cpp.s

.PHONY : generated/src/ad/physics/Weight.s

target to generate assembly for a file

generated/src/ad/physics/Weight.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/generated/src/ad/physics/Weight.cpp.s
.PHONY : generated/src/ad/physics/Weight.cpp.s

src/Operation.o: src/Operation.cpp.o

.PHONY : src/Operation.o

target to build an object file

src/Operation.cpp.o:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/src/Operation.cpp.o
.PHONY : src/Operation.cpp.o

src/Operation.i: src/Operation.cpp.i

.PHONY : src/Operation.i

target to preprocess a source file

src/Operation.cpp.i:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/src/Operation.cpp.i
.PHONY : src/Operation.cpp.i

src/Operation.s: src/Operation.cpp.s

.PHONY : src/Operation.s

target to generate assembly for a file

src/Operation.cpp.s:
$(MAKE) -f CMakeFiles/ad_physics.dir/build.make CMakeFiles/ad_physics.dir/src/Operation.cpp.s
.PHONY : src/Operation.cpp.s

Help Target

help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... install/strip"
@echo "... install/local"
@echo "... install"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... ad_physics"
@echo "... generated/src/ad/physics/Acceleration.o"
@echo "... generated/src/ad/physics/Acceleration.i"
@echo "... generated/src/ad/physics/Acceleration.s"
@echo "... generated/src/ad/physics/Angle.o"
@echo "... generated/src/ad/physics/Angle.i"
@echo "... generated/src/ad/physics/Angle.s"
@echo "... generated/src/ad/physics/AngularAcceleration.o"
@echo "... generated/src/ad/physics/AngularAcceleration.i"
@echo "... generated/src/ad/physics/AngularAcceleration.s"
@echo "... generated/src/ad/physics/AngularVelocity.o"
@echo "... generated/src/ad/physics/AngularVelocity.i"
@echo "... generated/src/ad/physics/AngularVelocity.s"
@echo "... generated/src/ad/physics/Distance.o"
@echo "... generated/src/ad/physics/Distance.i"
@echo "... generated/src/ad/physics/Distance.s"
@echo "... generated/src/ad/physics/DistanceSquared.o"
@echo "... generated/src/ad/physics/DistanceSquared.i"
@echo "... generated/src/ad/physics/DistanceSquared.s"
@echo "... generated/src/ad/physics/Duration.o"
@echo "... generated/src/ad/physics/Duration.i"
@echo "... generated/src/ad/physics/Duration.s"
@echo "... generated/src/ad/physics/DurationSquared.o"
@echo "... generated/src/ad/physics/DurationSquared.i"
@echo "... generated/src/ad/physics/DurationSquared.s"
@echo "... generated/src/ad/physics/ParametricValue.o"
@echo "... generated/src/ad/physics/ParametricValue.i"
@echo "... generated/src/ad/physics/ParametricValue.s"
@echo "... generated/src/ad/physics/Probability.o"
@echo "... generated/src/ad/physics/Probability.i"
@echo "... generated/src/ad/physics/Probability.s"
@echo "... generated/src/ad/physics/RatioValue.o"
@echo "... generated/src/ad/physics/RatioValue.i"
@echo "... generated/src/ad/physics/RatioValue.s"
@echo "... generated/src/ad/physics/Speed.o"
@echo "... generated/src/ad/physics/Speed.i"
@echo "... generated/src/ad/physics/Speed.s"
@echo "... generated/src/ad/physics/SpeedSquared.o"
@echo "... generated/src/ad/physics/SpeedSquared.i"
@echo "... generated/src/ad/physics/SpeedSquared.s"
@echo "... generated/src/ad/physics/Weight.o"
@echo "... generated/src/ad/physics/Weight.i"
@echo "... generated/src/ad/physics/Weight.s"
@echo "... src/Operation.o"
@echo "... src/Operation.i"
@echo "... src/Operation.s"
.PHONY : help

#=============================================================================

Special targets to cleanup operation of make.

Special rule to run CMake to check the build system integrity.

No rule that depends on this can have commands that come from listfiles

because they might be regenerated.

cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

I don't know how to resolve this problem, Anyone can help me? Thanks A LOT ~

Build instructions that don't use colcon?

Hello,
Not to be too needy, but I am trying to build this library on arch, and I am having issues getting colcon to run. Based on the build instructions, the reason colcon is used is because the underlying carla ad_map_access library uses colcon. I tried building that on Ubuntu, but I was having issues getting that to build as well because of some issues with gtest. Would it be possible to get friendlier build instructions that use a more common tool like make/cmake/ninja?

I am not super familiar with colcon so trying to troubleshoot the build has been rough.

Also, as an aside, why did intel license this library in a way that conflicts with CARLA's license? Just curious.

Carla-RSS "Build" process

I'm compiling and installing RSS library according to Carla official website (https://carla.readthedocs.io/en/latest/adv_rss/).
When I successfully compiled ad-rss-lib with colcon,
I don't know how to build rss with Carla in the Carla official website (https://carla.readthedocs.io/en/latest/adv_rss/ ---> "Build" part, As shown in the picture below).

image

The reason is that I can't find the ".rss" suffix file required by build (As shown in the picture above, such as "LibCarla.client.rss, PythonAPI.rss").

I try to find these files in the installation directory of Carla and ad-rss-lib build directory (As shown in the picture below). But I still can't find these files.

image

Maybe this question is a little naive. Please forgive the question raised by a novice. Thanks!

Always returning safe except when the Ego vehicle hits the leading vehicle

Hello,
I am trying to use the ad-rss-library.
I constructed the following scene:

scena

The steps as the follows:
1- Construct the road area (world::RoadArea) as the figure.
2- Create two objects (world::Object), one for the Ego vehicle and another for the other vehicle.
3- Convert vehicle data (coordinates, velocities) to match created road area
4- Assign reasonable dynamics information ( velocity, acceleration braking , etc)
5- Create a scene from previous create items
6- Assign timeIndex
7- Iterate for n times
a) move the ego vehicle with constant velocity
b) replace the Ego vehicle object in the scene with the update Ego object after motion.
c) Call "calculateProperResponse"

moving_scene

The result:

  • Always safe until the Ego vehicle hits the Other vehicle.
  • the proper longitudinal response is always empty.
    Expected Results:
    To become unsafe long before hitting, or at lease return a proper longitudinal response.

Thanks in advance.

Issue with colcon building (duplicated dependency package spdlog)

Hi,

I have noticed an issue with multiple packages spdlog during the building of ad_rss_lib with colcon.

The ad_rss_lib is added as a dependency to another ROS2 package (custom_package).

repositories:
  external/ad_rss_lib:
    type: git
    url: https://github.com/intel/ad-rss-lib.git
    version: v4.5.0

Then dependencies of custom_package are pulled with
vcs import --recursive < dependency.repos.
During the building, I'm receiving the below error.

colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release --packages-up-to ad_rss
[0.622s] ERROR:colcon:colcon build: Duplicate package names not supported:
- spdlog:
  - src/custom_package/external/ad_rss_lib/dependencies/map/dependencies/spdlog
  - src/custom_package/external/ad_rss_lib/dependencies/spdlog

That's because the spdlog is pulled twice: first as the ad_rss_lib dependency and then again as the dependency of carla_simulator/map.

The same happens during building the ad_rss_lib separately but with the --recursive option in git submodule update.

Thank you for developing the RSS related project.
Best regards,
Michal

nuScenes data compatibility

Hello,
I was wondering whether your tool could work with nuScenes dataformat as well, or in case not if you know some conversion tools that can be used toward this goal.
Thanks !!

Clang-format update

There are differences in formatting across clang-format versions (10 vs 14).

Since clang-format ver 10 is not available by default in Ubuntu 22 the suggestion is to bump CI and instruction version to clang-format-14 or ver 12 (by default in Ubuntu 20).

Or should we stick to the ver 10?

I can post a PR with ver 14.

Question on code file structure layout

Hi, @berndgassmann

I noticed the file directory structure layout as follow:

- ad_rss
  - generated
  - impl
  - <python>
  - CMakeLists.txt

I guess the generated dir is created by some tool which is used to auto generate exporting library according impl dir, Am I right ?

the tool is open-source or private ? Plz let me know. Forgive my strange curiosity :)

complie failure

When I execute the following command

git clone https://github.com/intel/ad-rss-lib.git
cd ad-rss-lib
git submodule update --init
colcon build

This error occurred

企业微信截图_20231024191425

Please help me look at the problem

Question on calculateTimeForDistance

Hello, in function calculateTimeForDistance, there's a judgement on whether the car's acceleration is zero or not:

if ((acceleration == Acceleration(0.)) || (currentSpeed >= maxSpeedOnAcceleration))

However, even if current speed is higher than max_speed, the acc can still be minus, so, I think here it should be:

if ((acceleration == Acceleration(0.)) || (currentSpeed >= maxSpeedOnAcceleration && acceleration > 0))

Am I wrong?

FATALDependency proj not found

I'm trying to build the lib using the following steps:

git clone https://github.com/intel/ad-rss-lib.git
cd ad-rss-lib
git submodule update --init
colcon build

However I'm getting

root@264371cba0f0:/home/ad-rss-lib# colcon build                           
Starting >>> spdlog  
Starting >>> ad_map_opendrive_reader
Starting >>> PROJ4
--- stderr: ad_map_opendrive_reader
FATALDependency proj not found!
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/ad-rss-lib/dependencies/map/ad_map_opendrive_reader/PROJ_INCLUDE_DIR
   used as include directory in directory /home/ad-rss-lib/dependencies/map/ad_map_opendrive_reader
PROJ_LIBRARIES
    linked by target "ad_map_opendrive_reader" in directory /home/ad-rss-lib/dependencies/map/ad_map_opendrive_reader

---
Failed   <<< ad_map_opendrive_reader [0.06s, exited with code 1]
Aborted  <<< spdlog [0.09s]
Aborted  <<< PROJ4 [0.14s]   

Could you advice if I am missing some preconditions.

Thank you!

Errors Colcon Building ad-rss-lib

Hi,

I'm trying to install and build the library to be used by the RSS module withing CARLA

I'm using CARLA version 14 for leaderboard on Ubuntu 20 Focal Fossa

First, the cloning using the terminal kept aborting with error RPC failed, so I had to download it as a ZIP file

Second, when I build and reach the colcon build -metas colcon_python.meta, I end up with this error

I installed ad_physics already, and don't know what to do with either it or the carlaviz-backend

colcon build --metas colcon_python.meta
Starting >>> carla_msgs
Starting >>> ros_compatibility
Starting >>> carla_common
Starting >>> carla_ros_scenario_runner_types
Starting >>> carla_waypoint_types
Starting >>> ad_rss
Starting >>> carla_twist_to_control
Starting >>> gstreaming
Starting >>> telecarla_msgs
Starting >>> carlaviz-backend
Starting >>> pandacan
Starting >>> rqt_carla_control
--- stderr: ad_rss
CMake Error at CMakeLists.txt:33 (find_package):
Could not find a package configuration file provided by "ad_physics"
(requested version 2.6.3) with any of the following names:

ad_physicsConfig.cmake
ad_physics-config.cmake

Add the installation prefix of "ad_physics" to CMAKE_PREFIX_PATH or set
"ad_physics_DIR" to a directory containing one of the above files. If
"ad_physics" provides a separate development package or SDK, be sure it has
been installed.


Failed <<< ad_rss [8.94s, exited with code 1]
--- stderr: carlaviz-backend
CMake Error at CMakeLists.txt:14 (include):
include could not find load file:

third_party/LibCarla/cmake/CMakeLists.txt.in

Failed <<< carlaviz-backend [6.71s, exited with code 1]
Aborted <<< ros_compatibility [11.3s]
Aborted <<< carla_common [10.6s]
Aborted <<< carla_twist_to_control [8.41s]
Aborted <<< pandacan [6.18s]
Aborted <<< rqt_carla_control [5.66s]
Aborted <<< telecarla_msgs [7.23s]
Aborted <<< gstreaming [7.76s]
Aborted <<< carla_msgs [11.8s]
Aborted <<< carla_ros_scenario_runner_types [11.7s]
Aborted <<< carla_waypoint_types [11.4s]

Summary: 0 packages finished [24.9s]
2 packages failed: ad_rss carlaviz-backend
10 packages aborted: carla_common carla_msgs carla_ros_scenario_runner_types carla_twist_to_control carla_waypoint_types gstreaming pandacan ros_compatibility rqt_carla_control telecarla_msgs
4 packages had stderr output: ad_rss carlaviz-backend gstreaming telecarla_msgs
17 packages not processed


Thank you

Ubuntu 18.04: Compile warnings when building the unittests

When trying to build the unittests under Ubuntu 18.04 with Clang 6.0, the activation of strict warnings, causes the following error:

/travis/tests/core/RssCheckIntersectionTests.cpp:111:84: error: must specify at
least one argument for '...' parameter of variadic macro
[-Werror,-Wgnu-zero-variadic-macro-arguments]
...::testing::Range(uint64_t(0u), uint64_t(50u), uint64_t(1u)));

The problem is due to the handling of "INSTANTIATE_TEST_CASE_P" from gtest:
google/googletest#1419

According to the linked issue, a fix for this issue is on its way.

The solution for now, if you require building the unittests: Disable the corresponding warning.

cmake ad_physics error

when I do "cmake ../../dependencies/map/ad_physics -DCMAKE_INSTALL_PREFIX=../../install/ad_physics -DCMAKE_PREFIX_PATH=../../install/spdlog"
But,
CMake Error at generated/CMakeLists.txt:34 (find_package):
Could not find a package configuration file provided by "spdlog" with any
of the following names:

spdlogConfig.cmake
spdlog-config.cmake

Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
"spdlog_DIR" to a directory containing one of the above files. If "spdlog"
provides a separate development package or SDK, be sure it has been
installed.
How to fix this problem, thanks

Question on object detection by RSS sensor in Carla

Dear,

In Carla, we have observed that, even an occluded vehicle/actor is detected by rss sensor. But in real world scenarios that is not possible. Is there any way to differentiate target detection for,

  1. Occluded
  2. Out of FOV etc..

For example, in below picture, sensor detected two vehicles. Out of two, one is occluded (car covered by another car).
Capture

For occlusion, is there any flag available? How we can filter out occluded vehicle in RSS sensor?

Regards,
Yashwant

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.