Skip to content

Commit 15318b9

Browse files
committed
updated draft.py
1 parent 767dd70 commit 15318b9

File tree

2 files changed

+342
-297
lines changed

2 files changed

+342
-297
lines changed

scripts/knowrob_designator_client.py

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,16 @@ def main():
3737
push_msg.json_designator = """
3838
{
3939
"anObject": {
40+
"name": "Milk1",
4041
"type": "Milk",
4142
"pose": {
42-
"x": 1.0,
43-
"y": 0.5,
44-
"z": 0.75,
43+
"px": 1.0,
44+
"py": 1.0,
45+
"pz": 0.0,
46+
"rx": 0.0,
47+
"ry": 0.0,
48+
"rz": 0.0,
49+
"rw": 1.0,
4550
"frame": "map"
4651
}
4752
}
@@ -84,12 +89,15 @@ def main():
8489
"type": "Milk"
8590
}
8691
},
87-
"target": {
88-
"pose": {
89-
"x": 1.2,
90-
"y": 0.8,
91-
"z": 0.75,
92-
"frame": "map"
92+
"target_location": {
93+
'px': 2.1,
94+
'py': 2.35,
95+
'pz': 0.8,
96+
'rx': 0.0,
97+
'ry': 0.0,
98+
'rz': 0.0,
99+
'rw': 1.0,
100+
'frame': 'map'
93101
}
94102
}
95103
}

0 commit comments

Comments
 (0)