phoxal 0.9.0

Phoxal — production-oriented autonomous robot framework (engine, model, typed bus, contracts).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0308]: mismatched types
 --> tests/ui/topic_wrong_payload.rs:8:18
  |
8 |     want_command(topic::new().drive().target());
  |     ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Topic<PubSub<Command>>`, found `Topic<PubSub<Target>>`
  |     |
  |     arguments to this function are incorrect
  |
  = note: expected struct `Topic<PubSub<phoxal::api::component::capability::motor::Command>>`
             found struct `Topic<PubSub<phoxal::api::drive::Target>>`
note: function defined here
 --> tests/ui/topic_wrong_payload.rs:5:4
  |
5 | fn want_command(_: Topic<PubSub<Command>>) {}
  |    ^^^^^^^^^^^^ -------------------------