Wykres commitów

1963 Commity (master)

Autor SHA1 Wiadomość Data
Christopher Young 6709c9b4e6 Merge remote-tracking branch 'origin/master' into ahrs_dev
# Conflicts:
#	main/gen_gdl90.go
2017-07-17 17:18:12 -04:00
cyoung 68ceffd8f5 Merge pull request #635 from peepsnet/patch-1
Added allow-hotplug eth0
2017-07-17 10:14:49 -04:00
cyoung 765417b7bc Merge pull request #638 from drnic/patch-1
[docs] change snippet to 'javascript' for github markdown
2017-07-17 10:14:02 -04:00
Dr Nic Williams 5cce0a3f30 change snippet to 'javascript' for github markdown
github markdown `json` format doesn't accept comments; but luckily `javascript` format does. This change makes the docs look nice in github.
2017-07-16 19:26:59 +10:00
Eric Westphal aa74554a81 Change sensor switch names. 2017-07-15 22:06:26 -04:00
Eric Westphal 218c312b98 Better initialization of gLoad, slipSkid, rateOfTurn. 2017-07-14 16:46:03 -04:00
peepsnet 3148f810c3 Update __root__stratux-pre-start.sh 2017-07-14 14:47:01 -04:00
peepsnet 8ff30f0980 Set theme jekyll-theme-time-machine 2017-07-14 14:43:09 -04:00
peepsnet ff3e901501 Update __root__stratux-pre-start.sh 2017-07-14 14:29:13 -04:00
peepsnet 95f4d0a278 Update main.js 2017-07-13 09:13:14 -04:00
Eric Westphal 1877e66056 Ensure level signal doesn't block cal channel. 2017-07-12 22:20:23 -04:00
peepsnet 57c6c8ee8b look and feel 2017-07-12 21:13:52 -04:00
Eric Westphal 20877df847 Separate gyro calibration and AHRS level functions. 2017-07-12 13:27:26 -04:00
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