Skip to content

Commit

Permalink
add example rrhttp config
Browse files Browse the repository at this point in the history
  • Loading branch information
slivingston committed Nov 7, 2024
1 parent 95ee974 commit fa63d8a
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions examples/rrhttp/misty.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
default: block
rules:
- verb: GET
uri: /api/cameras/rgb
schema:
- name: Base64
optional: true
type: bool
- name: Width
optional: true
type: int
range: [1, 800]
- name: Height
optional: true
type: int
range: [1, 600]
- verb: POST
uri: /api/head
has_body: true
schema:
- name: Pitch
type: float
range: [-40, 0]
- name: Roll
type: float
range: [-15, 15]
- name: Yaw
type: float
range: [-75, 75]
- name: Velocity
type: int
range: [1, 75]
- verb: POST
uri: /api/drive/time
has_body: true
default: block
schema:
- name: LinearVelocity
type: int
range: [-12, 12]
- name: AngularVelocity
type: float
range: [-10, 10]
- name: TimeMS
type: int
range: [1000, 5000]

0 comments on commit fa63d8a

Please sign in to comment.