Giter Club home page Giter Club logo

Comments (7)

adamdbrw avatar adamdbrw commented on September 17, 2024 1

Thanks and happy it worked for you!

from ros2-for-unity.

MathisFeDaSi avatar MathisFeDaSi commented on September 17, 2024

PS:
I'm on Ubuntu 22.04
With the Humble distro
And Unity 2022.3.22f1 version

from ros2-for-unity.

adamdbrw avatar adamdbrw commented on September 17, 2024

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.

adamdbrw avatar adamdbrw commented on September 17, 2024

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.

MathisFeDaSi avatar MathisFeDaSi commented on September 17, 2024

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.

MathisFeDaSi avatar MathisFeDaSi commented on September 17, 2024

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.

MathisFeDaSi avatar MathisFeDaSi commented on September 17, 2024

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)

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.