Commit Graph
3197 Commits
Author SHA1 Message Date
Samuel Sadok a032be2b9e Merge commit 'ec76f615851fd6a347cedaeb7b58e585840843f7' into libfibre 2021-01-11 16:59:36 +01:00
Samuel Sadok ec76f61585 Squashed 'Firmware/fibre-cpp/' changes from d7049207..11c3c11f
11c3c11f make pyfibre work again

git-subtree-dir: Firmware/fibre-cpp
git-subtree-split: 11c3c11f25649d2d6da0932b9ecf03436f17d582
2021-01-11 16:59:36 +01:00
Samuel Sadok 5f75f4d51f Merge commit 'a570d203f214f74df210a4d93cb22ccbbe5169f6' into libfibre 2021-01-08 12:14:35 +01:00
Samuel Sadok a570d203f2 Squashed 'tools/odrive/pyfibre/' changes from f9ebfdd3..b00819a0
b00819a0 add fibre.cpp
09687c5a update libfibre API for better performance
50270add update binaries
9f1fffd0 support registering external discoverers
5783e8e9 support open-ended function calls in libfibre ABI
30498039 move gitattributes for LFS settings
f779a895 Merge commit 'ca1f41bc7b3acabfa2924822b87a28726e75c5d5' as 'python'
0c229c4c remove old python folder
99cec00a Merge commit 'e345a021e39fd3d6ea56297e9c6c647e8d144992' as 'cpp'
e345a021 Squashed 'cpp/' content from commit d7a5c366
7a40ccf0 remove old cpp folder
920a8fb4 reduce libfibre binary size
646d5ade make odrive.find_any work with no args
53a0f76a add finishing touches to initial libfibre version
11a86c7e Merge pull request #10 from RoCkaZ/master
2e2226f6 Only set new timeout if it is different from the old one
dc2bea4a introduce codecs for serializing/deserializing
677f3686 Merge commit '5a7cad54ad0bed99edcdf19704d5116a9993caa6' into sam_fibre_upstreaming
1ada8977 TCP: keep alive
fd46431e improve logging
b9a249a2 fix timeout error code for macOS
d9f0f539 remove install-time PySerial dependency and don't fail if installed as non-root
d27ff81b printing format strings
a75dce81 fix shell printing
1544230c clean up fiber port
25c2bb34 fix include paths, duplicated function in merge
3661fdaf Merge branch 'devel' into sam_fibre
55d50e97 Merge commit '496a9a945a8d8bbdda556a41f784cb30ebf6eeea'
7d2df781 add timeout to UDP transport
808f3f0c split protocol.hpp into more files
a8931e85 Merge remote-tracking branch 'origin/master'
e87ae1dd minor bugfixes
56ccd7c4 Merge commit '2e15116dc21a4ff859b906410dec8c797955c0ec'
565cd9d4 Merge commit 'd2ca264d0a3f7eab82498880a8a1929380e0ce75'
0996d4eb replace occurrences of the term protocol with fibre
719359ea add setup.py to publish fibre on PyPI
281af8c9 dont run Fibre tup rules by default Building the Fibre test binaries is distracting when it's just used as a library in another project. Now it is only built if CONFIG_BUILD_FIBRE_TESTS=true
8f08be86 allow setting interactive shell variables, fix some warnings
64999f82 move updated ODrive python protocol library to Fibre
bc1a4555 fix function calls with arguments
b34163f4 apply ODrive native protocol updates to fibre and switch to fibre
1ad444c1 update fibre readme to better reflect the current status
8f0d2678 compile with -Wall
ab8a2f09 use universal references in for encoder and decoder construction
2c8e7b89 Merge branch 'master' into lowlevel
45a3514d Merge pull request #5 from samuelsadok/templated_endpoints
00c4a042 Refactor the way endpoint are defined.
5de6afa3 change CRC8 template types
36d501e7 implement selected encoders
b0abce47 fix decoder bugs
f6b95c96 Update README.md
4fb1eba0 Add a couple of decoders
2c0a62dd switch to TCP
a2fb4a15 Merge commit '2dda07b9e31fe26d60b60e5a4b2495370a63e4fc'
2dda07b9 Squashed 'fibre/' changes from 74293c7..874cb53
e49db3b0 Merge branch 'master' of github.com:samuelsadok/lightd
874cb533 note about coding style
7e76ccf1 Merge pull request #2 from mbiegert/master
9061637b make udp server stack IPv6 aware
38044773 IPv6 in python --not-working
cfc87be5 don't use recursion in tcp_transport.py
6d19cc2b target comments by @samuelsadok
bee3128e remove tupfile and add TCP to compat list, also mv server to test
52b149ce fix abstract python function StreamSource::get_bytes
c17e2d4b add tcp discovery to python client implementation
239d0630 server opens a thread for every incoming client connection
6b7cfa30 create test server on tcp instead of udp
2eddbb9a add tupfile for compiling
4aa16811 Add small test Server
62feaafd create rudimentary tcp implementation
db8d11db Squashed 'fibre/' changes from 20bd0f2..74293c7
a88d5661 Merge commit 'db8d11db47aac77859720a794cf3d0c54ed11eaf'
74293c75 Merge branch 'lightd-changes' of github.com:samuelsadok/fibre
9b148486 fix size returned by read_le/write_le<uint8_t>
7b8f30d0 add reference to lightd
839c92a9 fix lights-off timer
06874f4f add systemd files and install script
0ee4b929 add readme
81a30238 minor python util fixes
e31270be minor python util fixes
24b7f58d don't fail if python serial-module missing
bb5b28b9 don't fail if python serial-module missing
dbd1c799 add TOOLCHAIN var to tup
3677d800 add lightctl util
4d476b05 Squashed 'fibre/' changes from 09fbec9..20bd0f2
d206d6b9 Merge commit '4d476b05ef6400192a2edafab6449b25e53921e2'
20bd0f29 simplify addin python module inother projects
0d9b0ddb implement LED control service
163bc8e1 add gitignore
4b4af623 add rpi_ws281x library
69e92d1f Merge commit '5230fb499da4efbf8f5ab586a0398379573b5b37' as 'rpi_ws281x'
5230fb49 Squashed 'rpi_ws281x/' content from commit 3a01777
e99c592e Squashed 'fibre/' content from commit 09fbec9
419759d1 Merge commit 'e99c592e217595deee6765ff0ed7e25ca26f772e' as 'fibre'
4303df51 initial commit
09fbec97 initial commit

