Guy uses real world RC copter controls to control virtual copter in CryEngine

Status
Not open for further replies.

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
http://www.vimeo.com/17268726

Due to the cold weather my last FPV flight has been a while ago. So I've reactivated the copter simulation and wrote a new visualization module. This time I've chosen Crysis as the front end. The simulation is still running in a Java application in the background and calls through a Java Native Interface the same controller, which is running in the real copter but compiled for windows. The signals from the remote control are parsed in the real copter and send via XBee to the Java Application. The position and orientation of the copter is then send out via UDP/IP to a local port. On this port a Crysis Mod is listening and sets the camera to the received states.
 

rivan

Diamond Member
Jul 8, 2003
9,677
3
81
The position and orientation of the copter is then send out via UDP/IP to a local port.

Am I missing something? The real copter isn't moving, so how is it determining what it's position and orientation would be if it were?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Am I missing something? The real copter isn't moving, so how is it determining what it's position and orientation would be if it were?

The Java simulator is running those computations....
 

LordMorpheus

Diamond Member
Aug 14, 2002
6,871
1
0
Uhm, so he made a way over complicated flight sim? Why bother?

The important thing is that the real copter hardware is in the loop. If he wants to adjust controller parameters or try different control algorithms, it's a hell of a lot safer to do your initial testing in simulation than in flight.
 

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
The important thing is that the real copter hardware is in the loop. If he wants to adjust controller parameters or try different control algorithms, it's a hell of a lot safer to do your initial testing in simulation than in flight.

This. Considering it's fairly easy to grab heightmap/topology info from Google about a certain area, you could actually render a model of an area you plan to fly at alot simpler than you would think.
 
Status
Not open for further replies.