Wykres commitów

1950 Commity (463721c93b046f596616630a10f85b918e65651f)

Autor SHA1 Wiadomość Data
peepsnet 10475445fd added allow-hotplug eth0
Seems this is useful now that we have the static IP option in developers
2017-07-11 21:07:40 -04:00
peepsnet ed53ecf3d8 typo 2017-07-10 23:01:22 -04:00
peepsnet 5d13c10a58 Updated Help also 2017-07-10 22:56:39 -04:00
peepsnet f5e1ec828f Tweak look feel 2017-07-10 21:42:28 -04:00
peepsnet dca880738d class to grey out div 2017-07-10 20:40:26 -04:00
peepsnet f42bb4d47f cleaned up application constants 2017-07-10 20:39:25 -04:00
peepsnet dc14b9dd80 HTML/JS Prop for WiFI Settings
added js code for error checking and formatting the JSON string for the call to /setSettings
{"WiFiSSID":"stratux","WiFiSecurityEnabled":true,"WiFiPasscode":"h98tdjepi","WiFiChannel":"5"}

 $scope.WiFiSSID = "stratux"; //settings.WiFiSSID;
 $scope.WiFiSecurityEnabled = true; //settings.WiFiSecurityEnabled;
$scope.WiFiPasscode = Math.random().toString(36).substring(4); //settings.WiFiPasscode;
$scope.WiFiChannel = "5"; //settings.WiFiChannel;    

I have hardcoded the values till they are included in the /getSettings JSON string
2017-07-10 20:38:22 -04:00
peepsnet aad4dc53ec HTML/JS Prep for WiFi Settings and StaticIP value fix
FIrst, I added the missing code to pull in the Static IP info the input field from the JSON string

Second and biggest:
This is the code to add the WiFi Settings to the Settings Page. In preparation for the GO code behind the scenes

Before it is live/working a few lines should be removed and the modals cleaned up. 

I had some issues getting the ng-bind working in the modalErrorWiFi modal. There is an update issue. Something about being outside of the digest.  I'm not sure.

The code sends a JSON string:  {"WiFiSSID":"stratux","WiFiSecurityEnabled":true,"WiFiPasscode":"h98tdjepi","WiFiChannel":"5"} to /setSettings

I also did some cleanup in the HTML.
2017-07-10 20:32:40 -04:00
Eric Westphal 90c10195fb Minor log message change. 2017-07-09 17:48:35 -04:00
peepsnet e43f09395f added hostpad_manager_quiet.sh 2017-07-08 18:55:57 -04:00
peepsnet d47bea63c9 added hostpad_manager_quiet.sh 2017-07-08 18:55:07 -04:00
peepsnet 4d26ba2c48 added hostpad_manager_quiet.sh 2017-07-08 18:54:07 -04:00
peepsnet 3bd913ecb6 added hostpad_manager_quiet.sh 2017-07-08 18:52:46 -04:00
peepsnet c8c43e6638 A quiet hostpad_manager script for app calls
# This script is almost identical to hostapd_manager.sh except all the
# screen outputs are supplressed except for error messages. 
#
# Usage:
# hostapd_manager_quiet.sh -s Stratux-N12345 -p SquawkDirty! -c 5
# Command above sets the SSID to "Stratux-N12345, secures the network with the passphrase "SquawkDirty!, and changes the network channel to "5"
#
# hostapd_manager_quiet.sh -o
# Command above opens the network(removes any passphrase)
#
# hostapd_manager_quiet.sh -e
# Command above secures the WiFi network using the default passphrase "SquawkDirtyToMe!"

