Coder Social home page Coder Social logo

rticommunity / rticonnextdds-usecases-automotive Goto Github PK

View Code? Open in Web Editor NEW
15.0 13.0 16.0 15.47 MB

This use case shows how Connext DDS can be used by Autonomous Vehicle developers to leverage RTI’s extensive experience with autonomous robotics, safety-critical systems and state-of-the-art architectures to simplify development, design and integration.

Home Page: https://www.rti.com/resources/usecases/automotive

Batchfile 0.31% Shell 0.52% C++ 11.83% C 16.52% Python 4.19% CMake 66.55% Lua 0.08%
automotive rti-connext-dds lidar examplecode

rticonnextdds-usecases-automotive's Issues

Launch Collision Avoidance Failed

Environment

  • OS : Windows 10
  • VS : Visual Studio 2017

Reproducing

  1. Open ExampleCode\win32\Automotive-vs2017.sln By Visual Studio 2017
  2. Build (Release config and Win32 platform)
  3. Execute scripts\launch.bat

Expected Result

All run fine.

Real Result

image

It can not find collisionAvoidance.exe

Fix

  • Modify launch.bat:40 to start %obj_dir%\collision_avoidance.exe

start %obj_dir%\collisionAvoidance.exe

Conclusion

It should be a simple naming error.

Thank you.

How to echo custom topics in ROS2

Could you please explain in detail how to make a topic and message readable by ROS2?
I want to visualize another ros message in RViz,

I add rt/ in front of the topic
I use default Qos,

I used rtiddsgen with c++11,
I can see topic in ROS2

However when I echo the topic to see message
ros2 topic echo /topic_name

I got an error
The passed message type is invalid.

Thanks in advance

Cannot build the example

Hi,

I have RTI Connext DDS pro 6.1.0,
I am using Ubuntu 18.04 x64

When I try to build Makefile_x64Linux3gcc5.4.0, I got a lot of errors like:

RTILog_debug’ was not declared in this scope

Thank you for your help

Reading and sending real camera data

I am using opencv to read camera image/saved image, and I am confused how to pass the image to the instance.

Eg:
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include

using namespace cv;
using namespace std;

Mat image;
image = imread(argv[1], CV_LOAD_IMAGE_COLOR); // Read the file

if(! image.data )                              // Check for invalid input
{
    cout <<  "Could not open or find the image" << std::endl ;
    return -1;
}

from the rti-dds code:
/* Get a new sample before every write. This data sample can come from a
free sample or a previously written sample which is ready for reuse. */

    retcode = CameraImage_CameraImageData_writer->get_loan(instance);
    if (retcode != DDS_RETCODE_OK) {
        fprintf(stderr, "CameraImage_CameraImageDataDataWriter_get_loan error(%s:%d)\n", __FILE__, __LINE__);
        publisher_shutdown(participant);
        return -1;
    }

how do provide this image/image properties to instance?

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.