Commit Graph

234 Commits

Author SHA1 Message Date
stefanlynka fd2eb8bb31 Tracker: Adding altitude difference calculation using relative altitude. 2016-07-06 16:55:13 +09:00
stefanlynka ca22f6612d Tracker: Changing pitch_range to pitch_min and pitch_max 2016-07-06 16:51:31 +09:00
stefanlynka 18e51da12d Tracker: Changed yaw slew margin 2016-07-06 16:40:22 +09:00
Randy Mackay 50bfd6e7fd Tracker: set armed state in mavlink heartbeat 2016-07-06 12:01:12 +09:00
Randy Mackay a079c7bf4c Tracker: bug fix re ignoring invalid START_LAT message 2016-07-06 12:01:04 +09:00
Andrew Tridgell 8df07741c1 Tracker: fixed typo 2016-07-01 15:34:44 +10:00
Randy Mackay 752c1834e1 Tracker: version to 0.8 and release notes 2016-06-22 10:40:30 +09:00
Randy Mackay df55760d77 Tracker: remove unused servo_limit structure 2016-06-22 10:13:08 +09:00
stefanlynka 2b7203e4d1 Tracker: Changed PID to AC_PID 2016-06-22 10:06:00 +09:00
Tom Pittenger 24b7f69dad Tracker: ignore ADSB_VEHICLE packet handling 2016-06-19 11:24:32 -07:00
Randy Mackay 9bdbf7785f Tracker: minor parameter description and comment fix 2016-06-15 18:23:48 +09:00
stefanlynka ef60c202b4 Tracker: Added altitude offset based on alt_source 2016-06-15 18:17:01 +09:00
stefanlynka 6f88da07aa Tracker: Adding alt_source enum 2016-06-15 18:16:59 +09:00
stefanlynka ce3f3012c5 Tracker: Change vehicle info used to calculate offset 2016-06-15 18:16:57 +09:00
stefanlynka 17355baa83 Tracker: Added parameter for mavlink update rate 2016-06-15 18:16:55 +09:00
Randy Mackay 1a08f4b13f Tracker: version to 0.7.8 including ReleaseNotes 2016-06-10 10:52:02 +09:00
Randy Mackay 0e3dfb9e5e Tracker: fix formatting issues 2016-06-09 23:13:51 +09:00
stefanlynka f3461d182f Tracker: Added vehicle position log 2016-06-09 23:10:19 +09:00
stefanlynka d151b4481a Tracker: changing baro log data 2016-06-09 23:09:40 +09:00
stefanlynka 0c06e62bce Tracker: fixed calibration bug 2016-06-04 09:13:00 +09:00
Peter Barker ad4d23c34d Tracker: move telemetry_delayed up into base class 2016-05-31 08:46:10 +10:00
Randy Mackay 645a42c120 Tracker: update 0.7.7 release notes 2016-05-30 17:35:05 +09:00
Peter Barker ddd956f8e1 Tracker: move adjust_rate_for_stream up 2016-05-29 21:24:41 +10:00
Peter Barker df190d1e86 Tracker: subclass GCS_MAVLink in place of defining its functions for it 2016-05-29 16:21:21 +10:00
Randy Mackay 47c5eaa3ac Tracker: Version and ReleaseNotes for 0.7.7 2016-05-28 16:09:41 +09:00
Randy Mackay 68e4a83f44 Tracker: fix formatting and gps based alt difference 2016-05-25 09:51:30 +09:00
stefanlynka 1293b16589 Tracker: Allows choice of altitude source 2016-05-25 09:51:30 +09:00
stefanlynka fd61a903f9 Tracker: Changing name of altitude_difference to alt_difference_baro 2016-05-25 09:51:30 +09:00
Andrew Tridgell 8c3bbdaf73 AntennaTracker: don't stall EKF during baro cal 2016-05-24 17:00:55 +10:00
stefanlynka d2ec395cdf Tracker: Making servo type customizable 2016-05-24 11:13:53 +09:00
Andrew Tridgell 57c39cbfa0 AntennaTracker: use send_heartbeat wrapper 2016-05-21 15:25:18 +10:00
Andrew Tridgell 16901ffb2b AntennaTracker: use HAVE_PAYLOAD_SPACE() 2016-05-21 15:25:17 +10:00
Andrew Tridgell d3c19de9df AntennaTracker: simplify UART setup 2016-05-21 15:25:16 +10:00
Andrew Tridgell 181eb9e4ef AntennaTracker: always build with MAVLink2 headers 2016-05-21 15:25:15 +10:00
Andrew Tridgell d4cb7b8970 AntennaTracker: use GCS_MAVLINK::packet_overhead_chan() 2016-05-21 15:25:14 +10:00
Andrew Tridgell 5bf13ecc69 AntennaTracker: update signing timestamp on GPS lock 2016-05-21 15:25:13 +10:00
Andrew Tridgell b5d1dc6643 AntennaTracker: handle SETUP_SIGNING message 2016-05-21 15:25:12 +10:00
Andrew Tridgell 23197b0689 AntennaTracker: cleanup unnecessarily complex gcs[] usage 2016-05-17 08:27:01 +10:00
Ricardo de Almeida Gonzaga 6b93f974d3 AntennaTracker: Fix typos 2016-05-13 19:20:07 -03:00
stefanlynka e06c900812 Tracker: add Vbar dataflash message 2016-05-13 12:26:27 +09:00
dgrat 41661f815f AP_Math: Replace the pythagorous* functions with a variadic template
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
2016-05-10 11:41:26 -03:00
dgrat 76362caee0 AP_Math: Replace wrap_* functions with template versions 2016-05-10 11:41:26 -03:00
skyscraper 662cefd086 AntennaTracker: Fix up after refactoring RC_Channel class
Further to refactor of RC_Channel class which included
adding get_xx set_xx methods, change reads and writes to the public members
to calls to  get and set functionsss

