May 272011
 

Trying to learn more about making controllers for actual robots, but the bge is cheaper than buying components. Thought I’d start simple so I made a little differential drive robot and some control stuff. Wanted to spice it up so I gave him a little scoop so he could pitch a ball up.

For now the drive control is completely retarded and the target (ball) sensor is arbitrary so it doesn’t mimic a real sensor like I meant it to. Working on the motor controls more right now.

.blend file (b2.57b)

The bot gets the ball, then goes to the ‘goal’, then pitches the ball up. No aiming yet, doesn’t even work real hard to point in the right direction. Sort of a spaz shot.

Actually this was an offshoot of some problems I was having while trying to make a 0G ‘satellite’ type bot. So I thought I’d limit myself to 2D for now.

May 272011
 

Today I commend one Giorgio A. Tsoukalos. The first sentence of his wikipedia page says it all.

“Giorgio A. Tsoukalos (born March 14, 1978) is a Swiss born Greek writer and television presenter specializing in ancient astronaut theory.”

Not that I don’t think ancient astronaut theory is fun and interesting, even Carl Sagan suggested it deserved a serious look.  I just think this guy is like the Tommy Chong of space advocacy.

Then again maybe I’m worse- he’s just telling a fun story. I’m saying if we don’t start building spaceships like Noah on steroids then we’re all going to die. Yeah, I’m worse.

So I hereby rescind the ‘Kook of the Month’ award. That was quick.

May 242011
 

GOAL:
To get a photo of Blender running in space. Or if one exists, to make lots more.

REASONS:
• Lots! Why not? It’d be really cool!
• To raise the profile of Blender as a tool for education.
• To cultivate awareness, interest, and support for space science and technology.
• To create more opportunities for those of us who are gravitationally challenged to participate and contribute to space science and technology.
• To effectively synergize backwards overflow.

HOW TO ACHIEVE THIS GOAL?
Recruit Suzanne’s Space Monkey Corps! A small army of artists, game designers, developers, coders, kooks, quacks, and nerds, ready and willing to work on small blender projects that an astro/cosmonaut might use in space. Then work on said projects for said ‘nauts. Then ask them to take a picture of themselves using it in space for us.

POSSIBLE PROJECTS:
• Artistic renderings/animations for space education and advocacy.
• Visualizations of data gathered from various research.
• Reaction time, concentration, coordination, or memory testing ‘games’ for cognitive experiments.
• Data logging ‘games’ to allow versatile input of data from inflight experiments. For example an experiment where a mission specialist must observe several insect behaviors in a short span of time. A ‘game’ might be setup with multiple timers and key inputs to report certain behavior ‘events’, results are logged for later analysis and/or visualization.
• Real time visualization of data from external devices connected by tcpip/usb/bluetooth.
• Earth training simulations for experiments to be performed in 0G.
• <insert cool idea I haven’t thought of here>

HOW TO PROCEED (EXTREMELY SIMPLIFIED)
• Make a post with lots of bullet points.
• Get comments from all the brilliant blender people out there to see if this is just crazy or not.
• Volunteers sign up and specify their areas of interest and abilities. (for now just reply to this post and say you’re in and what you’re awesome at)
• Maybe some kind of demo reel / 30 second spot to get the idea out. (beyond the Blenderverse)
• Contact every possible space agency, business, and advocacy group and see what kinds of projects might be useful for currently planned or possible future missions.
• When potential projects arise, open requests will be made to volunteers. Organize work on these projects.
• Stare at the cool pics of Blender running in space and bask in the awesomeness.

WHAT I WILL DO (AND WHO AM I ANYWAY?)
I’m teldredge, just a Blender guy obsessed with space. Here is some of the stuff I’ve done with Blender. Nothing revolutionary, but I like to think I contribute.
I’m very passionate about open source in general. Somewhere between passion, vanity, and delusion I decided that this would be a good idea and that I am somehow qualified to crank up the mission.
For now my plan is to make this post, let it percolate, and meanwhile compile information we need to know to make this happen. Stuff like finding out about existing ISS crew data services. For instance, could a crew member easily download a .blend file aboard the ISS from the internet? Does the ISS use standard wifi/bluetooth protocols or something else. What hardware OS/specs are normally flown? Does the crew fly with personal laptops? What kind of security restrictions, if any, might we need to consider, what can we do to satisfy the security requirements?
Once ‘The Corps’ materializes a little I’ll start writing to the organizations that can help to get the ball rolling, offer our capabilities and announce the mission. Basically try to get the attention of people who fund, fly or live in space and see what they say.
Once projects arise, I’d be happy to organize any projects that are my league, but I’m not sure what league I’m in, so I’d be just as happy to hand off to any of the masters and gurus who are in leagues that make my league look silly.

