Giter Club home page Giter Club logo

Comments (2)

michalp21 avatar michalp21 commented on May 31, 2024 4

I'd like clarification on this as well. No matter how I do it, I get errors while importing the header files from the Public folder. But I may just be doing it wrong, so here's what I'm doing.

I followed the tutorial for the most part (enabling the plugin was a little different than the readme). But after enabling the plugin, creating a blueprint based on ROSIntegrationGameInstance, and editing the Project Settings, I went to the content browser and clicked Add New > New C++ Class > Actor, and put it into ROSIntegration (Developer) (Public), and created the class. After the code compiles I can double click on C++ Classes > ControlCenter > Public > MyActor and add the subscriber code from the readme into the AMyActor::BeginPlay function, under the Super::BeginPlay. When I add the include lines though, the Image.h file is unrecognized. No matter what I do I can't import files from the Public folder, and it doesn't show up in the content browser either (along with rosbridge2cpp curiously)

from rosintegration.

sparky002 avatar sparky002 commented on May 31, 2024 1

More clarification on where and how to place the code would be useful in the documentation. Things like creating the actor to ROSIntegration(Developer)(Public) would be useful. This is something other users have to figure out from experimentation, or look through these issues. Also, would be useful to know that you have to re-compile headers after any ros c++ code change in your project for the change to occur when playing back the unreal sim or document a method to prevent the need to do this. A complete basic UE4 ROS example project both c++ and blueprints would also be incredibly useful for people that aren't sufficient in UE4 yet.

from rosintegration.

Related Issues (20)

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.