Skip to content

Commit

Permalink
better description in snapcraft.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikN committed Jun 7, 2024
1 parent c739048 commit 2b5e4b5
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,35 @@ license: Apache-2.0
summary: Snap for SLAMTEC LIDARs customized for Husarion robots.
icon: snap/gui/icon.png
description: |
The husarion-rplidar snap contains all the necessary software to bring the RPLIDAR laser sensors up.
The `husarion-rplidar` snap contains all the necessary software to bring the RPLIDAR laser sensors up.
It offers the following parameters:
Key Default Value
driver {...}
ros-domain-id 0
ros-localhost-only 0
transport udp
serial-port auto
serial-baudrate 256000
| Key | Default Value |
| - | - |
| driver | {...} |
| ros-domain-id | 0 |
| ros-localhost-only | 0 |
| transport | udp |
| serial-port | auto |
| serial-baudrate | 256000 |
The driver parameter is a dictionary that contains the following keys:
Key Default Value
driver.device-namespace (unset)
driver.namespace (unset)
driver.scan-mode (unset)
driver.channel-type serial
driver.frame-id laser
driver.inverted false
driver.angle-compensate true
| Key | Default Value |
| - | - |
| driver.device-namespace | (unset) |
| driver.namespace | (unset) |
| driver.scan-mode | (unset) |
| driver.channel-type | serial |
| driver.frame-id | laser |
| driver.inverted | false |
| driver.angle-compensate | true |
To set the parameters, use the snap set command, e.g.,
snap set husarion-rplidar driver.namespace=robot
```
snap set husarion-rplidar driver.namespace=robot
```
grade: stable
confinement: strict
Expand Down

0 comments on commit 2b5e4b5

Please sign in to comment.