THOUGHTS:
I realize this is a pretty lofty goal and might look a little naive. Maybe it is. Even so, space travel captures the imagination, and I think the world is in desperate need of imagination. Students from elementary through graduate school have designed experiments that have actually been flown in space. This could be an opportunity to open a whole other avenue for student/amateur participation in space programs, especially since there’s no delta-V required to put a .blend file in orbit. Though it could and probably will take a long time to get this going, there is actually a small chance it could take off very quickly. Technologically the first ‘Blender in Space’ pic could happen overnight. I’m not pinning any hopes on that, just deserves saying.

WHAT THIS IS NOT:
Just to clarify, I’m NOT suggesting that Blender be a part of any critical functions. Nothing remotely related to flight controls, power, navigation, life-support, or anything like that. We’re talking about little stuff here, experiments and tests and such that could involve a consumer grade laptop or netbook.
Also – this is NOT a request for doctored photos pasting a Blender screencap on an astronauts computer screen. If this works each image would be very precious and have a long story behind it including a lot of peoples hard work and dreams. I’d hate to dilute this with questions of authenticity. Hope that didn’t come across wrong, just had to say it.

QUESTIONS:
How would people feel about volunteering for commercial space companies (Virgin Galactic, Blue Origin, Armadillo, SpaceX, Bigelow, etc). As of yet none of these companies could actually take a photo of Blender in space, and since they are commercial they don’t fit into my perfect star-trek vision of enlightened exploration of the universe. However they do fit in a Heinlein universe, and Orson Scott Cards, sort of. Anyway- they are making spaceships, and I love spaceships.
Are there any intellectual property concerns?
Is this just way too far out a limb? Nah, it could work.

FIRST REQUEST:
Every mission needs a patch. I propose Suzanne with a helmet somewhere in it. Any artists want to take a swing at it?
Also- I request to be the CAPCOM for this mission. Any objection? No? Great! I accept!

So whaddya think?
– teldredge (CAPCOM)

May 222011
 

I used to get lots of spam comments until I put a captcha thing on. Most of it was crap but there was a gem…

“We are Dyslexia of Borg. Fusistance is retile. Your ass will be laminated.”

Now that’s good spam.

May 162011
 

t: +10:00
not that any part of a spaceflight is ‘safe’, but we’re definitely into a less pant-soiling part of the mission. that was really exciting.

as much of a space-advocate as i am i have not watched very many shuttle launches. i’m not sure if the Challenger was the first launch i saw, i was only in second-grade, but it had an impact and these things make me more emotional than i generally like to get about such things. i’m not sure i’ll be able to watch the final mission, might break down.

got MECO, they’re in orbit. another OMS burn to hook up with ISS, but looks like we had an ideal launch.

t: +4:30
i’ll feel a lot better once we have MECO.

t: +3:15
wicked awesome. everything’s go. main engines still burning. 50 miles up

t: +2:00
SRB sep.

t: +0:!!!
GO MAN GO MAN GO!!!

t: -0:10 – counting
firing chain armed.

t: -0:30 – counting
there is a seagull that has no idea what he’s about to be a part of. arming sound supression. handing off control to onboard computers. good bye seagull.

t: -2:00 – counting
things moving on the tower. very exciting, everything nominal. praying.

t: -3:30 – counting
look at those giant engines gimbal!

t: -9:00 – resume count
can’t imagine the pressure some of these techs are under. last chance to verify everything is go, or if there’s that tiny flaw that you have to decide if it’s worth shutting down the millions of dollars and the hopes of so many. how many life and death decisions will be made in these minutes? though the number of lives at stake is few, the number of mortal decisions must rival that of warfare. but what a much better expendature of human effort. and i think, the risk of life. these are lives that know full well the risk, and the purpose. they are not soldiers, they are the cause.

t: -9:00 – scheduled hold – 5:00 to go
having said all that about the superbowl and NASCAR i’ll add that commentation is an art form and PAO’s often don’t have much more on-air saavy than some sports people. but at least they’re generally knowledgable. Schirra was a good NASA commentator. still not big on the lengthy shots of PAO’s talking, might as well leave the camera on the pad.

