Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnawinganimal/tache
A robotics framework designed to run anywhere.
https://github.com/gnawinganimal/tache
frc hacktoberfest robotics
Last synced: about 2 months ago
JSON representation
A robotics framework designed to run anywhere.
- Host: GitHub
- URL: https://github.com/gnawinganimal/tache
- Owner: gnawinganimal
- Created: 2020-09-03T06:00:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T05:07:20.000Z (over 4 years ago)
- Last Synced: 2024-11-02T12:42:40.396Z (3 months ago)
- Topics: frc, hacktoberfest, robotics
- Language: Rust
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tache
### Example
```rust
struct Arm(Motor);impl Arm {
fn new() -> Self {
Self(Motor::new(0))
}
fn run(&mut self, output: f64) {
self.0.set_output(output);
}
}fn main() {
Robot::new()
.with(Arm::new())
.on_start(|exec| {
exec(|c| {
let arm = req!(c, Arm);
arm.move(1.0);
});
})
.run();
}
```