Skip to content

Commit 976ec4e

Browse files
committed
Merge branch 'master' of https://github.com/Roboy/roboy3
2 parents 0a19757 + b971169 commit 976ec4e

File tree

8 files changed

+23
-11
lines changed

8 files changed

+23
-11
lines changed

roboy3.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,60 @@
11
icebus:
2-
number_of_motors: [6,10,10,10,10]
3-
update_frequency: [100,100,100,100,100]
2+
number_of_motors: [6,10,10,12,10,10]
3+
update_frequency: [100,100,100,100,100,100]
44
motor_ids:
55
- [0,1,2,3,4,5]
66
- [0,1,2,3,4,5,6,7,8,9]
77
- [0,1,2,3,4,5,6,7,8,9]
8+
- [0,1,2,3,4,5,6,7,8,9,10,11]
89
- [0,1,2,3,4,5,6,7,8,9]
910
- [0,1,2,3,4,5,6,7,8,9]
1011
baudrate:
1112
- [2000000,2000000,2000000,2000000,2000000,2000000]
1213
- [2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000]
1314
- [2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000]
15+
- [2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000,2000000]
1416
- [460800,460800,460800,460800,460800,460800,19200,19200,19200,19200]
1517
- [460800,460800,460800,460800,460800,460800,19200,19200,19200,19200]
1618
motor_ids_global:
1719
- [20,21,22,25,24,23]
1820
- [7,6,5,4,3,2,1,0,17,16]
1921
- [8,9,10,11,12,13,14,15,18,19]
22+
- [46,47,48,49,50,51,52,53,54,55,56,57]
2023
- [26,27,28,29,30,31,32,33,34,35]
2124
- [36,37,38,39,40,41,42,43,44,45]
2225
bus_ids:
2326
- [128,129,130,131,132,133]
2427
- [128,129,130,131,132,133,134,135,136,137]
2528
- [128,129,130,131,132,133,134,135,136,137]
29+
- [128,129,130,131,132,133,134,135,136,137,138,139]
2630
- [128,129,130,131,132,133,134,135,136,137]
2731
- [128,129,130,131,132,133,134,135,136,137]
2832
encoder0_conversion_factor:
2933
- [1,1,1,1,1,1]
3034
- [1,1,1,1,1,1,1,1,1,1]
3135
- [1,1,1,1,1,1,1,1,1,1]
36+
- [1,1,1,1,1,1,1,1,1,1,1,1]
3237
- [1,1,1,1,1,1,1,1,1,1]
3338
- [1,1,1,1,1,1,1,1,1,1]
3439
encoder1_conversion_factor:
3540
- [1,1,1,1,1,1]
3641
- [1,1,1,1,1,1,1,1,1,1]
3742
- [1,1,1,1,1,1,1,1,1,1]
43+
- [1,1,1,1,1,1,1,1,1,1,1,1]
3844
- [1,1,1,1,1,1,1,1,1,1]
3945
- [1,1,1,1,1,1,1,1,1,1]
4046
muscle_type:
4147
- ["myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick"]
4248
- ["myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick"]
4349
- ["myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick"]
50+
- ["myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick","myoBrick"]
4451
- ["m3","m3","m3","m3","m3","m3","openBionics","openBionics","openBionics","openBionics"]
4552
- ["m3","m3","m3","m3","m3","m3","openBionics","openBionics","openBionics","openBionics"]
4653
myobus:
4754
number_of_motors: [0]
4855
update_frequency: [100]
4956
motor_ids:
50-
- [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]
57+
- [7,6,5,4,3,2,1,0,8,9,10,11,12,13,14,15]
5158
motor_ids_global:
5259
- [16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]
5360
bus_ids:
@@ -67,3 +74,8 @@ body_part:
6774
name: ["shoulder"]
6875
motor_ids_global:
6976
- [0]
77+
78+
elbow:
79+
order: [0,1,2,3]
80+
sign: [1,1,1,-1]
81+
offset: [43.2,82.5,215.9,218.8]

src/kindyn

Submodule kindyn updated 1030 files

src/roboy_motor_calibration/src/roboy_motor_calibration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ void RoboyMotorCalibration::estimateMyoMuscleSpringParameters() {
326326
float setpoint_max = ui.setpoint_max->text().toFloat(), setpoint_min = ui.setpoint_min->text().toFloat();
327327
int timeout = ui.timeout->text().toInt(), degree = ui.degree->text().toInt(), numberOfDataPoints = ui.data_points->text().toInt();
328328
roboy_middleware_msgs::MotorCommand msg;
329-
msg.motor.push_back(ui.motor->value());
329+
msg.global_id.push_back(ui.motor->value());
330330
ui.progressBar->show();
331331
ui.progressBar->setMaximum(0);
332332
ui.progressBar->setMinimum(0);
@@ -429,7 +429,7 @@ void RoboyMotorCalibration::estimateMyoBrickSpringParameters() {
429429
float setpoint_max = ui.setpoint_max->text().toFloat(), setpoint_min = ui.setpoint_min->text().toFloat();
430430
int timeout = ui.timeout->text().toInt(), degree = ui.degree->text().toInt(), numberOfDataPoints = ui.data_points->text().toInt();
431431
roboy_middleware_msgs::MotorCommand msg;
432-
msg.motor.push_back(ui.motor->value());
432+
msg.global_id.push_back(ui.motor->value());
433433

434434
vector<double> x, y;
435435

0 commit comments

Comments
 (0)