update: add tips.

This commit is contained in:
张立军 2020-12-26 17:01:59 +08:00
parent a981668f47
commit 8b7fff72c2
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,7 @@
# myCobotROS
<!-- This is the mycobot ROS package designed by Zhang Lijun([lijun.zhang@elephantrobotics.com]()) -->
> Make sure that `Atom2.lalpha` is flashed into the top Atom and `Transponder` is flashed into the base Basic .<br>
> Make sure that `Atom2.1alpha` is flashed into the top Atom and `Transponder` is flashed into the base Basic .<br>
> ubuntu: 16.04LTS<br>
> ros version: 1.12.17
@ -60,7 +60,7 @@ rocore #open another tab
a) For display or marker control, in second terminal, run:
```bash
roslaunch myCobotROS display.launch
roslaunch myCobotROS mycobot.launch
```
b) For slider bar control, in second terminal, run:

View file

@ -61,6 +61,11 @@ def talker():
marker_.scale.z = 0.04
#marker position initial
# print(coords)
if not coords:
coords = [0,0,0,0,0,0]
rospy.loginfo('error [101]: can not get coord values')
marker_.pose.position.x = coords[1] / 1000 * -1
marker_.pose.position.y = coords[0] / 1000
marker_.pose.position.z = coords[2] / 1000