File tree Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Expand file tree Collapse file tree 2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change 55
66import  {  EventEmitter  }  from  'eventemitter3' ; 
77import  Ros  from  '../core/Ros.js' ; 
8- import  {  GoalStatus  }  from  '../core/GoalStatus.ts ' ; 
8+ import  {  GoalStatus  }  from  '../types/RosMessageTypes.js ' ; 
99
1010/** 
1111 * A ROS 2 action client. 
@@ -217,7 +217,7 @@ export default class Action extends EventEmitter {
217217      id : id , 
218218      action : this . name , 
219219      values : result , 
220-       status : GoalStatus . STATUS_SUCCEEDED , 
220+       status : GoalStatus . Succeeded , 
221221      result : true 
222222    } ; 
223223    this . ros . callOnConnection ( call ) ; 
@@ -235,7 +235,7 @@ export default class Action extends EventEmitter {
235235      id : id , 
236236      action : this . name , 
237237      values : result , 
238-       status : GoalStatus . STATUS_CANCELED , 
238+       status : GoalStatus . Canceled , 
239239      result : true 
240240    } ; 
241241    this . ros . callOnConnection ( call ) ; 
@@ -251,7 +251,7 @@ export default class Action extends EventEmitter {
251251      op : 'action_result' , 
252252      id : id , 
253253      action : this . name , 
254-       status : GoalStatus . STATUS_ABORTED , 
254+       status : GoalStatus . Aborted , 
255255      result : false 
256256    } ; 
257257    this . ros . callOnConnection ( call ) ; 
Load Diff This file was deleted. 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments