Skip to content

Commit

Permalink
updated agains mrs_msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Sep 30, 2023
1 parent c90b8f9 commit cc4c111
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from gazebo_msgs.msg import ModelStates
from mavros_msgs.msg import State as MavrosState

from mrs_msgs.msg import SpawnerDiagnostics
from mrs_msgs.msg import GazeboSpawnerDiagnostics

VEHICLE_BASE_PORT = 14000
MAVLINK_TCP_BASE_PORT = 4560
Expand Down Expand Up @@ -87,7 +87,7 @@ def __init__(self, show_help=False, verbose=False):
# #{ setup communication

# diagnostics
self.diagnostics_pub = rospy.Publisher('~diagnostics', SpawnerDiagnostics,queue_size=1)
self.diagnostics_pub = rospy.Publisher('~diagnostics', GazeboSpawnerDiagnostics,queue_size=1)
self.diagnostics_timer = rospy.Timer(rospy.Duration(0.1), self.callback_diagnostics_timer)
self.action_timer = rospy.Timer(rospy.Duration(0.1), self.callback_action_timer)

Expand Down Expand Up @@ -187,7 +187,7 @@ def callback_action_timer(self, timer):

# #{ callback_diagnostics_timer
def callback_diagnostics_timer(self, timer):
diagnostics = SpawnerDiagnostics()
diagnostics = GazeboSpawnerDiagnostics()
diagnostics.spawn_called = self.spawn_called
diagnostics.processing = self.processing
diagnostics.active_vehicles = self.active_vehicles
Expand Down

0 comments on commit cc4c111

Please sign in to comment.