mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Fix RC range reversal
This commit is contained in:
parent
dd19a7302d
commit
51a8ec0ba8
35
ArduPlane/APM_Config.h~
Normal file
35
ArduPlane/APM_Config.h~
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
|
||||||
|
// This file is just a placeholder for your configuration file. If you wish to change any of the setup parameters from
|
||||||
|
// their default values, place the appropriate #define statements here.
|
||||||
|
|
||||||
|
// For example if you wanted the Port 3 baud rate to be 38400 you would add a statement like the one below (uncommented)
|
||||||
|
//#define SERIAL3_BAUD 38400
|
||||||
|
//#define GCS_PROTOCOL GCS_PROTOCOL_NONE
|
||||||
|
|
||||||
|
|
||||||
|
// You may also put an include statement here to point at another configuration file. This is convenient if you maintain
|
||||||
|
// different configuration files for different aircraft or HIL simulation. See the examples below
|
||||||
|
//#include "APM_Config_mavlink_hil.h"
|
||||||
|
//#include "Skywalker.h"
|
||||||
|
|
||||||
|
// The following are the recommended settings for Xplane simulation. Remove the leading "/* and trailing "*/" to enable:
|
||||||
|
|
||||||
|
/*
|
||||||
|
#define HIL_PROTOCOL HIL_PROTOCOL_MAVLINK
|
||||||
|
#define HIL_MODE HIL_MODE_ATTITUDE
|
||||||
|
#define HIL_PORT 0
|
||||||
|
#define GCS_PROTOCOL GCS_PROTOCOL_MAVLINK
|
||||||
|
#define GCS_PORT 3
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
// ----- Camera definitions ------
|
||||||
|
// ------------------------------
|
||||||
|
#define CAMERA ENABLED
|
||||||
|
#define CAM_DEBUG DISABLED
|
||||||
|
|
||||||
|
// - Options to reduce code size -
|
||||||
|
// -------------------------------
|
||||||
|
// Disable text based terminal configuration
|
||||||
|
#define CLI_ENABLED DISABLED
|
@ -1,6 +1,6 @@
|
|||||||
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
|
||||||
|
|
||||||
#define THISFIRMWARE "ArduPilotMega V2.23"
|
#define THISFIRMWARE "ArduPilotMega V2.24"
|
||||||
/*
|
/*
|
||||||
Authors: Doug Weibel, Jose Julio, Jordi Munoz, Jason Short
|
Authors: Doug Weibel, Jose Julio, Jordi Munoz, Jason Short
|
||||||
Thanks to: Chris Anderson, HappyKillMore, Bill Premerlani, James Cohen, JB from rotorFX, Automatik, Fefenin, Peter Meister, Remzibi
|
Thanks to: Chris Anderson, HappyKillMore, Bill Premerlani, James Cohen, JB from rotorFX, Automatik, Fefenin, Peter Meister, Remzibi
|
||||||
@ -581,7 +581,7 @@ static void medium_loop()
|
|||||||
|
|
||||||
// For now point the camera manually via the RC inputs (later remove these two lines)
|
// For now point the camera manually via the RC inputs (later remove these two lines)
|
||||||
// for simple dcm tests, replace k_manual with k_stabilise
|
// for simple dcm tests, replace k_manual with k_stabilise
|
||||||
camera_mount.set_mode(AP_Mount::k_manual);
|
camera_mount.set_mode(AP_Mount::k_stabilise);
|
||||||
camera_mount.update_mount();
|
camera_mount.update_mount();
|
||||||
|
|
||||||
g.camera.trigger_pic_cleanup();
|
g.camera.trigger_pic_cleanup();
|
||||||
|
@ -17,7 +17,7 @@ public:
|
|||||||
// The increment will prevent old parameters from being used incorrectly
|
// The increment will prevent old parameters from being used incorrectly
|
||||||
// by newer code.
|
// by newer code.
|
||||||
//
|
//
|
||||||
static const uint16_t k_format_version = 11;
|
static const uint16_t k_format_version = 12;
|
||||||
|
|
||||||
// The parameter software_type is set up solely for ground station use
|
// The parameter software_type is set up solely for ground station use
|
||||||
// and identifies the software type (eg ArduPilotMega versus ArduCopterMega)
|
// and identifies the software type (eg ArduPilotMega versus ArduCopterMega)
|
||||||
|
BIN
ArduPlane/serialsent.raw
Normal file
BIN
ArduPlane/serialsent.raw
Normal file
Binary file not shown.
2
ArduPlane/upload1
Executable file
2
ArduPlane/upload1
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
avrdude -c arduino -p m1280 -P /dev/ttyUSB1 -b57600 -U /tmp/ArduPlane.build/ArduPlane.hex
|
Loading…
Reference in New Issue
Block a user