Azimuth / Elevation control
Posted: 19 Sep 2011, 01:17
Hi all,
Most of you guys can probably do this in your sleep, so please bear with me. I'm working on a project in which I want to control an Azimuth/Elevation mount with a NXT. I want to be able to supply it with a list of co-ordinates like:
Time / Az / El
0 / 1 / 1
1 / 1.5 / 1.1
2 / 1.9 / 1.2
3 / 2.2 / 1.25
4 / 2.4 / 1.2
5 / 2.5 / 1.1
etc
The units of time could be anything - seconds, 10ths of seconds, minutes, etc
The units for Az and El will be motor rotations (from origin)
I would like the motion to be as smooth as possible, so at the end of each segment I want to not stop the motor if it needs to keep moving to the next point. And I want it to hit each point as accurately as possible. Does anyone have an algorithm that could do something like this?
Thanks
ROSCO
Most of you guys can probably do this in your sleep, so please bear with me. I'm working on a project in which I want to control an Azimuth/Elevation mount with a NXT. I want to be able to supply it with a list of co-ordinates like:
Time / Az / El
0 / 1 / 1
1 / 1.5 / 1.1
2 / 1.9 / 1.2
3 / 2.2 / 1.25
4 / 2.4 / 1.2
5 / 2.5 / 1.1
etc
The units of time could be anything - seconds, 10ths of seconds, minutes, etc
The units for Az and El will be motor rotations (from origin)
I would like the motion to be as smooth as possible, so at the end of each segment I want to not stop the motor if it needs to keep moving to the next point. And I want it to hit each point as accurately as possible. Does anyone have an algorithm that could do something like this?
Thanks
ROSCO