diff --git a/docs/en/aruco_map.md b/docs/en/aruco_map.md index f4e3af4c..dfd30586 100644 --- a/docs/en/aruco_map.md +++ b/docs/en/aruco_map.md @@ -55,7 +55,7 @@ Some map examples are provided in [the directory](https://github.com/CopterExpre Grid maps may be generated using the `genmap.py` script: ```bash -rosrun aruco_pose genmap.py length x y dist_x dist_y first > ~/catkin_ws/src/clover/aruco_pose/map/test_map.txt +rosrun aruco_pose genmap.py length x y dist_x dist_y first -o test_map.txt ``` `length` is the size of each marker, `x` is the marker count along the *x* axis, `y` is the marker count along the *y* axis, `dist_x` is the distance between the centers of adjacent markers along the *x* axis, `dist_y` is the distance between the centers of the *y* axis, `first` is the ID of the first marker (top left marker, unless `--bottom-left` is specified), `test_map.txt` is the name of the generated map file. The optional `--bottom-left` parameter changes the numbering of markers, making the bottom left marker the first one. @@ -63,7 +63,7 @@ rosrun aruco_pose genmap.py length x y dist_x dist_y first > ~/catkin_ws/src/clo Usage example: ```bash -rosrun aruco_pose genmap.py 0.33 2 4 1 1 0 > ~/catkin_ws/src/clover/aruco_pose/map/test_map.txt +rosrun aruco_pose genmap.py 0.33 2 4 1 1 0 -o test_map.txt ``` Additional information on the utility can be obtained using `-h` key: `rosrun aruco_pose genmap.py -h`. diff --git a/docs/ru/aruco_map.md b/docs/ru/aruco_map.md index 4e8d7764..e34fa73f 100644 --- a/docs/ru/aruco_map.md +++ b/docs/ru/aruco_map.md @@ -54,7 +54,7 @@ id_маркера размер_маркера x y z угол_z угол_y уго Файл карты может быть сгенерирован с помощью инструмента `genmap.py`: ```bash -rosrun aruco_pose genmap.py length x y dist_x dist_y first > ~/catkin_ws/src/clover/aruco_pose/map/test_map.txt +rosrun aruco_pose genmap.py length x y dist_x dist_y first -o test_map.txt ``` Где `length` – размер маркера, `x` – количество маркеров по оси *x*, `y` - количество маркеров по оси *y*, `dist_x` – расстояние между центрами маркеров по оси *x*, `y` – расстояние между центрами маркеров по оси *y*, `first` – ID первого (левого нижнего) маркера, `test_map.txt` – название файла с картой. Дополнительный ключ `--bottom-left` позволяет нумеровать маркеры с левого нижнего угла. @@ -62,7 +62,7 @@ rosrun aruco_pose genmap.py length x y dist_x dist_y first > ~/catkin_ws/src/clo Пример: ```bash -rosrun aruco_pose genmap.py 0.33 2 4 1 1 0 > ~/catkin_ws/src/clover/aruco_pose/map/test_map.txt +rosrun aruco_pose genmap.py 0.33 2 4 1 1 0 -o test_map.txt ``` Дополнительную информацию по утилите можно получить по ключу `-h`: `rosrun aruco_pose genmap.py -h`.