Modules
robokit:
Firmwares
About
The short-term goal is to build an automated machine for grid beam production.
The long-term goal is to provide a (real-time interrupt-driven) actor-based foundation for robotic automation or CNC machine control.
If you're here and like what's happening, please give this a star and say hi! 👋
Features
- Minimal
- Designed for
no-stdenvironments
- Designed for
- Extensible
- Setup your robot with your own actuators with your own names
- E.g. Isn't limited to only x, y, z linear axes
- Setup your robot with your own actuators with your own names
- Command system (like G-Code)
- Run a sequence of commands (one at a time)
- Run setup commands at beginning and/or teardown commands at end (in parallel)
- Actuators:
- Led
- Actions:
- Set { is_on }
- Blink { duration }
- Actions:
- Linear Axis
- Drivers: Stepper
- Actions:
- MoveRelative { max_acceleration, distance }
- MoveAbsolute { max_acceleration, position }
- Home { max_acceleration, back_off_distance }
- Spindle
- Drivers:
- JmcHsv57
- Actions:
- Set(On { rpm })
- Set(Off)
- Drivers:
- Relay (Pneumatic actuator)
- Led
- Sensors
- Input switch
- Button
- Limit switch
- Rotary encoder
- Linear encoder
- Input switch
- Interfaces
- Physical controls
- JSON-RPC
- Web
Example
(for Nucleo-F767ZI)
use blinky as _;
use Poll;
use entry;
use Debug2Format;
use ExtU32;
use ;
use ;
use init_heap;
const TICK_TIMER_HZ: u32 = 1_000_000;
const ACTIVE_COMMANDS_COUNT: usize = 1;
actuator_set!;
!
Development
See docs/dev.md
License
Copyright 2023 Village Kit Limited
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.