forked from ros-drivers/mocap_optitrack
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mocap.yaml
64 lines (63 loc) · 2.56 KB
/
mocap.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# Definition of all trackable objects
# Identifier corresponds to Trackable ID set in Tracking Tools
#
rigid_bodies:
# MATCH the order of points to select, when creating rigid body in Optitrack Software !!!
'1': # the end effector tracker
use_new_coordinates: false
publish_markers: true
markers:
'R0': # the point cloest to chopsticks tip
topic_name: R0/point
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
'R1': # The middle
topic_name: R1/point
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
'R2': # The tails
topic_name: R2/point
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
#pose: chop/pose
#pose2d: chop/ground_pose
#child_frame_id: chop/base_link
#parent_frame_id: map
'2': # the leader chopsticks
use_new_coordinates: false
publish_markers: true
markers:
'T0':
topic_name: T0/point # should be the one near tip
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
'T1': # The middle
topic_name: T1/point
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
'T2': # The tails
topic_name: T2/point
frame_id: optitrack
init_pos: [.0, .0, .0] # dummy
markers:
# The order of points matter (because hebi_teleop makes assumption about the order of points)
# However, the yaml load module will sort the items by their entry keys (e.g. from A to Z)
# Pay attention to not change the resulted order when you change the names
# In optitrack frame, look up the coordinate in Motive Software and paste here directly!
'Ball': # the marker ball to pick up
topic_name: Ball/point
frame_id: optitrack
init_pos: [0.639, -0.007, 0.311]
'T3': # the head of the chopsticks that are mounted with two markers
topic_name: T3/point
frame_id: optitrack
# init_pos: [0.31, -0.006, 0.07]
init_pos: [0.125, 0.007, 0.375] # modified for mocap file 2023-12-20 02.28.28 PM
'T4': # the tail of the chopsticks that are mounted with two markers
topic_name: T4/point
frame_id: optitrack
# init_pos: [0.51, -0.0017, 0.08]
init_pos: [ 0.324, 0.008, 0.382] # modified for mocap file 2023-12-20 02.28.28 PM
optitrack_config:
multicast_address: 224.0.0.1