mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
update aikit280 m5
This commit is contained in:
parent
d0ce79bc80
commit
e11e0ac141
3 changed files with 13 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ Panels:
|
|||
- /Status1
|
||||
- /RobotModel1
|
||||
- /TF1
|
||||
- /Marker1
|
||||
Splitter Ratio: 0.5
|
||||
Tree Height: 607
|
||||
- Class: rviz/Selection
|
||||
|
|
@ -147,6 +148,14 @@ Visualization Manager:
|
|||
{}
|
||||
Update Interval: 0
|
||||
Value: true
|
||||
- Class: rviz/Marker
|
||||
Enabled: true
|
||||
Marker Topic: /cube
|
||||
Name: Marker
|
||||
Namespaces:
|
||||
{}
|
||||
Queue Size: 100
|
||||
Value: true
|
||||
Enabled: true
|
||||
Global Options:
|
||||
Background Color: 48; 48; 48
|
||||
|
|
|
|||
|
|
@ -51,8 +51,8 @@ class Object_detect(Movement):
|
|||
# self.Pin = [20, 21]
|
||||
self.Pin = [2, 5]
|
||||
|
||||
for i in self.move_coords:
|
||||
i[2] -= 20
|
||||
# for i in self.move_coords:
|
||||
# i[2] -= 20
|
||||
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
||||
import RPi.GPIO as GPIO
|
||||
GPIO.setwarnings(False)
|
||||
|
|
|
|||
|
|
@ -61,8 +61,8 @@ class Object_detect(Movement):
|
|||
self.Pin = [2, 5]
|
||||
elif "dev" in self.robot_wio:
|
||||
self.Pin = [2, 5]
|
||||
for i in self.move_coords:
|
||||
i[2] -= 20
|
||||
# for i in self.move_coords:
|
||||
# i[2] -= 20
|
||||
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
||||
import RPi.GPIO as GPIO
|
||||
GPIO.setwarnings(False)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue