forked from Archive/PX4-Autopilot
commit
4f0f2b0329
|
@ -1,10 +1,10 @@
|
|||
#!nsh
|
||||
#
|
||||
# Generic rover
|
||||
# loading default values for the axialracing ax10
|
||||
#
|
||||
|
||||
#load some defaults e.g. PWM values
|
||||
sh /etc/init.d/rc.rover_defaults
|
||||
sh /etc/init.d/rc.axialracing_ax10_defaults
|
||||
|
||||
#choose a mixer, for rover control we need a plain passthrough to the servos
|
||||
set MIXER IO_pass
|
|
@ -287,10 +287,10 @@ fi
|
|||
|
||||
|
||||
#
|
||||
# Ground Rover
|
||||
# Ground Rover AxialRacing AX10
|
||||
#
|
||||
if param compare SYS_AUTOSTART 50001
|
||||
then
|
||||
sh /etc/init.d/50001_rover
|
||||
sh /etc/init.d/50001_axialracing_ax10
|
||||
fi
|
||||
|
||||
|
|
|
@ -6,4 +6,5 @@
|
|||
|
||||
ekf_att_pos_estimator start
|
||||
|
||||
rover_steering_control start
|
||||
# disabled the start of steering control app due to use of offboard mode only
|
||||
# rover_steering_control start
|
|
@ -19,8 +19,8 @@ set PWM_RATE 50
|
|||
set PWM_DISARMED 1500
|
||||
|
||||
# PWM range
|
||||
set PWM_MIN 1200
|
||||
set PWM_MAX 1800
|
||||
set PWM_MIN 1100
|
||||
set PWM_MAX 1900
|
||||
|
||||
# Enable servo output on pins 3 and 4 (steering and thrust)
|
||||
# but also include 1+2 as they form together one output group
|
|
@ -631,7 +631,7 @@ then
|
|||
# Start standard rover apps
|
||||
if [ $LOAD_DAPPS == yes ]
|
||||
then
|
||||
sh /etc/init.d/rc.rover_apps
|
||||
sh /etc/init.d/rc.axialracing_ax10_apps
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -155,7 +155,6 @@ int parameters_update(const struct param_handles *h, struct params *p)
|
|||
void control_attitude(const struct vehicle_attitude_setpoint_s *att_sp, const struct vehicle_attitude_s *att,
|
||||
struct actuator_controls_s *actuators)
|
||||
{
|
||||
|
||||
/*
|
||||
* The PX4 architecture provides a mixer outside of the controller.
|
||||
* The mixer is fed with a default vector of actuator controls, representing
|
||||
|
|
Loading…
Reference in New Issue