You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-9Lines changed: 10 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,22 +139,23 @@ example:
139
139
ROS services are fully supported, including automatic request and response type
140
140
generation. For the `@rosimport` call, use the plain service type name. After
141
141
`rostypegen()`, the generated `.srv` submodule will contain 3 types: the plain
142
-
type, a request type, and a response type. For example `GetPlan`,
143
-
`GetPlanRequest`, and `GetPlanResponse`. To provide the service to other nodes,
144
-
you would create a `Service{GetPlan}` object. To call it, a
145
-
`ServiceProxy{GetPlan}` object. The syntax exactly matches rospy to construct
146
-
and use these objects. The only exception is in Julia v0.3, where the `call`
147
-
method is not overloaded for objects. In that case, you must call the
148
-
`ServiceProxy` via `call(myproxy, myreq)` instead of the rospy method of
149
-
`myproxy(myreq)` which works in later versions of Julia.
142
+
type, a request type, and a response type. For example `@rosimport
143
+
nav_msgs.srv.GetPlan` will create `GetPlan`, `GetPlanRequest`, and
144
+
`GetPlanResponse`. To provide the service to other nodes, you would create a
145
+
`Service{GetPlan}` object. To call it, a `ServiceProxy{GetPlan}` object. The
146
+
syntax exactly matches rospy to construct and use these objects. For example,
147
+
if `myproxy` is a `ServiceProxy` object, it can be called with
148
+
`myproxy(my_request)`.
150
149
151
150
### Parameter Server
152
151
153
152
`get_param`, `set_param`, `has_param`, and `delete_param` are all implemented
154
153
in the `RobotOS` module with the same syntax as in rospy.
155
154
156
155
### Message Constants
157
-
Message constants may be accessed using `getindex` syntax. For example for [visualization_msgs/Marker.msg](http://docs.ros.org/api/visualization_msgs/html/msg/Marker.html) we have:
156
+
Message constants may be accessed using `getindex` syntax. For example for
0 commit comments