Comments (9)
I target messages that users request, simply due to the time I have available. Now that I know there is more interest for the standard message package, I'll look into it further. Thanks for the note! If there are other types you'd like to see for sure, please let me know (although at this point I will likely try to get as many of the standard messages as possible).
from rbsmanager.
Great, thank you.
I'm building an app, from which I can send voice commands to ROS. For now, what would you recommend? Just use geometry_msgs::Twist and "abuse" the frame_id as my command string? Do you know if there's a limit on character length for the frame id?
from rbsmanager.
I think you can build your own message type if you want to use that instead. Swift should be able to make use of any class in your project globally. Take a look at any of the simple classes like PointMessage and adjust the properties to suit. You just need to inherit from RBSMessage and conform to the ObjectMapper protocol. If you name your class something specific to your project, there shouldn't be any naming collisions later if I add a new type (I'll be using something generic like StringMessage, for example).
from rbsmanager.
I thought about that. If it works well, I'll make a PR (granted, I continue this project I'm working on)
Is there a way for me to use the HeaderMessage directly? Or is it embedded in others? Because choosing MessageClass: HeaderMessage.self
results in an error
from rbsmanager.
It seems I was sloppy on some of the message classes and they are not marked as public. If you change that, you should have access. Take a look at TwistMessage
for an example on using nested message types (it's only the constructor that is different)
from rbsmanager.
I think the same happened with Time Message
from rbsmanager.
Created pull request #3
Adds Message Type StringMessage
Makes TimeMessage and HeaderMessage public
from rbsmanager.
Thank you for supplying the new StringMessage class. I have included it in the new version 0.3.0. I've also included a Python script to generate message files on demand. I'll close this issue but feel free to open it again if you have questions.
from rbsmanager.
great idea with the Python script!
from rbsmanager.
Related Issues (12)
- Support ActionLib HOT 2
- The operation couldn’t be completed. (Starscream.WSError error 1.) HOT 1
- Build on MacOS 10.14.16
- sync_messages requires arguments
- Value of type 'RBSResponse' has no subscripts HOT 3
- Migrate to Swift Package Manager HOT 5
- Adding clases/messages HOT 2
- build in Xcode10 get error HOT 4
- Support for geometry_msgs/TwistStamped HOT 2
- update POD HOT 4
- Support for sensor_msgs/CompressedImage HOT 27
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 rbsmanager.