Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:
  • Seite:
  • 1

THEMA:

is the fact that all the motors are running somehow interrering? 26 Jul 2018 10:53 #1

  • spadekevin
  • spadekevins Avatar Autor
  • Offline
  • Benutzer ist gesperrt
  • Benutzer ist gesperrt
  • Beiträge: 3
  • Dank erhalten: 0
Hello,

Our robot has a line follower algorithm. The light sensors work great.
The idea is that the robot follows the line until the sonar distance is below a threshold
The problem is that the sensor often returns nonsense values , which causes the robot to either overshoot or underrun.

We have tried various techniques to filter out bad values. For example, we tried reading three values in a row and picking the center value. What we found is that once it is in this mode all the reads return the same incorrect value. A stand alone program which puts the sonar sensor values on the display works fine. We also tried a second sonar sensor.

I'm wondering if use of the hitechnic board driver is interferring with the sonar sensor reads? Or is the fact that all the motors are running somehow interrering?
Please help.

I didn't find the right solution from the internet.

References:
www.robotc.net/forums/viewtopic.php?f=33&t=1269
Retail Advertisement Example

Thank you.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

  • Seite:
  • 1
Ladezeit der Seite: 0.155 Sekunden
Powered by Kunena Forum