git-subtree-dir: tools/odrive/pyfibre
git-subtree-split: b00819a0098a1caa09077857c9728a11a195e108
2021-01-08 12:10:23 +01:00
Samuel Sadok d328a74c17 Merge branch 'devel' into libfibre 2021-01-08 11:54:16 +01:00
Samuel Sadok 2caf0d3c0e fix compatibility with new fibre-cpp 2021-01-08 11:40:36 +01:00
Samuel Sadok 9768ee6392 Squashed 'Firmware/fibre-cpp/' changes from 767bcb32..d7049207
d7049207 use docker for CI
a66a4815 fix various bugs

git-subtree-dir: Firmware/fibre-cpp
git-subtree-split: d7049207dc53aa87f6903e0f60f7904429164f6e
2021-01-08 11:35:26 +01:00
Samuel Sadok f14a79395b Merge commit '9768ee6392ee515ad2371a2bb5662011c9a87941' into libfibre 2021-01-08 11:35:26 +01:00
Samuel Sadok a9b234979f fix calibration and sensor tests 2021-01-08 11:28:38 +01:00
Samuel Sadok a4a3cc5f9f Merge commit 'e9a9a4d4f3483bddee1864de28adb506bcf10dfa' into libfibre 2021-01-07 20:40:43 +01:00
Samuel Sadok e9a9a4d4f3 Squashed 'Firmware/fibre-cpp/' changes from 38b7c9cb..767bcb32
767bcb32 compile using dockerfile
87b176ad fix ci
e437cb48 enable more tests
d2568b3d initial formatting checks
7d332a9a move files
f3e635ee add fibre.cpp
c3e661e8 update libfibre API for better performance
d2cc6513 make fibre-js play nice with ES6 Modules, address review comments
32ac247f update binaries
192319ba initial Fibre-JS implementation
ecfac0c3 update readme
fd257a6f support registering external discoverers
8cbe8b7d add WebAssembly buiid target
ea9a59e0 use tup to compile libfibre
1a8cecd6 support open-ended function calls in libfibre ABI
5b9f55cc move gitattributes for LFS settings
92e1fe6e Merge commit 'e345a021e39fd3d6ea56297e9c6c647e8d144992' as 'cpp'
7a40ccf0 remove old cpp folder
d7a5c366 reduce libfibre binary size
b7bf7d1b don't close protocol while TX still in progress
72fa6186 fix use-after-free bug
e5561dd4 fix CI
344ff447 fix CI errors
860f960f add finishing touches to initial libfibre version
11a86c7e Merge pull request #10 from RoCkaZ/master
2e2226f6 Only set new timeout if it is different from the old one
dc2bea4a introduce codecs for serializing/deserializing
677f3686 Merge commit '5a7cad54ad0bed99edcdf19704d5116a9993caa6' into sam_fibre_upstreaming
1ada8977 TCP: keep alive
fd46431e improve logging
b9a249a2 fix timeout error code for macOS
d9f0f539 remove install-time PySerial dependency and don't fail if installed as non-root
d27ff81b printing format strings
a75dce81 fix shell printing
1544230c clean up fiber port
25c2bb34 fix include paths, duplicated function in merge
3661fdaf Merge branch 'devel' into sam_fibre
55d50e97 Merge commit '496a9a945a8d8bbdda556a41f784cb30ebf6eeea'
7d2df781 add timeout to UDP transport
808f3f0c split protocol.hpp into more files
a8931e85 Merge remote-tracking branch 'origin/master'
e87ae1dd minor bugfixes
56ccd7c4 Merge commit '2e15116dc21a4ff859b906410dec8c797955c0ec'
565cd9d4 Merge commit 'd2ca264d0a3f7eab82498880a8a1929380e0ce75'
0996d4eb replace occurrences of the term protocol with fibre
719359ea add setup.py to publish fibre on PyPI
281af8c9 dont run Fibre tup rules by default Building the Fibre test binaries is distracting when it's just used as a library in another project. Now it is only built if CONFIG_BUILD_FIBRE_TESTS=true
8f08be86 allow setting interactive shell variables, fix some warnings
64999f82 move updated ODrive python protocol library to Fibre
bc1a4555 fix function calls with arguments
b34163f4 apply ODrive native protocol updates to fibre and switch to fibre
1ad444c1 update fibre readme to better reflect the current status
8f0d2678 compile with -Wall
ab8a2f09 use universal references in for encoder and decoder construction
2c8e7b89 Merge branch 'master' into lowlevel
45a3514d Merge pull request #5 from samuelsadok/templated_endpoints
00c4a042 Refactor the way endpoint are defined.
5de6afa3 change CRC8 template types
36d501e7 implement selected encoders
b0abce47 fix decoder bugs
f6b95c96 Update README.md
4fb1eba0 Add a couple of decoders
2c0a62dd switch to TCP
a2fb4a15 Merge commit '2dda07b9e31fe26d60b60e5a4b2495370a63e4fc'
2dda07b9 Squashed 'fibre/' changes from 74293c7..874cb53
e49db3b0 Merge branch 'master' of github.com:samuelsadok/lightd
874cb533 note about coding style
7e76ccf1 Merge pull request #2 from mbiegert/master
9061637b make udp server stack IPv6 aware
38044773 IPv6 in python --not-working
cfc87be5 don't use recursion in tcp_transport.py
6d19cc2b target comments by @samuelsadok
bee3128e remove tupfile and add TCP to compat list, also mv server to test
52b149ce fix abstract python function StreamSource::get_bytes
c17e2d4b add tcp discovery to python client implementation
239d0630 server opens a thread for every incoming client connection
6b7cfa30 create test server on tcp instead of udp
2eddbb9a add tupfile for compiling
4aa16811 Add small test Server
62feaafd create rudimentary tcp implementation
db8d11db Squashed 'fibre/' changes from 20bd0f2..74293c7
a88d5661 Merge commit 'db8d11db47aac77859720a794cf3d0c54ed11eaf'
74293c75 Merge branch 'lightd-changes' of github.com:samuelsadok/fibre
9b148486 fix size returned by read_le/write_le<uint8_t>
7b8f30d0 add reference to lightd
839c92a9 fix lights-off timer
06874f4f add systemd files and install script
0ee4b929 add readme
81a30238 minor python util fixes
e31270be minor python util fixes
24b7f58d don't fail if python serial-module missing
bb5b28b9 don't fail if python serial-module missing
dbd1c799 add TOOLCHAIN var to tup
3677d800 add lightctl util
4d476b05 Squashed 'fibre/' changes from 09fbec9..20bd0f2
d206d6b9 Merge commit '4d476b05ef6400192a2edafab6449b25e53921e2'
20bd0f29 simplify addin python module inother projects
0d9b0ddb implement LED control service
163bc8e1 add gitignore
4b4af623 add rpi_ws281x library
69e92d1f Merge commit '5230fb499da4efbf8f5ab586a0398379573b5b37' as 'rpi_ws281x'
5230fb49 Squashed 'rpi_ws281x/' content from commit 3a01777
e99c592e Squashed 'fibre/' content from commit 09fbec9
419759d1 Merge commit 'e99c592e217595deee6765ff0ed7e25ca26f772e' as 'fibre'
4303df51 initial commit
09fbec97 initial commit

