Skip to content
Snippets Groups Projects
Commit 243eea38 authored by darwin's avatar darwin
Browse files

Merge branch 'smart_charger_ros' of...

Merge branch 'smart_charger_ros' of https://gitlab.iri.upc.edu/humanoides/darwin_robot into smart_charger_ros
parents b3e97a80 7d46e095
No related branches found
No related tags found
1 merge request!8Kinetic migration
...@@ -928,7 +928,7 @@ namespace darwin_controller ...@@ -928,7 +928,7 @@ namespace darwin_controller
gyro_x=500.0; gyro_x=500.0;
else if(gyro_x<-500.0) else if(gyro_x<-500.0)
gyro_x=-500.0; gyro_x=-500.0;
gyro_data[0]=(int32_t)(gyro_x*1000.0); gyro_data[0]=-(int32_t)(gyro_x*1000.0);
gyro_y=msg->angular_velocity.z*180.0/3.14159; gyro_y=msg->angular_velocity.z*180.0/3.14159;
if(gyro_y>500.0) if(gyro_y>500.0)
gyro_y=500.0; gyro_y=500.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment