Commit Graph
31 Commits
Author SHA1 Message Date
Samuel Sadok a5fd9dbeff make explicit c_is_class a requirement
remove inheritance from config
2020-05-15 16:32:27 +02:00
Samuel Sadok e4d70a22b7 Initial implementation of interface autogenerator.
TODO:
 - write to endpoints from float (for PWM/analog input)
 - ascii protocol
2020-05-14 23:05:02 +02:00
Samuel Sadok da7f719283 improve naming consistency between code and fibre
Consistent naming makes code autogeneration easier.
This commit does not claim that the exported names of the variables were
more sensible than the in-code names. However changing the exported
names can break external tools and needs to happen in a controlled and
documented way.
2020-05-14 11:16:32 +02:00
Unknown 1bdea53ec8 Improve testability 2020-01-08 22:11:50 -05:00
Unknown f127df72f1 Add stack_size vars, reduce stack usage 2019-10-26 14:28:06 -04:00
Paul Guenette 9503a9ce29 Formatting pass on CAN files 2019-05-19 21:19:30 +02:00
Paul Guenette 4a4c4c836d Fix RTR != header.RTR issue 2019-03-23 09:32:18 +01:00
Paul Guenette 4f33351142 Parse RTR from header when reading a CAN message 2019-03-17 18:31:18 +01:00
Paul Guenette fa22c7a2ba Add configurable can_heartbeat_rate in ms 2019-03-15 23:01:21 +01:00
Paul Guenette 603e0b1bf2 Throw a CAN error if we have duplicate node IDs 2019-03-14 21:28:58 +01:00
Paul Guenette e8c83dc72f Fix uninitialized mailbox error 2019-03-08 20:27:59 +01:00
Unknown 887a785e94 Make 250kbps the default CAN baud rate 2018-10-07 01:53:28 -04:00
Unknown 605b7d2fbf Handle CAN bus initialization failures and baud rate reinitialization 2018-10-07 00:05:53 -04:00
Unknown a59e29b591 Remove unnecessary includes 2018-10-06 21:15:02 -04:00
Unknown 8052762684 Remove nodeID from CAN interface, since it's moving to each axis 2018-10-06 12:54:53 -04:00
Unknown 4fa09d6bbc Get CAN_SIMPLE to compile 2018-10-05 22:20:04 -04:00
Unknown 2431fd98c6 Start with CAN_SIMPLE protocol 2018-10-04 18:50:45 -04:00
Unknown 0589b12238 We don't have an axis 2... 2018-09-30 02:06:19 -04:00
Unknown c48251f3f5 Report axis errors and current state in heartbeat 2018-09-30 02:04:37 -04:00
Unknown 04a0a78c3d Get semaphore-controlled bus reception working 2018-09-30 01:54:02 -04:00
Unknown 72fc50db6f Setup semaphore for can 2018-09-30 01:50:30 -04:00
Unknown 071c0fc802 Tweak CAN messaging, get it working with PSoC 2018-09-29 18:17:54 -04:00
Unknown 75dfb48238 Unify the Config_t style for ODriveCAN 2018-09-28 18:19:34 -04:00
Unknown 6a87ca8e91 Add write function for CAN class 2018-09-24 21:08:08 -04:00
Unknown 3ba3d4e413 Allow for different baud rates by adjusting prescaler and time quanta 2018-09-24 21:08:08 -04:00
Unknown deb7a9adde Add baud rate validation via set function 2018-09-24 21:08:07 -04:00
Unknown 484da55150 Make interface_can a class, so it can be instantiated multiple times 2018-09-24 21:08:07 -04:00
Oskar Weigl 4841ff03fb fix include paths, duplicated function in merge 2018-06-08 19:48:27 -07:00
Oskar Weigl 84e6f2386b comment out can start for inert merge-in 2018-06-07 00:02:10 -07:00
Samuel Sadok 44a1fdf35b implement CAN node ID configuration algorithm (not tested yet) 2018-04-28 01:27:10 -07:00
Samuel Sadok 1380aa5fe5 add CAN interface 2018-04-21 14:22:48 -07:00