I am reading accelerometer data from the wiimote /wiimote/state topic.

A sample of the data I'm working with is as follows:

angular_velocity_raw:
  x: 8292.0
  y: 8246.0
  z: 8182.0
angular_velocity_covariance: [0.1915446291709091, 0.0, 0.0, 0.0, 0.3915998474972723, 0.0, 0.0, 0.0, 0.5571460438609092]
linear_acceleration_zeroed:
  x: -3.63209259259
  y: -1.45283703704
  z: 8.67511346154
linear_acceleration_raw:
  x: 120.0
  y: 128.0
  z: 154.0

From running the turtlebot3_teleop node I can see that the range of data on the linear-x axis is -2.84 to 2.84 while on the angular-y axis it's -0.22 to 0.22. My problem is the x axis the data I retrieve from the accelerometer is much larger. For instance, from the output above, angular_velocity_raw.z has a value of 8182.0 and linear_acceleration_raw.x has a value of 120.0.

Can anyone help me with advice on how I can accurately make my accelerometer figures fit into the specified ranges mentioned above?

asked 27 Dec '18, 02:09

adeoduye's gravatar image

adeoduye
01
accept rate: 0%

edited 27 Dec '18, 02:53


Sorry but your question is very confusing, I cannot understand what you mean.

What does have to do the turtlebot3_teleop with the accelerometer data? What is this range on the linear-x axis you are talking about?

Please provide a complete description of your problem with clear explanations and data

permanent link

answered 09 Jan, 11:41

rtellez%40theconstructsim.com's gravatar image

rtellez@thec... ♦♦
1752
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×21
×3
×2
×1
×1

question asked: 27 Dec '18, 02:09

question was seen: 317 times

last updated: 09 Jan, 11:41

powered by OSQA