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

MicroRos custom message type!!! #164

Open
mehtivakili opened this issue Dec 27, 2024 · 8 comments
Open

MicroRos custom message type!!! #164

mehtivakili opened this issue Dec 27, 2024 · 8 comments

Comments

@mehtivakili
Copy link

mehtivakili commented Dec 27, 2024

I cant create my custom message type on micro-ros platformIO . Is that possible or compatible with the platformIO version of that?
I appreciate any help..

@mehtivakili mehtivakili changed the title MicroRos message type MicroRos custom message type!!! Dec 27, 2024
@hippo5329
Copy link
Contributor

Please describe your problem in more details.

@mehtivakili
Copy link
Author

@hippo5329
I want to create my custom messages on microros using platformIO and there is no straight introduction on the documentation nor the code how can I use mircro-ros and ploatformIO implementation of that to do this? I think I should recompile that or something like that? but what should I recompile or build? the downloaded package on the platformIO library"microros-platformIO" or the "ros2" on my own system?
Thanks for quick respond!

@hippo5329
Copy link
Contributor

@mehtivakili
Copy link
Author

@hippo5329
thanks man!
But I unfortunately found that part previously and it didn't help me find out how can I compile or build that message
after creating that message type :(

@hippo5329
Copy link
Contributor

Did you follow the tutorial to create your custom message?

https://docs.ros.org/en/jazzy/Tutorials/Beginner-Client-Libraries/Custom-ROS2-Interfaces.html

@mehtivakili
Copy link
Author

@hippo5329 thanks for your respond, I still couldn't check out the repos you've provided but I'll look forward to use them as soon as possible bro

@hippo5329
Copy link
Contributor

The links to examples code are files. You will need to checkout the repo instead. Follow the wiki,

git clone https://github.com/hippo5329/micro-ROS-demos-platformio.git
cd micro-ROS-demos-platformio/rclc/complex_msg_publisher
pio run -e esp32 -t upload

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

2 participants