SRB’s are badass. the external tank looks funny, but it’s a great idea.

kinda too bad the Buran program didn’t succeed. The shuttle concept is good, it just needs to be redesigned with post-2000 materials and components.

going around the horn, sounds like we might be ready to launch this thing. “it is in the DNA of america to reach for the stars” -from Mark Kelly (CDR). i wish that were true, but the fact that we shut down Apollo after 17 tells me that’s wishful thinking. he’s an astronaut so maybe he’s got a perspective i don’t. i certainly hope he’s right.

t: -9:00 – scheduled hold
i just want to see this thing go as smooth as butter. easy peezy. i think that’s what makes NASA such a poor contender with NASCAR. nobody watches a launch hoping to see a crash, at least i’m pretty sure nobody does, if they do that’s messed up. not that it’s any less messed up to want to see a NASCAR crash but there is at least a slight chance of surviving those, and the rampant desire to see those crashes is pretty evident from the fact that there is still a ‘sport’ called NASCAR.

NASA is showing a little montage of Endeavor missions. Okay, not to harp on this but this is not great production value. I’m not suggesting that there be a production crew on hand for training and launches- the stock footage is fine, but use some modern editing techniques for god sake. would it kill you to throw in a little CG graphics showing the upgraded hardware or something? i know the budgets tight but farm it out to a film school or something, you could get some good production value.

oh, here’s some CG about the research hardware, that’s cool. still, now it’s all CG and looks like an industrial video. i hate pandering to the gen-X, Y, whatever, but hey- “you know what makes these birds go up? funding. no bucks, no buck rogers.”

t: -11:00 – counting
that’s a damn impressive machine up there on the pad. still would have liked to see a saturn V though. i can only imagine being up in that thing. what an amazing idea. how has this not captured as many imaginations as the xbox and ps3? kind of sad, but could still be remedied. this stuff is intrinsically amazing and if you peel away the acronyms and checklists you find an astonishing thing. all the other distractions in peoples lives are empty when you cut away the veneer.

t: -20:00 – resume count
this is some of the most coordinated and controlled work in the world. a symphony of engineering and genius at breakneck tempo. makes and amazingly dull show though. too bad we’re so obsessed with theatrics. i guess if you threw all the cash and production expertise that goes into a superbowl at it- it might spice it up. i’m not sure i’d want to see that but at this point i’d deal with the vulgarity of it to increase funding.

t: -20:00 – scheduled hold
one last soaring song
escape and return through fire
precious flight of hope

always looks so quiet on the pad at these times. so many things to check, so many variables to gauge. they’re just doing their jobs really, that’s probably how they think of it. they’re professionals.

let’s have a perfect launch and a perfect mission. god speed crew of Endeavour, and of the ISS.

May 102011
 

I don’t even know…

Okay, I guess I do know, I made it.
Why?
I don’t even know.
How?
bge and a simple gravity script of course.
wanna hear it? here is go!

import bge
from mathutils import Vector
co = bge.logic.getCurrentController()
scene = bge.logic.getCurrentScene()

obList = []
for o in scene.objects:
    if o.__class__ == bge.types.KX_GameObject:
        obList.append(o)

def calcGrav(obA, obB, G):
    m1 = obA.mass; m2 = obB.mass
    m = m1*m2
    loc1 = obA.worldPosition
    loc2 = obB.worldPosition
    v = loc1 - loc2
    r = v.length
    F = G * ( (m) / (r*r) )
    return -v * F

def loopGrav(obs, G):
    for obA in obs:
        fV = Vector((0,0,0))
        for obB in obs:
            if obA != obB:
                fV += calcGrav(obA, obB, G)
        obA.applyForce(fV, False)

loopGrav(obList, 1)

keyb = bge.logic.keyboard
if keyb.events[bge.events.ZKEY]>0:
    for ob in obList:
        ob.applyTorque(Vector((0,0,50)), False)

if keyb.events[bge.events.XKEY]>0:
    loopGrav(obList, -2.5)

if keyb.events[bge.events.CKEY]>0:
    loopGrav(obList, 15)


HOW TO:
– copy/paste script into blender text editor.
– setup an EMPTY object with logic nodes as shown.
– change ‘Engine’ from ‘Blender Render’ to ‘Blender Game’
– set World>Physics>Gravity to 0.0 (under Bullet)
– create some objects.
– hit ‘p’

This script will (should/might) make all meshes in the scene obey Newton.