gabrielburnworth
b75af407ed
fix missing params
2019-09-24 12:47:08 -07:00
connor rigby
5e9b68031d
Update endpoint invert logs
2019-09-18 12:45:01 -07:00
connor rigby
68e10c2cc6
Invert pin guard logs to match the frontend
2019-09-18 12:45:01 -07:00
connor rigby
d1ff07e2d0
Update parameter updates to use human readable names and values
2019-09-18 12:45:01 -07:00
Connor Rigby
64c2edfebb
Fix idle messages causing timeouts
...
The firmware has a timer that had the possibility of of dispatching an
idle message **before** a `command start` report. This would cause the
farmbot to think the command had completed
2019-09-13 16:03:34 -07:00
Connor Rigby
f948f6d503
Fix firmware timeouts even more
2019-09-13 16:03:34 -07:00
Connor Rigby
c622d82c7d
Fix E-Stop being queued instead of executed
2019-09-13 16:03:34 -07:00
Connor Rigby
58a39a2b2d
Fix report_home_complete side effect
2019-09-13 16:03:34 -07:00
Connor Rigby
812a11aac1
Remove VCR playback functionality for now
...
This has never been helpful to me so i don't feel bad.
2019-09-13 16:03:33 -07:00
Connor Rigby
c570a20c71
Fix queued firmware requests always failing
2019-09-13 16:03:33 -07:00
Connor Rigby
c8da9d880e
Move firmware naming convetions into their own module
2019-09-13 16:03:32 -07:00
Connor Rigby
5373849f51
Update dependencies
...
* `elixir_make`
* `muontrap`
* `vintage_net`
* `busybox`
* `mdns_lite`
* `nerves_hub`
* `plug`
2019-09-13 16:03:32 -07:00
Connor Rigby
a04ddf0159
Fix set_pin_io mode
2019-09-13 16:03:31 -07:00
connor rigby
7a3db8f287
Change home on boot order to z,y,x
2019-09-13 16:03:30 -07:00
Connor Rigby
21b5aa1ac8
Allow emergency_lock while in boot and configuration states
2019-09-13 16:03:26 -07:00
Connor Rigby
69870d463a
Ensure estop timer stops after the firmware boots
2019-09-13 16:03:26 -07:00
connor rigby
f3fe84dca3
Instruct the arduino-firmware to never use eeprom
2019-09-13 16:03:24 -07:00
Connor Rigby
f9d1c5c94c
Fix calibration params appearing to fail at saving
2019-09-13 16:03:23 -07:00
Connor Rigby
2d66f09485
Enable `warnings_as_errors` for each app
2019-09-13 16:03:21 -07:00
Connor Rigby
e492289dcc
Add tests for FarmbotFirmware.VCR
2019-09-13 16:03:21 -07:00
Connor Rigby
849f7af1c3
Add VCR system for FarmbotFirmware
2019-09-13 16:03:21 -07:00
Connor Rigby
469ac1b8ed
Fix compiler warning in stub_side_effects
2019-09-13 16:03:21 -07:00
Connor Rigby
be8c6653a2
Add timeout to Firmware.Command module
2019-09-13 16:03:21 -07:00
Connor Rigby
be1c6dc869
Add basic support for the express firmware target ( #718 )
...
* Initital setup for FarmbotExpress
* Update farmbot-arduino-firmware commit ref
2019-09-13 16:03:21 -07:00
Connor Rigby
b61f1b11be
Fix some misc firmware bugs
2019-09-13 16:03:19 -07:00
Connor Rigby
c9fb352294
Clean up IO.inspect/2 calls
2019-09-13 16:03:19 -07:00
Connor Rigby
4f74887990
Implement get_toolslot syscall and fix parameter typos
2019-09-13 16:03:19 -07:00
Connor Rigby
68e15bcce1
Firmware command updates
...
Fixes `toggle_pin`
Fixes some unknown parameters
2019-09-13 16:03:19 -07:00
Connor Rigby
f0c8fed4d8
Implement estop and eunlock syscalls
2019-09-13 16:03:19 -07:00
Connor Rigby
65fd18bb51
Fix stub_transport to complete firmware initialization.
2019-09-13 16:03:18 -07:00
Connor Rigby
75c113227c
Add new field to informational_settings: `idle`
2019-09-13 16:03:18 -07:00
connor rigby
0a9c664d17
Update farmbot-arduino-firmware submodule to be built in
...
farmbot_firmware app
2019-09-13 16:03:17 -07:00
Connor Rigby
e80780aeb8
Remove EnigmaWorker in favor of db context hooks
...
* Add firmware_hardware setter on bot_state
* move firmware side effects to farmbot_core
* move firmware estop timer to farmbot_core
* change enigmas to be soft delete
2019-09-13 16:03:17 -07:00
Connor Rigby
b7f4ebba57
Fixes for bootstrapping firmware.
...
* TTYDetector no longer causes side effects
* add new RPC for `flash_firmware` that takes a `package` arg
2019-09-13 16:03:17 -07:00
Rick Carlino
0b5df60f67
Implement and test Enigmas for firmware_missing
...
* Test for create_or_update_enigma!() and clear_enigma()
2019-09-13 16:03:17 -07:00
Connor Rigby
2df816873f
Implement closing/reopening of Transports in farmbot_firmware
2019-09-13 16:03:16 -07:00
Rick Carlino
17d24bdc0e
Begin impl of firmware flasher RPC, add `clear_enigma` helper
2019-09-13 16:03:16 -07:00
Connor Rigby
22ceb7a01a
Rename FarmbotFirmware Namespace
2019-09-13 16:03:16 -07:00
Connor Rigby
21bb1a6f25
Misc cleanup and bug fixes.
...
* Fixes botstate changes being dispatched as nested lists
* Fixes jwt failing to decode `nil`. Doesn't fix token actually being`nil` though.
* Adds a syscall for read_pin
* Add/fix calibrate syscall
* tweak tty detector. This is still broken i think
2019-09-13 16:03:16 -07:00
connor rigby
d0edb1e19e
Update to Elixir 1.8!!
2019-09-13 16:03:15 -07:00
connor rigby
d17f64f17f
Misc app cleanup and updates
...
* Add helpful Makefile task for fetching deps
* Remove dead nerves_hub code
* Update deps
2019-09-13 16:03:15 -07:00
Connor Rigby
bad07b3bc3
Update movement rpcs to support tools and points
2019-09-13 16:03:14 -07:00
Connor Rigby
ce84310050
Fix Firmware crashes blocking forever
2019-09-13 16:03:14 -07:00
Connor Rigby
cf5077e2a9
Start implementing firmware startup
...
Misc other cleanup
2019-09-13 16:03:14 -07:00
Connor Rigby
7cde2b2390
Change to ElixirCircuits.
2019-09-13 16:03:14 -07:00
Connor Rigby
f2b8abd692
Botstate refactor ( #645 )
...
* Refactor PinBindings
* Refactor logging to not require Farmbot.Registry
* Fix AMQP bot_state_transport and log_transport
* Update to use floats everywhere
* Refactor Farmbot.Firmware
* Write Firmware Tests
* dipping into FarmbotOS finally
* Cleanup peripheral_worker error message
* Implement remaining CeleryScript RPCs
* Refactor job progress
* Image Upload status notifications updates
* Fix compiler warnings and things
* Update Firmware submodule
* Fix FarmbotEXT tests
2019-09-13 16:03:14 -07:00