-
Notifications
You must be signed in to change notification settings - Fork 52
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
Creating Custom Messages #42
Comments
Inside the solution directory, put the MESSAGENAME.msg file in a folder,
"PACKAGENAME/msg" and _build_once_.
After building once without an error, THEN you can use it as
Messages.PACKAGENAME.MESSAGENAME
…On Aug 10, 2017 1:47 AM, "wmqazi" ***@***.***> wrote:
Can please provide a link to tutorials of some kind.
I have custom build message on Ubuntu. Need to send and receive one
between ROS c++ and ROS.NET
Can you provide some pointers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#42>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLrW21KqC33wHR3NgF41Bq4DSVA6NCBks5sWplwgaJpZM4Oy-JF>
.
|
Can you please provide more detail. I mean how to build that msg file and what about build_once I would appreciate you could help me out Thanks |
The YAMLParser project has a post-build task that generates code for all of
the .msg and .srv files, then builds Messages/Messages.dll. ros-comm and
all projects that use ros-comm then reference the built, generated
Messages/Messages.dll.
Try to get your message to exist (using my prior instructions) by having
the ros.net projects AND your rosnode project in a solution together (with
project references to all of the ros.net projects, but with a DLL reference
to Messages/Messages.dll, like is done in Talker's project). After that has
worked once, then you can reference the DLLs directly without rebuilding
them every compilation to expedite your build process.
To make sure your code is referencing the latest Messages.dll (that should
include your message), I recommend editing your node project's .csproj and
referencing the dll like at
https://github.com/uml-robotics/ROS.NET/blob/master/Talker/Talker.csproj#L99
…On Aug 11, 2017 3:16 AM, "wmqazi" ***@***.***> wrote:
Can you please provide more detail.
I created my own solution and referenced the required ROS.NET dlls which
included Message, ROS_COM and YAMLParser. Then added a msg file in the my
solution folder.
I mean how to build that msg file and what about *build_once*
I would appreciate you could help me out
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABLrWxt_dkXvMbLYa4_FMuinpAf0rY5gks5sW__BgaJpZM4Oy-JF>
.
|
Were you able to get your custom messages working? I am going to be adding some tutorials and examples to hopefully make things clearer. |
Hi
Unfortunately no. Actually i had to leave the station for a conference and
will resume after getting back.
A tutorial will be the best thing to have
Wajahat
…On Aug 17, 2017 4:13 AM, "Jordan" ***@***.***> wrote:
Were you able to get your custom messages working?
I am going to be adding some tutorials and examples to hopefully make
things clearer.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXm1a1j331RbkM4RftGapkXPGolrgtj3ks5sY3eDgaJpZM4Oy-JF>
.
|
Can please provide a link to tutorials of some kind.
I have custom build message on Ubuntu. Need to send and receive one between ROS c++ and ROS.NET
Can you provide some pointers
The text was updated successfully, but these errors were encountered: