finalizing
This commit is contained in:
@@ -65,8 +65,11 @@ int main( int argc, char** argv )
|
||||
base_position_out.y = center[1];
|
||||
base_position_out.z = torso.z-0.75*size;
|
||||
|
||||
double base_in_r = (config["fw"].as<double>() - center[0])*0.33;
|
||||
double base_out_r = config["fw"].as<double>() - center[0];
|
||||
double base_in_r_x = (config["fw"].as<double>() - center[0])*0.33;
|
||||
double base_out_r_x = config["fw"].as<double>() - center[0];
|
||||
|
||||
double base_in_r_y = (config["rt"].as<double>() - center[1])*0.33;
|
||||
double base_out_r_y = (config["rt"].as<double>() - center[1]);
|
||||
|
||||
|
||||
|
||||
@@ -377,12 +380,12 @@ int main( int argc, char** argv )
|
||||
camera.scale.y = 0.2;
|
||||
camera.scale.z = 0.2;
|
||||
|
||||
base_in.scale.x = 2*base_in_r;
|
||||
base_in.scale.y = 2*base_in_r;
|
||||
base_in.scale.x = 2*base_in_r_x;
|
||||
base_in.scale.y = 2*base_in_r_y;
|
||||
base_in.scale.z = 0.1;
|
||||
|
||||
base_out.scale.x = 2*base_out_r;
|
||||
base_out.scale.y = 2*base_out_r;
|
||||
base_out.scale.x = 2*base_out_r_x;
|
||||
base_out.scale.y = 2*base_out_r_y;
|
||||
base_out.scale.z = 0.01;
|
||||
|
||||
// Set the color
|
||||
|
||||
Reference in New Issue
Block a user