# Options:
# -s	--Sets the SSID to ${BOLD}ssid${NORM}. -s stratux
# -c	--Sets the channel to chan. -c 1
# -o	--Turns off encryption and sets network to open. Cannot be used with -e or -p.
# -e	--Turns on encryption with passphrase SquawkDirtyToMe!. Cannot be used with -o or -p
# -p	--Turns on encryption with your chosen passphrase pass. 8-63 Printable Characters(ascii 32-126). Cannot be used with -o or -e. -p password!
#
# Important:
# After each call of this script the wifi network will disconnect and restart all associated services to apply the changes
2017-07-08 18:49:23 -04:00
peepsnet 6e9c86eeb6 Merge pull request #10 from cyoung/master
update
2017-07-08 17:57:21 -04:00
Eric Westphal 21278eb265 Level uses calibration accels, retry ccal if nonsense values. 2017-07-08 14:52:10 -04:00
Eric Westphal 572c1d08a5 Minor reorganization. 2017-07-08 13:50:46 -04:00
Eric Westphal 5926b05757 Deleting AHRS logs no longer stops all AHRS logging. 2017-07-07 21:24:49 -04:00
Eric Westphal 5c66d14d00 Re-word AHRS orientation dialog boxes. 2017-07-07 19:56:45 -04:00
Eric Westphal e0faa71b3f Remove 'up' section from orientation procedure. 2017-07-06 19:45:01 -04:00
Eric Westphal ccf04867fb Reduce AI pitch scale. 2017-07-06 19:43:32 -04:00
Christopher Young 0788d4a1a6 Add ahrs_dev deployment circleci rule. 2017-07-06 16:00:09 -04:00
Eric Westphal 4d3235fb4b Minor variable reorganization. 2017-07-04 13:31:04 -04:00
Eric Westphal 1bf2a9d808 Developer UI page allows downloading and deleting AHRS logs. 2017-07-03 19:43:51 -04:00
Eric Westphal e657a400f8 Elongate all the 5 deg marks on AI. 2017-07-01 17:32:23 -04:00
Eric Westphal 5f8ac80ac3 Move sensor orientation quaternion into AHRSProvider. 2017-07-01 17:19:27 -04:00
Eric Westphal 60a4e74503 Ensure AHRS level occurs after orientation. 2017-06-28 20:49:55 -04:00
Eric Westphal d854fb01be Update settings display on web UI after orientation. 2017-06-28 19:09:45 -04:00
Eric Westphal 2a132bb9cc Pass empty initial orientation to NewSimpleAHRS. 2017-06-28 19:08:55 -04:00
Eric Westphal e2c6fa26af Rename InitializeSimple to NewSimpleAHRS. 2017-06-25 11:36:57 -04:00
Eric Westphal b4f437aa3d Remove some old AHRS logging. 2017-06-24 15:51:13 -04:00
Eric Westphal 22fe8cddbe G Load min value doesn't start near zero. 2017-06-24 15:12:10 -04:00
Eric Westphal 993e0c946f Remove unused import. 2017-06-24 14:59:23 -04:00
Eric Westphal fef0ed466f Fix some bad initializations. 2017-06-24 14:46:47 -04:00
cyoung 771a1fe8a8 Merge pull request #625 from cyoung/ahrs_dev
Ahrs dev
2017-06-23 10:48:07 -04:00
Eric Westphal 74909ada85 Ensure SensorQuaternion synced with IMUMapping. 2017-06-22 19:47:25 -04:00
Eric Westphal a2bba208b6 Sensor orientation more reliable. 2017-06-21 22:05:44 -04:00
Eric Westphal c6e01d2ec6 Variable name change. 2017-06-21 22:02:59 -04:00
cyoung af317bc834 Merge pull request #624 from cyoung/ahrs_dev
Ahrs dev
2017-06-21 11:43:47 -04:00
cyoung 3871279473 Merge pull request #619 from jamez70/move_structs
Move structs to the top of the file
2017-06-14 10:33:44 -04:00
Eric Westphal 542a68fc26 Remove AHRS config from developer settings. 2017-06-13 18:14:08 -04:00
Eric Westphal b7cd14debb AHRS algorithm improvements 2017-06-13 17:54:25 -04:00
Eric Westphal 7af6f20884 Maybe make the orientation process more consistent. 2017-06-13 17:48:34 -04:00
Jim Jacobsen 545343332e Move structs to the top of the file 2017-06-11 17:50:34 +00:00
Christopher Young 51fd728cc6 Merge fix. 2017-06-09 10:54:41 -04:00
Christopher Young fd7ce1ec92 Merge remote-tracking branch 'origin/master' into ahrs_dev
# Conflicts:
#	main/gen_gdl90.go
2017-06-09 10:53:41 -04:00
Christopher Young 5f1ebfbe70 Removed ForeFlight GDL90 parsing bug workaround.
#348, 604.
2017-06-09 10:49:25 -04:00
Christopher Young 45e8ea90ac Merge remote-tracking branch 'origin/master' into ahrs_dev 2017-06-06 14:54:57 -04:00
Christopher Young 7fd67ccbc1 Stop fancontrol service before replacing binary.
#612.
2017-06-06 14:48:06 -04:00
root b11b23899d Merge branch 'ahrs_dev' into ahrs_dev_protocolfun 2017-06-05 20:52:02 +00:00