-
Notifications
You must be signed in to change notification settings - Fork 1
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
Where is it possible to find examples? #1
Comments
<!-- DIV {margin:0px;} -->Greetings,Thanks for your interest. If you look here:https://github.com/neocoretechs/RoboCoreYou will see everything in there are publishers and subscribers for robotics use. These are the actual modules I use to control the robots I built. In general, everything ending in 'pubs' is a publisher, and everything ending in 'subs' is generally a subscriber. One of the simpler examples is a publisher for status alert messages that sends to a subscriber that translates the speech to text:https://github.com/neocoretechs/RoboCore/blob/master/src/com/neocoretechs/robocore/StatusAlertPubs.javaIt also subscribes to the ultrasonic range finders and then publishes those to the status bus to for possible annunciation. It uses a blocking queue to buffer the incoming messages.Here is the subscriber to the status alert topic:https://github.com/neocoretechs/RoboCore/blob/master/src/com/neocoretechs/robocore/SpeechSubs.javaIt grabs the published text, and delivers it to the speech synthesizer.I have remained true to the original package structure of rosjava, the only thing thats changed is there is no maven and gradle and the XMLRPC is replaced with java serialization and the web server master has been replaced with a lightweight socket server master. Instead of generating interfaces from messages rosjavalite generates concrete serializable java classes. Its all about speed and small footprint, you really couldnt use the original Goolag/Willow Garage rosjava for real time robotics control, you can with rosjavalite.So to conclude, all the original tutotials for actually constructing publishers and subscribers under rosjava also applies to rosjavalite, like this one:http://rosjava.github.io/rosjava_core/0.1.6/getting_started.htmlHope this helps, feel free to pose any further questions.Sincerely,Jon -----Original Message-----From: Juan Antonio Breña Moral Sent: Aug 25, 2018 12:38 AMTo: neocoretechs/RosJavaLite Cc: Subscribed Subject: [neocoretechs/RosJavaLite] Where is it possible to find examples? (#1)Hi, I would like to test the library but I dont find examples to register a node on ros to publish and subscribe topics.I would like to test the classic example Talker & Listener connecting with a remote ROS master.Many thanks in advance.Juan Antonio—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/neocoretechs/RosJavaLite","title":"neocoretechs/RosJavaLite","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/neocoretechs/RosJavaLite"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Where is it possible to find examples? (#1)"}],"action":{"name":"View Issue","url":"#1"}}}[{"@context": "http://schema.org","@type": "EmailMessage","potentialAction": {"@type": "ViewAction","target": "#1","url": "#1","name": "View Issue"},"description": "View this Issue on GitHub","publisher": {"@type": "Organization","name": "GitHub","url": "https://github.com"}},{"@type": "MessageCard","@context": "http://schema.org/extensions","hideOriginalBody": "false","originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB","title": "Where is it possible to find examples? (#1)","sections": [{"text": "","activityTitle": "**Juan Antonio Breña Moral**","activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png","activitySubtitle": "@jabrena","facts": [{"name": "Repository: ","value": "neocoretechs/RosJavaLite"},{"name": "Issue #: ","value": 1}]}],"potentialAction": [{"name": "Add a comment","@type": "ActionCard","inputs": [{"isMultiLine": true,"@type": "TextInput","id": "IssueComment","isRequired": false}],"actions": [{"name": "Comment","@type": "HttpPOST","target": "https://api.github.com","body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"neocoretechs/RosJavaLite\",\n\"issueId\": 1,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"}]},{"name": "Close issue","@type": "HttpPOST","target": "https://api.github.com","body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"neocoretechs/RosJavaLite\",\n\"issueId\": 1\n}"},{"targets": [{"os": "default","uri": "#1"}],"@type": "OpenUri","name": "View on GitHub"},{"name": "Unsubscribe","@type": "HttpPOST","target": "https://api.github.com","body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 372319924\n}"}],"themeColor": "26292E"}]
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I would like to test the library but I dont find examples to register a node on ros to publish and subscribe topics.
I would like to test the classic example Talker & Listener connecting with a remote ROS master.
Many thanks in advance.
Juan Antonio
The text was updated successfully, but these errors were encountered: