Переглянути джерело

增加走迷宫包README,修改部分README文件

Jally 4 роки тому
батько
коміт
f9e4067ff8

+ 1 - 1
src/CMakeLists.txt

@@ -1 +1 @@
-/opt/ros/kinetic/catkin/cmake/toplevel.cmake
+/opt/ros/kinetic/share/catkin/cmake/toplevel.cmake

+ 17 - 0
src/infrared_maze/README.md

@@ -0,0 +1,17 @@
+# blackTornadoRobot红外走迷宫功能
+走迷宫功能包,可通过红外传感器数据使小车在迷宫中行进。
+在param.yaml文件中可调整一些走迷宫时用到的参数。
+小车走迷宫的主要逻辑为:将迷宫看作由50cmX50cm方格添加障碍墙之后组成的环境,小车每次行进皆为50cm即行走一格,转弯角度为90度。小车每行进一格后会获取当前红外传感器数据,优先左转,其次直行,最后右转。
+
+### 建图运行方法
+首先启动小车
+
+```sh
+$ roslaunch robot_bringup robot_bringup.launch
+```
+
+然后运行走迷宫程序
+```sh
+$ roslaunch infrared_maze infrared_maze.launch
+```
+

+ 1 - 1
src/ros_arduino_bridge/ros_arduino_python/README.md

@@ -31,5 +31,5 @@ $ rosservice list
 ```sh
 $ rosservice call /mobilebase_arduino/gripper_control [operation]
 ```
-控制舵机。其中操作指令1:打开夹爪下行;2:停止机械臂运动;3:合上夹爪上行;4:张开夹爪;5:合上夹爪
+控制舵机。其中操作指令1:夹爪上行;2:夹爪下行;4:张开夹爪;5:合上夹爪。为防止误操作,以及便于小键盘操作,数字键“3”无定义。
 

+ 10 - 4
src/teleop_twist_keyboard/README.md

@@ -9,12 +9,12 @@ rosrun teleop_twist_keyboard teleop_twist_keyboard.py
 
 With custom values.
 ```
-rosrun teleop_twist_keyboard teleop_twist_keyboard.py _speed:=0.9 _turn:=0.8
+rosrun teleop_twist_keyboard teleop_twist_keyboard.py _speed:=0.2 _turn:=0.8
 ```
 
-Publishing to a different topic (in this case `my_cmd_vel`).
+Publishing to a different topic (in this case `cmd_vel`).
 ```
-rosrun teleop_twist_keyboard teleop_twist_keyboard.py cmd_vel:=my_cmd_vel
+rosrun teleop_twist_keyboard teleop_twist_keyboard.py cmd_vel:=cmd_vel
 ```
 
 # Usage
@@ -40,7 +40,13 @@ anything else : stop
 q/z : increase/decrease max speeds by 10%
 w/x : increase/decrease only linear speed by 10%
 e/c : increase/decrease only angular speed by 10%
+4/5 : increase/decrease gripper angle by 5°
+
+1 : arm go up
+2 : arm go dowm
+4 : open the gripper
+5 : close the gripper
 
 CTRL-C to quit
-```
+"""