Commit graph

108 commits

Author SHA1 Message Date
Michael Hope e4eb2f6dd5 license: add LICENSE and CONTRIBUTING. 2017-04-03 21:21:06 +02:00
Michael Hope 8d43e9923c pipoint: add license headers. 2017-04-03 21:20:00 +02:00
Michael Hope e8da3bd3ce build: add a simple Makefile to hold the common commands. 2017-04-03 21:10:49 +02:00
Michael Hope 9857e94982 setup: add files to auto enable SSH and Wifi on Raspbian. 2017-04-03 21:08:39 +02:00
Michael Hope 98ab691e3c pipoint: ran gofmt on everything. 2017-04-03 21:07:29 +02:00
Michael Hope f4008cd6b7 etc: add .gitignore. 2017-04-02 20:30:00 +02:00
Michael Hope b0b6dd6a7f pipoint: update the tests for the new point() API. 2017-04-02 20:26:52 +02:00
Michael Hope 2532518fc1 pipoint: switch from lat/lon to NED everywhere. 2017-04-02 20:24:22 +02:00
Michael Hope a214bde07e analysis: added a event log decoder and workbook. 2017-04-02 14:19:02 +02:00
Michael Hope 51bc105ba1 etc: add a decent config file for pipoint v1. 2017-04-01 20:20:47 +02:00
Michael Hope 451594cca6 etc: add a rover config file to only send GPS messages. 2017-04-01 20:20:30 +02:00
Michael Hope 45879aade1 linpred: update tests to match. 2017-04-01 20:19:39 +02:00
Michael Hope dbc61bc68d pipoint: use the rover time for velocity calculations. 2017-04-01 20:18:34 +02:00
Michael Hope c24bfd4f9a gobot: update the vendor tag. 2017-04-01 20:09:44 +02:00
Michael Hope ee685d7cc1 pipoint: ran gofmt. 2017-04-01 20:05:23 +02:00
Michael Hope 7608272ee0 pipoint: switch to GpsRawInit.
Also log all messages and count as messages arrive.
2017-04-01 20:04:58 +02:00
Michael Hope 6c058d4fb3 elog: created an async event logger. 2017-03-27 22:05:13 +02:00
Michael Hope 9496ee1e38 pipoint: add GPS prediction. Add logging of all param changes. 2017-03-27 22:01:46 +02:00
Michael Hope 47187db060 pipoint: factor the states out into classes. 2017-03-27 20:57:22 +02:00
Michael Hope cfd46fd8f3 params: put the auto metrics at the end of the page. 2017-03-27 20:53:51 +02:00
Michael Hope 03645aa430 pipoint: add a linear predictor filter to each servo. 2017-03-27 08:15:34 +02:00
Michael Hope b4cc89de95 pipoint: add a linear predictive filter and tests. 2017-03-27 07:56:40 +02:00
Michael Hope 3e0cc37c80 pipoint: add a filter and tick to smooth out the servo movement. 2017-03-26 17:31:02 +02:00
Michael Hope f440a817fc pipoint: pass the readings through to the servo.
Basically works, yay!
2017-03-26 13:13:43 +02:00
Michael Hope f652e88e58 servo: update the tests. 2017-03-25 20:32:09 +01:00
Michael Hope bb70b47f84 util: add a Scale function. 2017-03-25 20:28:37 +01:00
Michael Hope 059e126719 pipoint: switch the tick to the servo update speed. 2017-03-25 20:28:18 +01:00
Michael Hope 2bf5dad18f pipoint: add a cycle mode that sweeps the camera. 2017-03-25 20:27:58 +01:00
Michael Hope e5c0644e17 servo: add limits as well as calibration points. 2017-03-25 20:27:19 +01:00
Michael Hope 01701e16c0 pipoint: actually implement the Servo class. 2017-03-25 16:17:47 +01:00
Michael Hope 27d6ddf623 pipoint: tick the robot periodically. 2017-03-25 16:17:24 +01:00
Michael Hope b163a0dae1 pipoint: add a manual drive state and a tick to push changes. 2017-03-25 16:16:47 +01:00
Michael Hope d549a8c73f pipoint: added a sysfs / rpi PWM driver. 2017-03-25 16:16:09 +01:00
Michael Hope 9cc973c2b3 params: shift the invalid check to the callback so nil params can be set. 2017-03-23 22:10:27 +01:00
Michael Hope 7d55c05e0e params: add support for auto-loading config from viper. 2017-03-23 22:02:22 +01:00
Michael Hope 8b8142ef4b servo: no default pin name. 2017-03-23 22:01:30 +01:00
Michael Hope ae75d53a32 params: split params out from param. 2017-03-23 20:39:57 +01:00
Michael Hope a1155ea42f tests: added the missing Heading field. 2017-03-22 22:04:53 +01:00
Michael Hope 0f914e3655 ansible: add rules to install and start mavproxy. 2017-03-22 22:00:03 +01:00
Michael Hope 706522b37a pipoint: record the heartbeat, status. Scale the GPS values. 2017-03-22 21:59:17 +01:00
Michael Hope 55614d36c8 params: add a Prometheus style exporter for Params. 2017-03-21 21:49:21 +01:00
Michael Hope 53148acaad param: added tests. Fault if the type changes. 2017-03-19 22:01:43 +01:00
Michael Hope 2df60089d6 pipoint: add a stub servo driver and tests. 2017-03-19 20:59:49 +01:00
Michael Hope b7fe5f5e10 pipoint: update tests to use stretchr/testify. 2017-03-19 20:53:09 +01:00
Michael Hope a138bd73ef pipoint: implement and test the pointing function. 2017-03-18 22:47:11 +01:00
Michael Hope dba1cdd22d pipoint: fixed the longitude calculation. Change tests to check for NaN. 2017-03-18 22:46:23 +01:00
Michael Hope 5d02450c6d pipoint: factor the main code out of the command line app. Add comments. 2017-03-18 21:44:30 +01:00
Michael Hope 446af06d44 pipoint: move the main app into its own package. Add docs, tests. 2017-03-18 20:42:23 +01:00
Michael Hope 7cd85d0e5e pipoint: add helpers to calculate distance from lat/lon. 2017-03-18 20:23:03 +01:00
Michael Hope fdba4398ad pipoint: flesh out the main application. 2017-03-18 19:56:39 +01:00