ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Driving the robot up a ramp

asked 2013-05-14 17:41:35 -0600

Astronaut gravatar image

Hello

I wont to do some test with my platform. My platform is an electrical wheelchair and I wont to calculate some parameters during the driving. I wont to drive it up and down a ramp and I wont to know how to calculate when the platform is up or down the ramp. So I will start in some point (horizontal level) and drive up the rmp till the end. So how to calculate that??

Thanks

edit retag flag offensive close merge delete

Comments

Very interesting !

Arkapravo gravatar image Arkapravo  ( 2013-05-14 19:55:58 -0600 )edit

So any help????

Astronaut gravatar image Astronaut  ( 2013-05-14 22:13:04 -0600 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2013-05-15 04:08:12 -0600

dornhege gravatar image

Assuming you have an IMU, look at the pitch angle:

  1. should be below a flat surface threshold, e.g. 5°
  2. wait until above threshold for ramp angle, e.g. 20° -> on ramp
  3. wait until below flat surface threshold, e.g. 5° -> off ramp

It's basically like a Schmitt-Trigger if you are familiar with that.

edit flag offensive delete link more

Comments

yeas, but IMU is very drifted, Only based on IMU will not give such accurate results

Astronaut gravatar image Astronaut  ( 2013-05-15 04:59:29 -0600 )edit

is it possible to use the pose from Hactor mapping or amcl that has a pitch component?

Astronaut gravatar image Astronaut  ( 2013-05-15 05:07:51 -0600 )edit

I have a map of the environment so want to use the pose for that purspose

Astronaut gravatar image Astronaut  ( 2013-05-15 05:21:26 -0600 )edit

You have a very crappy IMU than I think. A simple accelerometer should be able to correctly measure the angle of the gravity vector.

davinci gravatar image davinci  ( 2013-05-15 05:31:29 -0600 )edit
1

The pitch angle of an IMU should not have drift.

dornhege gravatar image dornhege  ( 2013-05-15 06:36:14 -0600 )edit

Question Tools

Stats

Asked: 2013-05-14 17:41:35 -0600

Seen: 326 times

Last updated: May 15 '13