Commit 75c1a107 authored by José Luis Rivero Partida's avatar José Luis Rivero Partida
Browse files

Fix bug in get_yaw_rate function.

Thanks to Joan Perez and Sergi Hernandez for spotting it.
parent bd6eb9a0
......@@ -207,7 +207,7 @@ CSegwayRMP400::get_yaw_rate()
{
need_to_be_connected();
yaw_rate_ = get_yaw_displacement() * (PI / 180);
yaw_rate_ = get_yaw_rate() * (PI / 180);
return yaw_rate_;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment