Compare commits
2 Commits
73295bcb28
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ee76789ce2 | |||
| f5f8f42e32 |
24
README.md
Normal file
24
README.md
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
## Build & Run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose build
|
||||||
|
docker compose up
|
||||||
|
```
|
||||||
|
|
||||||
|
## Topic
|
||||||
|
|
||||||
|
- `/ultrasonic/raw_data` (`std_msgs/UInt8MultiArray`)
|
||||||
|
|
||||||
|
## Parameters
|
||||||
|
|
||||||
|
| Parameter | Default | Description |
|
||||||
|
|-----------|---------|-------------|
|
||||||
|
| `serial_port` | `/dev/ttyUSB0` | Serial port path |
|
||||||
|
| `baudrate` | `38400` | Baud rate |
|
||||||
|
|
||||||
|
## Custom Parameters
|
||||||
|
|
||||||
|
```bash
|
||||||
|
ros2 run ultrasonic_sensor ultrasonic_node --ros-args -p serial_port:=/dev/ttyACM0
|
||||||
|
```
|
||||||
|
|
||||||
@@ -13,8 +13,8 @@ setup(
|
|||||||
],
|
],
|
||||||
install_requires=['setuptools'],
|
install_requires=['setuptools'],
|
||||||
zip_safe=True,
|
zip_safe=True,
|
||||||
maintainer='User',
|
maintainer='Evgenii Rybalkin',
|
||||||
maintainer_email='user@example.com',
|
maintainer_email='i@e-rybalkin.ru',
|
||||||
description='ROS2 node for reading and publishing ultrasonic sensor data via serial port',
|
description='ROS2 node for reading and publishing ultrasonic sensor data via serial port',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
tests_require=['pytest'],
|
tests_require=['pytest'],
|
||||||
|
|||||||
Reference in New Issue
Block a user