Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

communication with ROS2 and custom message build procedure #108

Open
sawan-kcl opened this issue Jun 5, 2024 · 5 comments
Open

communication with ROS2 and custom message build procedure #108

sawan-kcl opened this issue Jun 5, 2024 · 5 comments

Comments

@sawan-kcl
Copy link

Hello,
I recently installed this package and everything seems to be working correctly but the topic being published/subscribed in the example script do not seem to be detectable by my local ROS2 installation.
Did i miss any steps?

Few information that might be useful:

I'm using Ubuntu 22.04 with ROS2 humble.

  • I have sourced ROS2 in my ~/.bashrc and ~/.profile
  • I dont' have any external connection set up (Like unity-robotics-hub) in the current project in which I'm testing this.
  • I installed in --standalone mode so not starting unity editor from inside a ROS sourced terminal. Just starting it normally from launcher shortcut.

Also, please could you tell me what is the procedure to include and use custom ROS2 messages that reside in local repository in my ROS2 workspace?

@s-m-asjad
Copy link

Can you try adding Application.runInBackground = true; inside your void start() ?

I had similar issues on Windows with Unity - ROS2 Humble.

@s-m-asjad
Copy link

For custom messages, I am not sure if the procedure is different but I have been following these steps to add a custom message on Windows. We have to rebuild the ROS2 Unity asset each time I add a new custom message.

@Hsaisai
Copy link

Hsaisai commented Nov 26, 2024

For custom messages, I am not sure if the procedure is different but I have been following these steps to add a custom message on Windows. We have to rebuild the ROS2 Unity asset each time I add a new custom message.

hello, can you teach me how to add custom messages?What is the writing format?Thanl you very much!

@s-m-asjad
Copy link

@Hsaisai are you asking about adding a custom message in ROS2 on Ubuntu, ROS2 on Windows, or ROS2 inside Unity on Windows?

@Hsaisai
Copy link

Hsaisai commented Nov 27, 2024

@Hsaisai are you asking about adding a custom message in ROS2 on Ubuntu, ROS2 on Windows, or ROS2 inside Unity on Windows?

ROS2 inside Unity on Ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants