Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rover #1818

Closed
wants to merge 5 commits into from
Closed

Rover #1818

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ROMFS/px4fmu_common/init.d/50001_rover
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

sh /etc/init.d/rc.rover_defaults

set MIXER IO_pass.mix
set MIXER IO_pass

set PWM_OUT 1234
9 changes: 9 additions & 0 deletions ROMFS/px4fmu_common/init.d/rc.autostart
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,12 @@ then
fi



#
# Ground Rover
#
if param compare SYS_AUTOSTART 50001
then
sh /etc/init.d/50001_rover
fi

1 change: 1 addition & 0 deletions ROMFS/px4fmu_common/init.d/rcS
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ then
# Rover setup
#
if [ $VEHICLE_TYPE == rover ]
then
# 10 is MAV_TYPE_GROUND_ROVER
set MAV_TYPE 10

Expand Down
38 changes: 38 additions & 0 deletions ROMFS/px4fmu_common/mixers/IO_pass.main.mix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
Passthrough mixer for PX4IO
============================

This file defines passthrough mixers suitable for testing.

Channel group 0, channels 0-7 are passed directly through to the outputs.

M: 1
O: 10000 10000 0 -10000 10000
S: 0 0 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 1 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 2 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 3 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 4 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 5 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 6 10000 10000 0 -10000 10000

M: 1
O: 10000 10000 0 -10000 10000
S: 0 7 10000 10000 0 -10000 10000