Comments (2)
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.
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)
- Why UE4 becomes stuttered after play if the rosbridge_server in another machine doesn't open? HOT 2
- Fork with visualizations, websockets, latest rosbridge_suite, etc. HOT 5
- Subsystem Game Instance HOT 3
- PR #180 Gives Compile Error in UE4 HOT 4
- Use of undeclared Identifier GetGameInstance HOT 1
- How can I solve the problem of `sensor_msgs/CameraInfo does not have a field d` HOT 2
- ROS bridge for UE 5 HOT 4
- (UE5 / Humble) De-/serialization problem when trying to publish sensor_msgs/Image or CompressedImage HOT 3
- ROS Message Types as UObjects? HOT 1
- Crashing and lag spikes. HOT 1
- Accessing the variable that was updated from a subscribed topic
- HoloLens2 packaging fails HOT 2
- (UE5/Melodic) Subscribing to color compressedImage and depth Image at the same time HOT 1
- /Clock publish rate too low. HOT 2
- sensor_msgs/Image Issue HOT 2
- After receiving the Service, it will crash when receiving the Topic.
- Trigger implementation issues HOT 2
- { Plugin "ROSIntergration" failed to load } problem HOT 1
- Error: no matching member function for call to 'AddRaw' HOT 1
- ROSBridge Message Error for sensor_msgs/CameraInfo HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rosintegration.