mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-13 08:30:53 +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
|
- /Status1
|
||||||
- /RobotModel1
|
- /RobotModel1
|
||||||
- /TF1
|
- /TF1
|
||||||
|
- /Marker1
|
||||||
Splitter Ratio: 0.5
|
Splitter Ratio: 0.5
|
||||||
Tree Height: 607
|
Tree Height: 607
|
||||||
- Class: rviz/Selection
|
- Class: rviz/Selection
|
||||||
|
|
@ -147,6 +148,14 @@ Visualization Manager:
|
||||||
{}
|
{}
|
||||||
Update Interval: 0
|
Update Interval: 0
|
||||||
Value: true
|
Value: true
|
||||||
|
- Class: rviz/Marker
|
||||||
|
Enabled: true
|
||||||
|
Marker Topic: /cube
|
||||||
|
Name: Marker
|
||||||
|
Namespaces:
|
||||||
|
{}
|
||||||
|
Queue Size: 100
|
||||||
|
Value: true
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Global Options:
|
Global Options:
|
||||||
Background Color: 48; 48; 48
|
Background Color: 48; 48; 48
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,8 @@ class Object_detect(Movement):
|
||||||
# self.Pin = [20, 21]
|
# self.Pin = [20, 21]
|
||||||
self.Pin = [2, 5]
|
self.Pin = [2, 5]
|
||||||
|
|
||||||
for i in self.move_coords:
|
# for i in self.move_coords:
|
||||||
i[2] -= 20
|
# i[2] -= 20
|
||||||
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
GPIO.setwarnings(False)
|
GPIO.setwarnings(False)
|
||||||
|
|
|
||||||
|
|
@ -61,8 +61,8 @@ class Object_detect(Movement):
|
||||||
self.Pin = [2, 5]
|
self.Pin = [2, 5]
|
||||||
elif "dev" in self.robot_wio:
|
elif "dev" in self.robot_wio:
|
||||||
self.Pin = [2, 5]
|
self.Pin = [2, 5]
|
||||||
for i in self.move_coords:
|
# for i in self.move_coords:
|
||||||
i[2] -= 20
|
# i[2] -= 20
|
||||||
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
elif "dev" in self.robot_raspi or "dev" in self.robot_jes:
|
||||||
import RPi.GPIO as GPIO
|
import RPi.GPIO as GPIO
|
||||||
GPIO.setwarnings(False)
|
GPIO.setwarnings(False)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue