File tree 1 file changed +1
-11
lines changed
1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,6 @@ impl Drop for AbortJoinHandle {
22
22
}
23
23
24
24
impl RosMonitor {
25
- #[ cfg( not( unix) ) ]
26
- pub fn new ( _command : impl Into < OsString > ) -> Self {
27
- Self {
28
- state : Arc :: new ( Mutex :: new ( state:: RosState :: default ( ) ) ) ,
29
- channel : Arc :: new ( Mutex :: new ( None ) ) ,
30
- _task : Arc :: new ( AbortJoinHandle ( tokio:: spawn ( async { } ) ) ) ,
31
- }
32
- }
33
-
34
- #[ cfg( unix) ]
35
25
pub fn new ( command : impl Into < OsString > ) -> Self {
36
26
use std:: process:: Stdio ;
37
27
use tokio:: io:: AsyncReadExt ;
@@ -108,7 +98,7 @@ impl RosMonitor {
108
98
if let Err ( error) = error {
109
99
let mut reason = String :: new ( ) ;
110
100
if error. to_string ( ) . contains ( "error while loading shared libraries" ) {
111
- reason. push_str ( "Please make sure that ROS is sourced, and try at least rolling or jazzy release ." ) ;
101
+ reason. push_str ( "Please make sure that ROS is sourced, and try at least ROS jazzy." ) ;
112
102
}
113
103
log:: error!( "ROS discovery is not available:\n {:?}{}" , error, reason) ;
114
104
}
You can’t perform that action at this time.
0 commit comments