File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ _typedefault(::Type{Duration}) = Duration(0,0)
631
631
_typerepr {T} (:: Type{T} ) = error (" Not a ROS type" )
632
632
633
633
# Default method to get the request/response datatypes for a generated service
634
- _srv_reqtype{T} ( :: Type{T} ) = error (" Not a ROS Service type" )
634
+ _srv_reqtype {T} ( :: Type{T} ) = error (" Not a ROS Service type" )
635
635
_srv_resptype {T} (:: Type{T} ) = error (" Not a ROS Service type" )
636
636
637
637
# Get the full ROS name for a module (e.g., 'std_msgs.msg' or nav_msgs.srv')
Original file line number Diff line number Diff line change 52
52
- (t1:: Time , t2:: Time ) = Duration (t1. secs- t2. secs, t1. nsecs- t2. nsecs)
53
53
54
54
# PyObject conversions
55
- convert (:: Type{Time} , o:: PyObject ) = Time ( o[:secs ],o[:nsecs ])
55
+ convert (:: Type{Time} , o:: PyObject ) = Time ( o[:secs ],o[:nsecs ])
56
56
convert (:: Type{Duration} , o:: PyObject ) = Duration (o[:secs ],o[:nsecs ])
57
- convert (:: Type{PyObject} , t:: Time ) = __rospy__. Time ( t. secs,t. nsecs)
57
+ convert (:: Type{PyObject} , t:: Time ) = __rospy__. Time ( t. secs,t. nsecs)
58
58
convert (:: Type{PyObject} , t:: Duration ) = __rospy__. Duration (t. secs,t. nsecs)
59
59
60
60
# Real number conversions
You can’t perform that action at this time.
0 commit comments