18 Commits

Author SHA1 Message Date
Matt Lawrence
4bc6c6c8d0 Shotmanager: Fix instantiation 2020-01-10 18:17:35 -05:00
Matt Lawrence
8314deb85a GoPro: Use ArduCopter shutter if GoPro not connected
This will allow any other camera connected to the Solo to be triggered by the Solo's shutter controls if no GoPro is connected.  So, if no GoPro is connected, it will send the mavlink command for triggering the shutter in ArduCopter.  Whatever servo output have defined as a camera trigger will fire.
2019-05-05 19:44:09 -04:00
Matt Lawrence
4f07205c37 ExtFunctions: Fixed gripper typo in code 2019-05-05 19:44:09 -04:00
Matt Lawrence
cac8cc9b5e GOPRO: Set GoPro clock automatically
User or app needs to change /usr/bin/extSettings.conf "timeOffsetHrs" to be their local time offset from UTC in hours. The default is "None", and the clock will not update. The Solo has no other way to know what timezone it is in, so this must be set manually or with the app.  If set, for example to -5, the GoPro clock will automatically be set for the current UTC time minus 5 hours (eastern standard time).
2019-05-05 19:44:09 -04:00
Matt Lawrence
37a4180df0 Flight Code: Battery health monitoring
Warn user through app if:
- Battery capacity health sucks (<3500mah)
- Cell voltage less than 3.49v
- Cell voltage diff greater than 200mv
2019-05-05 19:44:09 -04:00
Matt
e2d3e13d4e BUTTONS: Update A & B Defaults
Update to the default settings for A & B single press functions.
A: Manual
B: Position Hold
2017-12-25 11:48:04 -05:00
Matt
d24199b26e MODES: Add newer ArduCopter flight modes
Several new flight modes were added to ArduCopter since the Solo was
created. This patch adds
- Throw mode
- ADS-B Avoidance (not a user mode)
- Guided w/ no GPS
- Smart RTL
2017-12-24 12:23:51 -05:00
Matt
41e7130b0f SHOTS: Remove workaround for MOUNT_CONTROL bug
The bug in ArduCopter master that made MSG_MOUNT_CONTROL fail to yaw the
copter in smart shots has been found and fixed as of Fri 12/22.  It is
merged into master and begin backported to 3.5.5.  As such, the
workaround (simultaneous CONDITION_YAW commands) can now be removed from
the smart shots.  Also cleaned up the code around it a bit.
2017-12-22 21:36:22 -05:00
Buzz
4eadebe166 README: Update caution message 2017-12-19 09:56:10 +10:00
Matt
19ea16784c GOPRO: Add photo logging output for Solex GCS app
The Solex GCS app has a photo logging function for missions and geo
tagging.  This sends the applicable data from the Solo to the app.
2017-12-18 18:04:56 -05:00
Matt
49b199ea64 SHOTMANAGER: Update for buttons, speeds, RTL, reliability
Multiple updates for the following:
- Button handling for Open Solo
- Rework shot entry/exit for reliability
- Acceleration rate standardization
2017-12-18 18:04:56 -05:00
Matt
39743a9be0 SHOTS: Update for buttons, AC Master, & speeds
Update to all smart shots for some or all of the following:
- Button handling for the new Open Solo button handling rework
- Copter yaw compatibility with ArduCopter master
- Accelleration fixes and standardization
2017-12-18 18:04:56 -05:00
Matt
296a8af950 BUTTONS: Rework and expand button handling
This adds functionality for addition button options.  Adds short and
long hold options for the A, B, and trigger buttons, plus long hold
options for the gimbal preset buttons.  This also significantly cleans
up the handling, making it more robust.  Junk and unused functions are
dumped.  This is required to marry up with similar updates to the Artoo
STM32.  As such, you do need to have Open Solo on both the controller
and solo.  Also adds additional logging.  Additional commits to follow
make corresponding button handling changes to the smart shots, which are
also required.
2017-12-18 18:04:56 -05:00
Matt
244546d390 REWIND: Discontinue rewind smart shot
The rewind smart shot has a number of reliability and safety issues.  As
such, it is being discontinued in Open Solo.  If anything still happens
to call the rewind smart shot, it will immediately exit to ArduCopter
RTL mode.
2017-12-18 18:04:56 -05:00
Matt
879f8352a3 RTH: Discontinue ReturnHome smart shot
The ReturnHome smart shot presents a number of reliability and safety
issues. As such, its use is being discontinued and we're using
ArduCopter RTL mode instead.  If anything still happens to call the
return home smart shot, it will immediately change to the ArduCopter RTL
mode.
2017-12-18 18:04:56 -05:00
Matt
276efaa94a RC: Use ArduCopter throttle failsafe correctly
This ensures that if the RC control is lost, the throttle channel will
drop below the ArduCopter FS_THR_VALUE in both the 3DR ArduCopter
releases and the ArduCopter master releases.  the PixRC file in SoloLink
does the same thing, so this is kind of redundent.
2017-12-18 18:04:56 -05:00
Buzz
1786e4eddc TURNOVER: Update git URLs from 3DR to Open Solo 2017-12-18 17:48:55 -05:00
Buzz
b3cd739e46 Initial commit, based on .tar.gz file as provided by 3DR , see SOURCE file. 2017-07-29 18:04:17 +10:00