Skip to content

Commit

Permalink
removed dependency on uavf_msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Herpderk committed Aug 21, 2023
1 parent 66288b6 commit 3e4edc0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/commander_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
import rclpy
from rclpy.node import Node
from rclpy.qos import QoSProfile, ReliabilityPolicy, HistoryPolicy, DurabilityPolicy
from uavf_msgs.msg import NedEnuOdometry, NedEnuSetpoint, CommanderOutput
from px4_offboard_mpc.msg import NedEnuWaypoint, NedEnuSetpoint, CommanderOutput


class CommanderNode(Node):
''' Received input from every ongoing process.
''' Receives input from every ongoing process.
Output to PX4 Interface Node.
'''

Expand Down
2 changes: 1 addition & 1 deletion scripts/controller_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from rclpy.node import Node
from rclpy.qos import QoSProfile, ReliabilityPolicy, HistoryPolicy, DurabilityPolicy
from px4_offboard_mpc.sqp_nlmpc import derive_quad_dynamics, SQP_NLMPC
from uavf_msgs.msg import NedEnuOdometry, NedEnuSetpoint
from px4_offboard_mpc.msg import NedEnuOdometry, NedEnuSetpoint

import numpy as np

Expand Down
2 changes: 1 addition & 1 deletion scripts/telemetry_interface_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from rclpy.qos import QoSProfile, ReliabilityPolicy, HistoryPolicy, DurabilityPolicy
from px4_msgs.msg import TrajectorySetpoint, VehicleAttitudeSetpoint, VehicleRatesSetpoint,\
OffboardControlMode, VehicleCommand, VehicleStatus, VehicleOdometry, VehicleGlobalPosition
from uavf_msgs.msg import GpsAltitudePosition, NedEnuOdometry, CommanderOutput
from px4_offboard_mpc.msg import GpsAltitudePosition, NedEnuOdometry, CommanderOutput

from px4_offboard_mpc.ned_enu_conversions import convert_NED_ENU_in_inertial, convert_NED_ENU_in_body, \
convert_body_to_inertial_frame, convert_inertial_to_body_frame
Expand Down
2 changes: 1 addition & 1 deletion scripts/waypoint_tracker_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import rclpy
from rclpy.node import Node
from rclpy.qos import QoSProfile, ReliabilityPolicy, HistoryPolicy, DurabilityPolicy
from uavf_msgs.msg import GpsAltitudePosition, NedEnuOdometry, NedEnuWaypoint
from px4_offboard_mpc.msg import GpsAltitudePosition, NedEnuOdometry, NedEnuWaypoint

import numpy as np
import json
Expand Down

0 comments on commit 3e4edc0

Please sign in to comment.