Michael Hope
ef4e9b86a2
Merge commit '70cda73' into dev
2015-05-29 05:32:40 +02:00
Dominic Clifton
70cda73add
Update port identifier for Naze32. Add basic documentation of the Paris
...
Air Hero 32 board.
2015-05-28 14:07:32 +01:00
Dominic Clifton
c37454ca3a
Add note explaining that the softserial feature must be enabled to allow
...
configuration of softserial ports. Fix some typos.
2015-05-28 14:06:37 +01:00
Nicholas Sherlock
3ddea2a849
Fix blackbox baudrate upper bound on CLI
...
Closes #960
2015-05-28 14:27:49 +12:00
Michael Hope
df4cf69576
serial_msp: fix the CJMCU build by conditionally including the servos serializer.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 07:05:28 +02:00
Michael Hope
0152f2d644
leds: include the missing utils.h to pull in ARRAYLEN.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 07:04:46 +02:00
Michael Hope
466081105e
travis: switch to pip for fetching the genmsg dependencies.
...
Ubuntu Precise doesn't have a pre-packaged version of catkin.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 06:44:10 +02:00
Michael Hope
9c3322221f
travis: install genmsg which is required by genmsp.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 06:38:02 +02:00
Michael Hope
6d276d49cb
Merge branch 'master' into dev
2015-05-27 06:18:01 +02:00
Michael Hope
b0aa2ee77d
serial_msp: use the generated serializers.
...
Switch the manual code to call the generated serializers.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 05:30:30 +02:00
Michael Hope
5e68c0739f
build: generate message serializers as part of the build.
...
Builds all messages under msg/ into the MSP form under
obj/main/gen/msg/. Add a dependency for serial_msp.c to ensure
they're built before use.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 05:28:54 +02:00
Michael Hope
e3612f0cf1
msg: add message defintions for a sampling of MSP messages.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 05:26:10 +02:00
Michael Hope
26740e253b
genmsg: add a template for generating flight side serializers.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 05:25:17 +02:00
Michael Hope
c7161788e6
genmsp: created a ROS message to MSP serializer generator.
...
ROS messages are a simple text based format that can be converted to
various native formats using text based templates. This patch adds
the generator itself.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-27 05:23:35 +02:00
Michael Hope
9e7e2e7eb3
msp: rework the different size encoders.
...
Tidy the encoders up. Reduce the code size stacking the encoders for
different sizes.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-24 05:37:29 +02:00
Dominic Clifton
93454d82a7
Updating sonar docs - adding a note that sonar is not available on the
...
CC3D OPBL build.
2015-05-23 11:53:45 +01:00
Dominic Clifton
0257cb0541
CC3D - Disable SONAR support on OPBL builds due to code size.
2015-05-23 11:49:48 +01:00
Michael Hope
848d996d35
various: mark more constant data so it goes into flash instead of RAM.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-23 06:08:14 +02:00
Michael Hope
4658ff5b3c
Merge branch 'master' into dev
2015-05-23 05:25:41 +02:00
Dominic Clifton
4ed6fdfea5
CC3D - Add sonar.
...
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
src/main/config/config.c
src/main/drivers/pwm_mapping.h
src/main/main.c
src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01:00
Dominic Clifton
a370d60595
Support UART3 and I2C on Paris Air Hero 32 Flex port (aka Naze32_SP).
...
This change also allows serial ports to be removed at runtime. e.g.
UART3 on Naze32 and SoftSerial 1 & 2 when softserial is not enabled.
2015-05-22 20:49:33 +01:00
Dominic Clifton
f2013ab863
Merge pull request #936 from sherlockflight/blackbox-arm-beep
...
Fix Blackbox arming beep time logging
2015-05-22 14:02:54 +01:00
Michael Hope
34262c17cf
various: use enums to make the code easier to read.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-22 05:29:14 +02:00
Michael Hope
f0152a19ab
various: use ARRAYLEN() in more places.
...
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-22 05:28:06 +02:00
Michael Hope
01276ca47b
gpio: change to argument struct to const.
...
I had hoped this would also shrink the memory usage by letting the
compiler put the incoming struct into flash, but it's already doing
that.
Signed-off-by: Michael Hope <mlhx@google.com>
2015-05-22 05:25:53 +02:00
Dominic Clifton
11a4622a46
Adding attributions for some of the Graupner SumH code.
2015-05-21 23:10:00 +01:00
Dominic Clifton
d9de29129e
Fix missing use of doubles instead of floats in SumH code.
2015-05-21 23:04:45 +01:00
Nicholas Sherlock
94faf58e43
Update Blackbox docs to reflect new arming beep
2015-05-21 16:32:51 +12:00
Dominic Clifton
20a6f829d5
SPRacingF3 - Add support for airplane pwm mappings.
2015-05-21 02:02:33 +01:00
Dominic Clifton
48570502cb
Fixing missing pitch/roll rate inflight adjustment function
...
configuration settings.
2015-05-20 20:30:39 +01:00
Dominic Clifton
adf0ca9fcf
Cleanup Cli.md formatting.
2015-05-20 11:32:46 +01:00
Dominic Clifton
3077d115aa
Updating documentation around rx_min_usec
rx_max_usec
and mode
...
ranges.
2015-05-20 11:11:27 +01:00
Dominic Clifton
321c3e4ed9
Adding notes about GPS and MAG sensor positioning.
2015-05-20 11:10:13 +01:00
Dominic Clifton
11eb0bf4d4
Update adding the new adjustment functions to the Inflight adjustments
...
documentation
2015-05-20 09:32:11 +01:00
Dominic Clifton
7a01bab50f
Constrain invalid values by using rx_min_usec and rc_max_usec. Provide
...
sensible/fix min/max settings for those settings.
This fixes erratic flight behaviour before failsafe kicks in on SBus
receivers.
An X8R SBus RX in failsafe mode outputs 880 on all channels.
See #918 and #919
2015-05-20 00:28:52 +01:00
Dominic Clifton
22bf890cf0
Allow mixer to use failsafe throttle value that is less than
...
minthrottle.
2015-05-19 23:45:27 +01:00
Dominic Clifton
d0a9d14b87
Allow CLI to be compiled out.
...
First cut, as proof-of-concept. This allows CJMCU target to be built
without CLI and with Blackbox.
2015-05-19 23:42:41 +01:00
Dominic Clifton
67c6967da7
Ensure rx signal loss detection works for parallel pwm.
2015-05-19 22:48:05 +01:00
Dominic Clifton
23303198bb
Update unit test for mixer behavior changed in
...
cc5c736362
2015-05-19 21:42:48 +01:00
Dominic Clifton
3a334c54fc
Revert "Updating failsafe documentation to include details about how failsafe"
...
This reverts commit 5a05c19bb6
.
Fixed by cc5c736362
2015-05-19 21:31:54 +01:00
Dominic Clifton
43a74f0d46
Merge pull request #917 from MJ666/yaw_jump_updates
...
Flight - Yaw jump updates
2015-05-19 21:20:48 +01:00
Dominic Clifton
33e0718884
Merge pull request #911 from borisbstyle/docs
...
PID1 Horizon Doc changed + TPA doc adjusted.
2015-05-19 21:20:26 +01:00
Dominic Clifton
cc5c736362
Fix failsafe_throttle
being ignored if it was less than min_check
...
when MOTOR_STOP was enabled.
2015-05-19 21:16:24 +01:00
Dominic Clifton
53eec05809
Avoid updating in-flight adjustments when not receiving rx data.
2015-05-19 20:44:01 +01:00
Dominic Clifton
26f2affd88
Ignore SBus end byte checking, this should improve compatibility with
...
some Futaba SBUS RX's that send telemetry data after SBus frames. Fixes
#590
2015-05-19 19:41:15 +01:00
Dominic Clifton
5a05c19bb6
Updating failsafe documentation to include details about how failsafe
...
works in combination with other settings and when using failsafe in
conjunction with MOTOR_STOP.
See #912 and #488
2015-05-19 17:50:24 +01:00
Michael Jakob
0ef236a50a
Another documentation update
2015-05-19 17:54:57 +02:00
Michael Jakob
50d5ec4e21
Fix typo in CLI.md
2015-05-19 17:47:06 +02:00
Michael Jakob
42218f1ea5
The yaw_p_limit minimum is now set to 100 to prevent misconfigurations.
...
Maximum value of 500 is now removing the limit (same as for
yaw_jump_prevention_limit)
Moving defines for PID controllers to headerfiles.
Some general code cleanup.
Documentation update
2015-05-19 17:42:03 +02:00
atomiclama
713e138c42
Changed idle pulse width from fixed 1ms to that configured.
...
Stops motors, that have none standard pulse ranges, from running up
after a save or exit from cli.
2015-05-19 16:02:27 +01:00