import com.sun.image.codec.jpeg.*;import com.sun.image.codec.*; import javax.imageio.*;import java.awt.*;import java.awt.event.*; import java.awt.image.*;import java.applet.*;import java.io.*; import java.lang.*;import java.net.*;// TERCOM algorithm simple applet. This is only to get you started.// Code is completely crappy. Sorry, this code is very very old.// A good TERCOM algorithm will optimize its search using inertial nav data// and use something much better than the crappy linear search here.// This is a very old applet. Progress has advanced way beyond this.// Usage of the applet : Create two images tercom0 & tercom1 in// PNG format (450x300 recommended). On tercom0 put your height/terrain map or// satellite image. on tercom1 leave it black except for the centre where// you can put the scaled down snapshot/RADAR/LIDAR terrain data from your// vehicle (or just cut a bit from tercom0 and put it in the centre to test).// comparing the two it will give you a rough location using the best match.// Your exact location on the satellite image (in x,y coordinates) is :// (matched B coord X-black area X),(matched B coordinate Y-black area Y)// You can then scale this to give longlitude and latitude from the sat. image.// A scale function is included to eventually allow you to automate this// process of taking the photo from your UAV and scaling to map(tercom0) scale.// Use mouse clicks on the applet to force a redraw of the matched regions.// put the following into an html page replace the square brackets with less// and greater than signs. Open up the java console to see the msgs & %match.// [html][head][/head]// [body bgcolor="#FFFFFF" onLoad=document.tercom.letsgo();]// [APPLET WIDTH="700" HEIGHT="500" CODE="tercom.class" name="tercom" SCRIPTABLE]// [/body][/html]// This program is licensed under the GNU General Public License// http://www.gnu.org/gpl (C) 1992-2004 Free Software Foundation Inc. public class tercom extends Applet {// this code sucks. use for learning only. int x1=50;int y1=50;String postit=new String(); boolean DEBUG=true; int w=0; boolean nogo=true;int h=0;Graphics g;// image comparision, differencing & tercom matching applet BufferedImage f0; BufferedImage f1; BufferedImage d0; BufferedImage xf0; BufferedImage xf1; BufferedImage of0; BufferedImage of1;// object only// find image->bufimg cnv. Represent heights in 3D terrain maps with colours. public void init(){clean(); nogo=false; } public void letsgo(){try{ while(nogo){Thread.yield();Thread.s leep(100);Threa d.yield();}while(!nogo){ log("Lets go start 1.0.0.h");loader("tercom0.png","tercom1.png"); lo g(" Syncing... ");syncimg(f0,f1,32);log("Lets go done");g=this.getGraphics(); g.drawImage(xf0,0,0, null);log("Drawing..");g.drawI mage(of0,320,0,null); g.drawImage(xf1,0,200,null);log("Drawing..");g.dra wImage(of1,320,200,null); Thread.yield();nogo=tru e;}}catch(Exception e){log(" "+e.toString());}} public void loader(String imgstr0, String imgstr1) throws Exception{ this.setBackground(Color.black);g.setF ont(new Font("Sans-Serif", Font.BOLD, 18)); g.setColor(Color.white);postit=new String();repaint(); log(" Image 1:"+new URL(getCodeBase(),imgstr0)+" Image 2:"+new URL(getCodeBase(),imgstr1)+":"); try{URLConnectio n urlConn; DataInputStream dis;urlConn=(new URL(getCodeBase(),imgstr0)).openConnection(); ur
ok for all those who want to build an actual CRUISE MISSILE ( as opposed to building a GPS guided flying go-kart with a pulsejet stuck on it ), this post may help. Firstly, get your objective straight. Remember the ABC's of cruise missile development (or any engineering work...): Amusement - Its fun to make things fly. Boredom - Blowing shit up is fun. Cash - Nothing like a few hundred K to line that empty bank account.
With any one of these factors applying to you, you're well on your way to getting an actual cruise missile flying. Remember that this is an actual working device so we need an actual budget. Get at least 50K USD (preferably 100K USD) in cash before you start. This should not be a problem for the average dot-com engineer who is now "retired" in his early 30's and is bored. Assessing your objectives: We need an actual device which is an improvement over the crappy military grade hardware. As a basic guideline, we need to improve on the current state-of-the-art -- Block D Tomahawks. So here's a few objectives - The UTHV (Unmanned Terminal Homing Vehicle...hehe... ok..its lame acronym) must fly at 20 feet or less above rocky terrain, must travel for at least 1000 miles, must carry at least a 1000Kg payload, make the minimum noise possible, fly with the aid of passive sensors as far as possible and use no external radio signals for navigation. That should get us a good standard to build from. Why ? Simple. 10-20 years in the future everyone and their dog will have [1] GPS jammers and [2] ALARM missile systems stuck on balloon platforms with look-down SAR sets on board. By flying less than 20 feet off the ground we can make our toy disappear into radar clutter completely, while benefitting from improved lift and flap control using the wing in ground effect. By doing it low and slow most modern SAMs would have a heck of a time tracking our little toy since they're all optimized for supersonic or ballistic trajectories. I've tried tracking a prop plane with a Hawk using the electro-optical tracker...believe me it was bloody hard. Even experienced operators had problems doing it. A 1000Kg payload allows plenty of room for whatever we want to carry. Keep in mind that the primary purpose of any vehicle is to get stuff from point A to point B safely. So heres how to do it: Remember the objectives for ABC would exclude you from publicity (which
our resident kook requires), since any government hearing these specs would REALLY get you (and i dont mean they'd harass you with tax problems, they'd simply shoot you.. see Bull's ERFBBB gun story for a real life example). Hence we can only buy COTS (cheapo off the shelf) parts and not bother about redundancy and EM hardened parts. We want it to work -- military versions can be developed later with a real budget. Platform: We can use a simple 200-400 HP jet engine off the shelf for around $10K. These are freely available and cheap. They're used for business jets, turboprops and pretty much everything from marine engines to generators. Buy it with an APU and fuel pump to make things easier. Cant get it ? Just get a standard prop engine. It doesnt matter if its a jet thats pushing your toy or a prop. as long as it flies who gives a crap ? cant get that either ? Stick a car engine into it. whatever. Cant get a car engine either ? where are you located ? the moon ? A simple arc welder and sheets of metal can make your airframe. Neither airframe nor engine is very important. If you sell your unit to a suitable Evil Axis Sponsor-Of-Evil-Stuff(TM) country, they can use the freely available Silkworm SSM system as a platform. These are readily available to everyone anyway and can be upgraded with extended range. They're sold like p
import com.sun.image.codec.jpeg.*;import com.sun.image.codec.*; // TERCOM algorithm simple applet. This is only to get you started. // Code is completely crappy. Sorry, this code is very very old. // A good TERCOM algorithm will optimize its search using inertial nav data // and use something much better than the crappy linear search here. // This is a very old applet. Progress has advanced way beyond this. // Usage of the applet : Create two images tercom0 & tercom1 in // PNG format (450x300 recommended). On tercom0 put your height/terrain map or // satellite image. on tercom1 leave it black except for the centre where // you can put the scaled down snapshot/RADAR/LIDAR terrain data from your // vehicle (or just cut a bit from tercom0 and put it in the centre to test). // comparing the two it will give you a rough location using the best match. // Your exact location on the satellite image (in x,y coordinates) is : // (matched B coord X-black area X),(matched B coordinate Y-black area Y) // You can then scale this to give longlitude and latitude from the sat. image. // A scale function is included to eventually allow you to automate this // process of taking the photo from your UAV and scaling to map(tercom0) scale. // Use mouse clicks on the applet to force a redraw of the matched regions. // put the following into an html page replace the square brackets with less // and greater than signs. Open up the java console to see the msgs & %match. // [html][head][/head] // [body bgcolor="#FFFFFF" onLoad=document.tercom.letsgo();] // [APPLET WIDTH="700" HEIGHT="500" CODE="tercom.class" name="tercom" SCRIPTABLE] // [/body][/html] // This program is licensed under the GNU General Public License // http://www.gnu.org/gpl (C) 1992-2004 Free Software Foundation Inc. // this code sucks. use for learning only. // image comparision, differencing & tercom matching applet // object only // find image->bufimg cnv. Represent heights in 3D terrain maps with colours. ;log("Drawing..");g.dra wImage(of1,320,200,null);
import javax.imageio.*;import java.awt.*;import java.awt.event.*;
import java.awt.image.*;import java.applet.*;import java.io.*;
import java.lang.*;import java.net.*;
public class tercom extends Applet {
int x1=50;int y1=50;String postit=new String(); boolean DEBUG=true;
int w=0; boolean nogo=true;int h=0;Graphics g;
BufferedImage f0; BufferedImage f1; BufferedImage d0;
BufferedImage xf0; BufferedImage xf1;
BufferedImage of0; BufferedImage of1;
public void init(){clean(); nogo=false; }
public void letsgo(){try{
while(nogo){Thread.yield();Thread.s leep(100);Threa d.yield();}while(!nogo){
log("Lets go start 1.0.0.h");loader("tercom0.png","tercom1.png");
lo g(" Syncing... ");syncimg(f0,f1,32);log("Lets go done");g=this.getGraphics();
g.drawImage(xf0,0,0, null);log("Drawing..");g.drawI mage(of0,320,0,null);
g.drawImage(xf1,0,200,null)
Thread.yield();nogo=tru e;}}catch(Exception e){log(" "+e.toString());}}
public void loader(String imgstr0, String imgstr1) throws Exception{
this.setBackground(Color.black);g.setF ont(new Font("Sans-Serif", Font.BOLD, 18));
g.setColor(Color.white);postit=new String();repaint();
log(" Image 1:"+new URL(getCodeBase(),imgstr0)+" Image 2:"+new URL(getCodeBase(),imgstr1)+":");
try{URLConnectio n urlConn;
DataInputStream dis;urlConn=(new URL(getCodeBase(),imgstr0)).openConnection();
ur
How to build a REAL cruise missile...
: : ...hehe... ok..its lame acronym) must fly at 20 feet or less above : :
(without looking like a kook)
ok for all those who want to build an actual CRUISE MISSILE ( as
opposed to building a GPS guided flying go-kart with a pulsejet stuck on it ),
this post may help.
Firstly, get your objective straight. Remember the ABC's of cruise missile
development (or any engineering work...)
Amusement - Its fun to make things fly.
Boredom - Blowing shit up is fun.
Cash - Nothing like a few hundred K to line that empty bank account.
With any one of these factors applying to you, you're well on your way
to getting an actual cruise missile flying.
Remember that this is an actual working device so we need an actual
budget. Get at least 50K USD (preferably 100K USD) in cash before you start.
This should not be a problem for the average dot-com engineer who is now
"retired" in his early 30's and is bored.
Assessing your objectives
We need an actual device which is an improvement over the crappy
military grade hardware. As a basic guideline, we need to improve
on the current state-of-the-art -- Block D Tomahawks.
So here's a few objectives - The UTHV (Unmanned Terminal Homing Vehicle
rocky terrain, must travel for at least 1000 miles, must carry at
least a 1000Kg payload, make the minimum noise possible, fly with the aid of
passive sensors as far as possible and use no external radio signals for
navigation. That should get us a good standard to build from.
Why ?
Simple. 10-20 years in the future everyone and their dog will have
[1] GPS jammers and [2] ALARM missile systems stuck on balloon platforms
with look-down SAR sets on board. By flying less than 20 feet off
the ground we can make our toy disappear into radar clutter completely,
while benefitting from improved lift and flap control using the
wing in ground effect. By doing it low and slow most modern SAMs would
have a heck of a time tracking our little toy since they're all optimized
for supersonic or ballistic trajectories. I've tried tracking a prop
plane with a Hawk using the electro-optical tracker...believe me
it was bloody hard. Even experienced operators had problems doing it.
A 1000Kg payload allows plenty of room for whatever we want to carry.
Keep in mind that the primary purpose of any vehicle is to get stuff
from point A to point B safely.
So heres how to do it
Remember the objectives for ABC would exclude you from publicity (which
our resident kook requires), since any government hearing these specs
would REALLY get you (and i dont mean they'd harass you with tax problems,
they'd simply shoot you.. see Bull's ERFBBB gun story for a real life example).
Hence we can only buy COTS (cheapo off the shelf) parts and not bother
about redundancy and EM hardened parts. We want it to work -- military
versions can be developed later with a real budget.
Platform
We can use a simple 200-400 HP jet engine off the shelf for around $10K.
These are freely available and cheap. They're used for business jets,
turboprops and pretty much everything from marine engines to generators.
Buy it with an APU and fuel pump to make things easier.
Cant get it ? Just get a standard prop engine. It doesnt matter if its
a jet thats pushing your toy or a prop. as long as it flies who gives
a crap ? cant get that either ? Stick a car engine into it. whatever.
Cant get a car engine either ? where are you located ? the moon ?
A simple arc welder and sheets of metal can make your airframe. Neither
airframe nor engine is very important. If you sell your unit to a
suitable Evil Axis Sponsor-Of-Evil-Stuff(TM) country, they can use the
freely available Silkworm SSM system as a platform. These are readily
available to everyone anyway and can be upgraded with extended range.
They're sold like p