mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
update: add tips.
This commit is contained in:
parent
a981668f47
commit
8b7fff72c2
2 changed files with 7 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue