Skip to content

Commit d240ee9

Browse files
Thomas StastnyJaeyoung-Lim
authored andcommitted
fw_pos_control_l1: integrate optional use of npfg
uorb: npfg_status msg
1 parent ef2cc9a commit d240ee9

File tree

6 files changed

+492
-63
lines changed

6 files changed

+492
-63
lines changed

msg/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ set(msg_files
100100
mount_orientation.msg
101101
multirotor_motor_limits.msg
102102
navigator_mission_item.msg
103+
npfg_status.msg
103104
obstacle_distance.msg
104105
offboard_control_mode.msg
105106
onboard_computer_status.msg

msg/npfg_status.msg

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
uint64 timestamp # time since system start (microseconds)
2+
3+
uint8 wind_est_valid # (boolean) true = wind estimate is valid and being used by controller
4+
float32 lat_accel # resultant lateral acceleration reference [m/s^2]
5+
float32 lat_accel_ff # lateral acceleration demand only for maintaining curvature [m/s^2]
6+
float32 bearing_feas # bearing feasibility [0,1]
7+
float32 bearing_feas_on_track # on-track bearing feasibility [0,1]
8+
float32 signed_track_error # signed track error [m]
9+
float32 track_error_bound # track error bound [m]
10+
float32 airspeed_ref # airspeed reference [m/s]
11+
float32 bearing # bearing angle [rad]
12+
float32 heading_ref # heading angle reference [rad]
13+
float32 min_ground_speed_ref # minimum forward ground speed reference [m/s]
14+
float32 adapted_period # adapted period (if auto-tuning enabled) [s]
15+
float32 p_gain # controller proportional gain [rad/s]
16+
float32 time_const # controller time constant [s]

src/modules/fw_pos_control_l1/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ px4_add_module(
4444
l1
4545
launchdetection
4646
landing_slope
47+
npfg
4748
runway_takeoff
4849
tecs
4950
)

0 commit comments

Comments
 (0)