Skip to Content
Learning Robotics using Python - Second Edition
book

Learning Robotics using Python - Second Edition

by Lentin Joseph
June 2018
Beginner to intermediate
280 pages
6h 58m
English
Packt Publishing
Content preview from Learning Robotics using Python - Second Edition

Gyroscope plugin

The gyroscope plugin is used to measure the angular velocity of the robot. Using the angular velocity, we can compute the orientation of the robot. The orientation of the robot is used in the robot drive controller for computing the robot's pose, as shown in the following code:

 <gazebo reference="gyro_link"> <sensor type="imu" name="imu"> <always_on>true</always_on> <update_rate>50</update_rate> <visualize>false</visualize> <imu> <noise> <type>gaussian</type> <rate> <mean>0.0</mean> <stddev>${0.0014*0.0014}</stddev> <!-- 0.25 x 0.25 (deg/s) --> <bias_mean>0.0</bias_mean> <bias_stddev>0.0</bias_stddev> </rate> <accel> <!-- not used in the plugin and real robot, hence using tutorial values --> <mean>0.0</mean> <stddev>1.7e-2</stddev> ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Robotics using Python

Learning Robotics using Python

Lentin Joseph
Python Robotics Projects

Python Robotics Projects

Prof. Diwakar Vaish

Publisher Resources

ISBN: 9781788623315Supplemental Content