Skip to content
Snippets Groups Projects
Commit 41c096f3 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Important bug: the constant to convert rotational velocities was wrong. The...

Important bug: the constant to convert rotational velocities was wrong. The actual rotational speed did not correspond to the desired rotational speed.
parent 69bac525
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ class CSegwayRMP200
static const float COUNTS_2_VOLT_OFFSET = 1.4f;
static const float COUNTSVOLT_2_VOLT = 1.f/4.f;
static const float COUNTSMPH_2_METRSEC = 3.6f*147.f/1.609344f;
static const float COUNTS_2_RADSEC = 1024.f;
static const float COUNTS_2_RADSEC = 1024.f/M_PI;
static const float RADS_2_DEGS = 180.f/M_PI;
/**
......
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