old public member(int16_t)   get function -> int16_t     set function (int16_t)
(expression where c is an object of type RC_Channel)
c.radio_in                     c.get_radio_in()           c.set_radio_in(v)
c.control_in                   c.get_control_in()         c.set_control_in(v)
c.servo_out                    c.get_servo_out()          c.set_servo_out(v)
c.pwm_out                      c.get_pwm_out()            // use existing
c.radio_out                    c.get_radio_out()          c.set_radio_out(v)
c.radio_max                    c.get_radio_max()          c.set_radio_max(v)
c.radio_min                    c.get_radio_min()          c.set_radio_min(v)
c.radio_trim                   c.get_radio_trim()         c.set_radio_trim(v);

c.min_max_configured() // return true if min and max are configured

Because data members of RC_Channels are now private and so cannot be written directly
 some overloads are provided in the Plane classes to provide the old functionality

new overload Plane::stick_mix_channel(RC_Channel *channel)
which forwards to the previously existing
void stick_mix_channel(RC_Channel *channel, int16_t &servo_out);

new overload Plane::channel_output_mixer(Rc_Channel* , RC_Channel*)const
which forwards to
(uint8_t mixing_type, int16_t & chan1, int16_t & chan2)const;

Rename functions

 RC_Channel_aux::set_radio_trim(Aux_servo_function_t function)
    to RC_Channel_aux::set_trim_to_radio_in_for(Aux_servo_function_t function)

 RC_Channel_aux::set_servo_out(Aux_servo_function_t function, int16_t value)
    to RC_Channel_aux::set_servo_out_for(Aux_servo_function_t function, int16_t value)

 Rationale:

        RC_Channel is a complicated class, which combines
        several functionalities dealing with stick inputs
        in pwm and logical units, logical and actual actuator
        outputs, unit conversion etc, etc
        The intent of this PR is to clarify existing use of
        the class. At the basic level it should now be possible
        to grep all places where private variable is set by
        searching for the set_xx function.

        (The wider purpose is to provide a more generic and
        logically simpler method of output mixing. This is a small step)
2016-05-10 16:21:16 +10:00
Leandro Pereira f23bd7e09d GCS_MAVLink: Use a single stream_trigger() implementation
This has no side effects, but since all implementations were basically
the same, move the implementation to GCS_Common and the only part that
adjusts the rate based on which which stream to each individual
GCS_MAVLINK implementation.
2016-05-07 23:49:35 -03:00
Andrew Tridgell 71b121837a AntennaTracker: adjust for changed logging APIs 2016-05-07 18:27:18 +10:00
Lucas De Marchi fea084a596 Global: use ap_version.h
This header is used by waf to contain the generated version macros,
particularly using the git hash. For waf it's better to be in a separate
header since it then can keep track of changes on it a trigger
recompilation.

For the make build system, a dummy ap_version.h file has been added in
the missing/ folder so both implementations can co-exist.
2016-05-06 13:11:28 -03:00
Lucas De Marchi 49a46e463f AntennaTracker: use separate header for version macro
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.

Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
2016-05-06 13:11:28 -03:00
Michael du Breuil 06b9fa293c AntennaTracker: Ignore POSITION_TARGET_GLOBAL_INT 2016-05-01 07:38:23 +10:00
Niti Rohilla 052fc6b85e AntennaTracker : Updated handle_guided_request() to report error. 2016-04-29 12:39:28 -03:00
Luis Vale Gonçalves 7dbc97ec35 Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:43 -07:00