Comments (7)
Thanks and happy it worked for you!
from ros2-for-unity.
PS:
I'm on Ubuntu 22.04
With the Humble distro
And Unity 2022.3.22f1 version
from ros2-for-unity.
You are pointing to your repository, which is not a ROS 2 package, but a workspace, I believe. I also see that the repository includes build/ install/ and log/ directories, which you should not try to build (essentially you are putting the repo in a sources-to-build folder).
Try removing build folders from the repo or simply drop your custom message package (this folder) into the src/ros2cs/custom_messages build path.
from ros2-for-unity.
I noticed you are using a custom message for a 2D point, maybe consider standard one: https://docs.ros2.org/latest/api/geometry_msgs/msg/Point32.html (keep z as 0).
from ros2-for-unity.
Thanks for your insane reactivity !!
I will try that right now ;)
I'm keeping you in touch
And about the std_point message it's because I will surely add some information further but thanks for letting me know :D
from ros2-for-unity.
I've tried your way, by adding directly my two packages with custom message inside the src/ros2cs/custom_messages folder.
The build worked, the .unitypackage no and so in Unity :'(
I don't know if you have any idea about that, but I think I will remake it from the beginning once more (I've done it all day long :'D ) but can you pls guide me on how to properly create my repository for my custom messages. Knowing that this repo will only contain custom messages for a unique project. I don't know if it's better to make different packages or put anything in only one ?
And what I have to put in this/these repo(s) pls ?
I would prefer to do it by using repo(s) because we are 3 to work on this project
I know it could seems like I haven't read the ream.me at all but I promise I've walk through all the steps in both ways several times I'm really stuck on this :(
But once it will work (and I hope soon with your help <3 ) I would add some information/example to the read.me to avoid people being stuck like me (more information can't be disturbing ;) )
Thank you :D
Mathis
from ros2-for-unity.
Hey!
I've solved my issue :D
I didn't have git-lfs installed, so ros2cs couldn't build normally but didn't return an error as I was building R2FU.
I think that adding a simple line in the prerequisites saying to install git-lfs could be useful for some people ;)
I noticed it by attempting to manually build only ros2cs and here the error telling me I didn't have git-lfs showed up.
So anything linked to custom messages :')
(I don't know if you can rename this issue as "can't build repository")
And I use a GitHub repo for referencing my custom messages, that works perfectly!
ros2_for_unity_custom_messages.repos.txt (you can check my repo it's public) (You can check my repo, it's public)
Thank you, and I hope it would help someone else ✌️
Cheers!
from ros2-for-unity.
Related Issues (20)
- Issue to change RMW implementation HOT 5
- Is it possible to run ros2-for-unity with ROS2 in WSL2 and Unity in Windows? HOT 1
- Connection problem between ROS2 in WSL2 and Unity in Windows(In ros2-for-unity, how can I define ROS DOMAIN ID ??) HOT 4
- Unity crashes when receiving map message
- Can not change QoS Profile
- OccupencyGrid Subsciber Could Only Get a quarter of map
- Connection problem between ROS2 in WSL2 and Unity in Windows(In ros2-for-unity) HOT 1
- communication with ROS2 and custom message build procedure HOT 2
- How to solve 'UnsatisfiedLinkError: librcl.so'? HOT 7
- Cannot use custom messages in unity HOT 2
- Can you provide a listener example for joint_states? HOT 1
- Unity client hangs when debugging service
- Support for ROS2 Jazzy and Ubuntu 24.04
- The problem with installing the overlay version library in Windows 11 HOT 1
- Anomalous Behavior in ROS2 Unity Project: Issue with Receiving Topic Data HOT 1
- How to define ROS_DOMAIN_ID for each node
- Issue while building ./build.sh --standalone HOT 2
- Can't set variables of standard ROS2 messages in Ros2ForUnity 1.3.0 on Windows HOT 1
- does ros2-for-unity support ros2 iron? HOT 5
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 ros2-for-unity.