My Projects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

robotic:tracked [2022/04/25 14:25]
tony
robotic:tracked [2022/04/26 21:14] (current)
tony [Software]
Line 44: Line 44:
  
 =====Software===== =====Software=====
-I started with the Arduino code that I used on //Turbo Explorer//, but changed all turning routines to drive the motors on either side in opposite directions, rather than just letting ​on side idle while the other powered the turn.  Otherwise the tracks on one side were dragged around as the other powered the turn.+I started with the Arduino code that I used on //Turbo Explorer//, but changed all turning routines to drive the motors on either side in opposite directions, rather than just letting ​one side idle while the other powered the turn.  Otherwise the tracks on one side were dragged around as the other powered the turn.
  
 {{:​robotic:​explorer:​explorer3.ino|Avoid obstacles}}:​ Initial basic "​navigation"​ software, the objective is to be able to drive around a room without banging into things. ​ It just uses the front corner sensors looking for things at close range, if it detects something it turns away in the opposite direction. ​ If it detects something on both sensors it turns around. ​  ​Additionally if it has been running without turning at all for 7 seconds it guesses that it might be stuck, and turns around. {{:​robotic:​explorer:​explorer3.ino|Avoid obstacles}}:​ Initial basic "​navigation"​ software, the objective is to be able to drive around a room without banging into things. ​ It just uses the front corner sensors looking for things at close range, if it detects something it turns away in the opposite direction. ​ If it detects something on both sensors it turns around. ​  ​Additionally if it has been running without turning at all for 7 seconds it guesses that it might be stuck, and turns around.