git-subtree-dir: Firmware/fibre-cpp
git-subtree-split: 767bcb327cea395b50f7ceaf4e29a4215452215e
2021-01-07 20:38:20 +01:00
Samuel Sadok dea443e63c add GPIO test 2021-01-06 21:18:27 +01:00
Samuel Sadok c13c6eb192 add sensor_test.py 2021-01-06 19:10:13 +01:00
PAJohnson a64637328a [TEMP] Fixed hall effect calibration 2021-01-06 00:03:00 -05:00
PAJohnson 7112b10115 Updated pj test rig yaml, fixed nvm test 2021-01-05 22:10:22 -05:00
Samuel Sadok 2a127f6821 fix uart tests 2021-01-05 18:13:52 +01:00
Samuel Sadok b182684da9 Merge branch 'devel' into better_testing 2021-01-05 15:45:39 +01:00
Samuel Sadok ee66ae8dfa remove deprecated loop_count variable 2021-01-04 17:06:00 +01:00
Paul Guenette f5c6e092f8 Default LTO to false due to broken implementation 2021-01-02 18:57:51 -05:00
PAJohnson bd06823a52 Fixed missing semicolon 2020-12-30 21:08:53 -05:00
Oskar Weigl 8dfd26ff81 idle SPI clock low 2020-12-30 17:04:49 -08:00
PAJohnson db693aa0c2 [GUI] Slider fixes for min and max values gui-0.0.1-beta3 2020-12-22 22:58:41 -05:00
PAJohnson d19519dd42 [GUI] Updated vue-slider-component version number, changed display behavior of numerical values to automatically switch to scientific notation under certain conditions, fixed header menu behavior 2020-12-22 22:48:17 -05:00
Paul Guenette 6e856a8f20 Add current limit to the limits message 2020-12-22 00:10:12 -05:00
PAJohnson 274225cfe5 Fixed drv/encoder spi collision when spi polarity changed between spi arbiter transactions 2020-12-21 22:37:34 -05:00
PAJohnson 55d4e96bf3 [GUI] Bumped socket.io-client version to fix compatibility with latest python version, removed unused dependency 2020-12-21 15:59:50 -05:00
Oskar Weigl 444e5434f1 Merge pull request #542 from MxFxM/devel
workaround to fix deprecated .gcd function
2020-12-21 11:15:27 -08:00
MxFxM d1ca88c7db workaround to fix deprecated .gcd function 2020-12-21 15:17:01 +01:00
PAJohnson ebd237673a [GUI] Fixed enumGenerate.js for windows 2020-12-20 16:08:52 -05:00
Oskar Weigl aa7a7eaaa5 Merge branch 'devel' of github.com:madcowswe/ODrive into devel 2020-12-19 19:36:47 -08:00
Oskar Weigl 862a6b6abe allow bottom motor thermistor 2020-12-19 19:36:37 -08:00
Paul Guenette 95a7c22b47 Restore __attribute__((used)) to pxCurrentTCB 2020-12-16 14:15:01 -05:00
Samuel Sadok e72d5ad831 fix return value 2020-12-16 10:13:21 +01:00
PAJohnson 918240fe33 [GUI] Changed plot colors to use the matplotlib default color sequence 2020-12-16 00:34:37 -05:00
Oskar Weigl e344118835 Merge branch 'DRV-fault-debug' into devel 2020-12-15 16:17:42 -08:00
Oskar Weigl 40f924bc2c half drive current, 200ns deadtime, 4us drive time 2020-12-15 16:15:46 -08:00
Oskar Weigl 8c4fb92e63 fix ACIM estimator source for current controller 2020-12-15 16:11:51 -08:00
Samuel Sadok e466859ed6 fix nightly pip install 2020-12-15 15:21:03 +01:00
Samuel Sadok 0dfe66a8f5 disable tup ^c flag
This flag causes tup to fail on some configurations of macOS.
2020-12-14 14:45:28 +01:00
PAJohnson fb669109a2 [GUI] Added ODrive config import/export capability, fixed handling of Infinity, added Menu to header bar to clean up interactions. 2020-12-11 20:16:32 -05:00
PAJohnson e41c65cd6a [GUI] added enum generator npm script, cleaned up use of enums in Axis.vue, fixed various setTimeout bugs 2020-12-10 20:46:10 -05:00
Paul Guenette adadef86aa Change some defines to static constexpr values 2020-12-10 15:21:00 -05:00
Paul Guenette 6a18eed26f Fix doctest for can helpers 2020-12-09 21:34:40 -05:00
PAJohnson 9bcdfa009a Merge pull request #538 from madcowswe/phase-balance-check
implement phase balance check
2020-12-09 20:23:18 -05:00
PAJohnson 95d5df6f4f Updated changelog, made phase check beta current filtering not depend on control loop rate 2020-12-09 20:12:34 -05:00
PAJohnson d4a03f4fae Merge branch 'phase-balance-check' of https://github.com/madcowswe/ODrive into phase-balance-check 2020-12-09 18:50:31 -05:00
Samuel Sadok 119529b0a7 fix CI 2020-12-09 20:21:10 +01:00
Samuel Sadok f6eb35d34c [fibre] fix handling of enumerators > 0xffffffff 2020-12-09 18:31:35 +01:00
samuelsadok 320be74413 Merge pull request #536 from madcowswe/can-refactor
Make it easier to add new CAN protocols
2020-12-08 00:07:24 +01:00
Samuel Sadok 74badd955c Merge branch 'devel' into can-refactor 2020-12-08 00:06:08 +01:00