Showing posts with label NASA. Show all posts
Showing posts with label NASA. Show all posts

Monday, June 15, 2015

Viewing Atlas V Launch at Cape Canaveral

Rocket launch up close
Courtesy of www.nasa.gov. Launch of MMS on the Atlas V
A little late is better than never...
This past March, I had the opportunity while visiting Florida to go to Cape Canaveral and watch a launch of a NASA satellite for The Magnetospheric Multiscale Mission (MMS). This is actually a set of four satellites, launched together, which will fly in formation and take measurements of the Earth's magnetosphere. Yeah, I never heard of it either until I found out about the launch. The MMS was launched on a United Launch Alliance Atlas-V 400-series rocket.


Logistics

I had a trip planned to the central Florida area this March, and since I have been several times before to the area, but never during a real launch I was excited to find out that there was indeed a scheduled launch during my trip. I initially just used the Kennedy Space Center (the tourist site company) website, which lists upcoming scheduled launches, and found the post for an Atlas V launch
When: March 12, 10:44 pm

Where: SLC-41, Cape Canaveral Air Force Station
Kennedy Space Center
Rocket Launch: Atlas V | Magnetospheric Multiscale (MMS)

At some point I've subscribed to a Kennedy Space Center "Launch Alert" mailing list, although this particular launch wasn't one that I got an email for. This was probably due to the scheduled time, at 10:44 pm, the official Kennedy Space Center visitor center is closed. I called the day before to the KSC's main number and left a voice message asking if they still had any sort of ticket available to view the launches at night, they did not respond.

After reading a number of other sites with viewing advice for launches, we decided to wing it by going to Cape Canaveral and looking for one of the public viewing areas outside the actual NASA / U.S. Air Force base in the town of Port Canaveral or some of the other nearby state parks. According to launchphotography.com: 
For off-hours/night launches, when no tickets are being sold by the Visitor Complex and Playalinda Beach is closed,
the best option for Atlas 5 launches is Port Canaveral on Route 401, at 11.7 miles from the pad. In that case it is the furthest viewing of any rocket.
Armed with this minimal information we headed off to view the launch!


Night of the Launch

After double-checking the weather reports, the launch appeared to be on schedule. We drove the hour or so to Cape Canaveral in the early evening, the sun was still up and went to get dinner. I think we ate here, which was unremarkable, except for the fact that nearly everyone in there were "space launch groupies" all going to the same launch afterwards. At the table next to us was a couple who apparently had connections to access the base. They were kind enough to suggest we take a look at spaceflightnow.com as the best place to get real-time info on the upcomming launches. After eating our dinner, we drove over to try to get a spot along Rt. 401 which faces the launch pad for Atlas Vs to the North, across an open body of water called the Banana River.
Map of Rt. 401 where we watched the launch
As you may see in from this map image, there is a curve of Rt 401 which goes behind the Port Canaveral cruise terminal. There really isn't an official beach or parking area, people just parked on the north side of the road on some grass next to the water. By the time we got there it was around 8:45 PM and the enter stretch of the road from the entrance to the Air Force base to the East of this map, all the way to the road cornering to the south was taken. Our car was one of the last cars to fit in to a spot before there is a guard rail that prevents any roadside parking on that side, just around that bend. There are "No Parking" signs across the street and there is an active police presence who we saw forced some people who parked on that side to leave. Moral of this story is try to get there early, 2 hrs or more.

After we parked we had two hours to wait. A lot of people were setting up large cameras with zoom lenses on tripods. Since the only people there are the people who drove and were able to park in that area, it wasn't particularly crowded at all, but you had neighbors to your right and left at all times. We sat on the grass in a spot with a good direct view at the rocket on the pad, preparing for launch. From our smart phones, we caught the NASA TV live stream which was mostly just a video of the rocket from close up. Occasionally there would be a feed of some talk of the mission controllers asking for a status check on some system. Things like this were often heard during the hours before the countdown: "The Centaur liquid oxygen pad storage area has been prepped. The next step is conditioning the transfer lines, which is now beginning to prepare the plumbing for flowing the cryogenic oxidizer."

The worst part of this experience was the wait. Right offshore in the shallow water, parallel to the road were some high power lines, which made an incredible loud electrical buzzing the entire time. There were also police patrol cars going up and down the rows of cars along the street, with their lights flashing. The two combined in the most awful synergy to probably qualify as a form of torture in most of the developed world. We spent the next hour listening to updates on my phone, while taking looks at the rocket and the Vehicle Assembly Building which was also nicely lit, and perfectly visible using my binoculars.

Pictures of the Rocket

Here were some pictures we managed to take. It was dark, and my camera isn't meant for this. My camera is a Sony Cybershot with 20x optical zoom. These were all taken during the fueling stage.
Landscape of the Cape Canaveral base. The Atlas V launch is at center. The VAB is on the left and well lit.

The clearest shot with full zoom

Another zoomed shot of the Atlas V on the launch pad



The Launch

After 2 hours of waiting (and nearly a half day of driving and waiting overall) we finally began hearing the dramatic count down. As I was informed halfway through their count down by a "neighbor" the stream from my smart phone was on about a 20 second delay. So around "T-20" we started seeing the bright orange flames and smoke around the base of the rocket as it silently began to lift off. It was nearly overhead before we heard the loud rumble of the rocket pass by us. I spent most of the launch trying to see something with my binoculars, at first the flame was too bright and I didn't see much. I barely saw it as the first stage separated I think. My mom did the honors and held my digital camera as we filmed a movie.


Aftermath

I can't say I was a big enthusiast for Magnetospheric science, but I have been keeping an eye on the MMS mission since launch. The four satellites in the rocket that were launched together all separated and are flying in a formation in orbit around Earth. They are continuing to take measurements and function as of today. I look forward to seeing what science they are able to do from this mission.

Tuesday, July 9, 2013

Europa Report: Movie Review

I am always a fan of science fiction films and happy for any science fiction that comes my way. In this case Europa Report is a fairly independent movie that is being released online and On Demand before being shown in theaters. I recently watched this through my cable providers "Video On Demand" feature, where you can purchase a rental of this movie for $9.99 (ouch). There are both standard definition and high-definition versions available, but if you get one you don't get the other, so use with caution. I think releasing movies straight to the internet/on demand and skipping the theaters is a new strategy in the movie industry. Hear about that trend in this recent NPR: On Point broad cast: Is the U.S. Movie Industry Broken?
Europa Credit: NASA

Europa Report is about a fictional manned-mission to Jupiter with a landing on the icy moon Europa. One of the four large "Galilean moons" of Jupiter, it has an icy crust, and as we all know, likely to have a sub-surface ocean of liquid water. This near-future sci-fi to stick closely to known technologies and science, might be what one would call "hard sci-fi", more 2001 than Star Wars. But actual science is not usually box-office dynamite (or so studios believe), so as the crew of 6 astronauts approach Europa they fall into increasingly critical misfortunes that threaten their mission and their lives. The movie is foreshadowed by an "executive" talking to the camera, documentary style about the mission and you get the sense something went wrong. Most of the movie is then shown through lost-footage style clips showing bits and pieces of the long journey and the events on Europa. This seems to be a common trope now as it is similar in the style to Apollo 18. Not only is the footage spliced together out of order so you don't get a full understanding of the events until later, but they use a lot of creepy noise effects and interference at times to make it seem "spookier" I guess. I still think Moon did the best job in recent years, to tell a story in space without devolving into a sub-genre of typical horror films, and just having normal drama in a science fiction setting (yes the premise for Moon isn't that realistic). In any case, I don't think it is a huge spoiler, given the trailers for this movie, to tell that things don't ultimately end well for the entire crew.

Thera Macula (false color) on Europa. Credit: Paul Schenk/NASA
Other than the style, I found the characters and story were pretty good, the effects were pretty good overall and didn't seem like overuse of CGI and they did have some weightlessness scenes. The scenes in orbit around Jupiter and Europa were quite impressive, makes you wish we really were going there. There were no explosions in space, super AI, fusion reactors or any other really exaggerated technology. The ship had a rotating living section to simulate gravity which they spent most of their time in. Once they get to Europa they send a large section of the craft down as a lander which will then drill through the ice and hopefully reach the under-ice lake or ocean in order to search for life. That is the plan anyway.

Europa Report currently has a 69% fresh rating on Rotten Tomatoes. Overall I enjoyed the movie. It's probably worth a Netflix rental, rather than paying $9.99 for it.

spoiler alert!

 Stop reading if you don't want critical pieces of the movie spoiled for you.



While the Europa Report was pretty good, but the "science" part of the plot kept reminding me of List of things I did not care for in Prometheus. Basically it comes down to: "We are going to go halfway across the solar system, for the first time in humanity, but as soon as we get there we have no ability to actual get any scientific research done without being eaten by monsters". One the main claims to fame this movie has is the supposed realism and authenticity of the mission. I feel their hearts were in the right places, and it's basically a movie about every space geek's fantasy about what might be on Europa, but they fell into too convenient plot devices I found hard to swallow, despite enjoying the movie.

Among my issues with the plot:
  • No redundancy of communications... what!? Isn't that the most important thing for a mission to another planet/moon? Not to mention they apparently did have a way to repair it, but chose not to until the very end. Oh and genius idea that the life-support subsystem can swap parts with the communication subsystem.
  • No redundancy of their drilling probe? They lose one and all is lost. They can't improvise a camera on a pole and look under the ice?
  • Apparently, there was no firm plan to have the crew explore the ice surface after landing, no radiation protection, no way to deal with hazards of walking on ice, no vehicles to use other than walking. Why send humans at all in that case?
  • When they do send a scientist outside, they have no safety harnesses, they don't use a buddy system like mountain climbers (were the Apollo astronauts ever alone?). Let alone have any sort of a rescue plan i.e. a jet-pack or other person suited up ready to go out in an emergency. Maybe flotation devices might be useful on a planet with liquid water? For that matter, I wonder how buoyant a space suit is with low gravity, since I believe in those neutral buoyancy tanks on Earth they weigh down the suits with additional weight. She basically sinks like a stone in falling through the ice, they don't even bother to go after her, but it's implied she is eaten/killed by the monster. This is like horror movie 101 stuff, never go out alone, never walk towards the mysterious light.
  • So they go all the way to land on Europa and they don't have a reliable way to go outside, so you would think the lander would have all sorts of robotic arms, scoops and other sensors to get as much science, like any other lander NASA has ever sent to another world, but other than the one drill probe, apparently not. Wouldn't a major effort be to take back "Europa-rocks" of ice samples or whatever they can find and bring back to Earth for research?
  • You would think to support such a mission there would be a network of probes either in orbit around Europa or in the Jovian system which would be taking images of them and the landing site (maybe to see aerial view of the "lights" they are so desperate to see up close), able to relay communications, etc.. Like we have on Mars now with NASA's MRO
  • 6 crew all the way to Europa and only 2 scientists doing anything while they are there.
  • They didn't exactly explain how long they planned to live on Europa, similar to some missions to Mars, the return window is some length of time away, so they need to have some semi-permanent base to live and work out of for an extended stay. For Mars exploration there are ideas to send unmanned supply/cargo craft that would already be there on the moon for them to use to set up some sort of base. It didn't look like they had any plan like this, and it seemed like they had an all or nothing EVA to get scientific data before trying to come home? It wasn't clear if the rapid take off was due to the crew death's or because they weren't going to stay long anyway.

Maybe the idea (I doubt the writers even thought this far ahead) was that the mission was really just a "plant the flag" expedition to Europa, without much plan for hard science, but to promote the Europa Ventures company. Something like the quick and dirty ways they could get to Mars really fast without doing anything useful while there. But then again, they probably wouldn't need 6 crew for that. On the other hand, the one thing they did have redundancy for was the lives of the crew!


Some unresolved questions or plot points, and maybe I just missed them:

Why couldn't they leave theAndrei in the orbiter? Not that it mattered I guess, did they imply he had radiation poisoning or just that he was depressed?
 
Why did that male scientist die at the end, did he just fall because of an "ice quake" or did the monsters get him?
 
Hopefully the monsters' ecosystem isn't waiting for spacecraft to land, be attracted to their lights and fall through the ice so they can be eaten. They would get very hungry.
 
Wasn't the monster creature attracted to light almost directly taken from Arthur C. Clarke's "2061: Odyssey Three"?
 
It was implied that there was some connection between radioactivity interference and the monsters, could be interesting if there were alien life that could somehow use radiation in the environment directly as a food or heat source. But this was never really "answered" within the movie.

Saturday, June 23, 2012

Book Review: Von Braun Dreamer of Space...

I recently finished this book Von Braun: Dreamer of Space, Engineer of War by Michael Neufeld.

This post is a reprint of my book review on Amazon.com

Debbie Downer History of Von Braun
This deeply detailed biography seems to say that von Braun's popular image was more about fame and personality than real accomplishments or importance in the history of the Space program and even before. Not having studied the man before, I have to admit to buying in the general mythology of his too until reading this. From an American perspective, there is something very positive about his life, he is the ultimate immigrant success story, a case of American pragmatism to accept a national of a former enemy and promote him to the very heights of power in our government, that opportunism (on both sides) is very Stangelove-ian and in strange way admirable to me. He was apparently a likeable and charismatic man with big dreams when the country was thinking big, so its not hard to see his rise to fame and power. The book, though, takes a hard look at his active cooperation with or at best neutrality towards the highest levels of the Nazi regime and the crimes of war in the production of the V2. Further complicating is the probable deceitfulness he expressed in later denying much of the story of his true involvement and an apparent lack of personal guilt. I am sure if I agree with the author that this criticism is deserved, but it is quite surprising to find out he was an SS officer.

I found that overall it seemed like the author was a little lopsided in the flow of the narrative, usually moving between personal/political challenges then various technical issues without any real success. It almost seemed like he never actually got any rockets or missles to actually work. Usually by the time the technical issues are sorted, the discussion moves to some other crisis, or the next project, with rarely discussing the actual successes. For instance, based on the way the book describes it, it didn't seem like they actually had any completely successful tests of the A4/V-2 before it was put into production and active duty, yet didn't thousands not in fact hit London and Antwerp (very little about the actual V2 bombings was mentioned)? After the war it seemed as of Von Braun and the rest of the paperclip scientists spent 5-6 years doing little of anything in Texas, later Huntsville, AL, which if totally accurate is amazing considering how much attention that group of scientists was given supposedly. His group's contributions to the overall American rocket and missile field appear modest, without much impact on the Cold War. Whole chapters deal with the US Army's efforts to develop ballistic missiles, such as Redstone and Jupiter-C, were either ever used for anything in practice? The book basically portrays these efforts as one development issue or lack of mission crisis after the other with little mention of any actual outcome from these efforts. Its hard to miss the success of the Saturn V and von Braun's central role in that effort, due to the Apollo moon landings, though great pains are taken to portray him as as subordinate center director in NASA rather than a leading figure. In the end his tenure at NASA headquarters is described as a depressing frustration and his post-NASA career also at Fairchild is also portrayed with mix results.

Maybe the author was purposefully trying to contradict some other more glowing histories of the man, though I suspect the truth is somewhere in between. A lot of the details of his personal and professional life still do impress, even if he didn't really do anything successfully, he seemed to work pretty hard for his entire career.

The more I read about the subjects of NASA (To the Ends of the Solar System, Moon Hunters), the more of a happy coincidence we had to even get to the moon (Kennedy's promise, followed by a pro-space successor in Johnson). It is quite eye opening to read these behind the scenes accounts of the political and budgetary battles in government that ended up killing any really expansive manned space program after Apollo that we've all read about. Its amazing how the government made it seem like we were on this mission to the next big thing it just needed more time, when in reality they were consciously killing programs that would get us to Mars or put stations in space.

I read the book in paperback edition. One improvement is that it could have used some maps of Europe and Germany, especially for the Peenemünde era and World War II. As an aside his name is pronounced in German: "Vairner fon Brown"

Tuesday, February 14, 2012

Review of code.nasa.gov

I was reading an article on Google News, that NASA Powered Down Final IBM Z9 Mainframe, in favor of moving to more server (Linux) based applications. Its a smart move, given the recently announced looming budget cuts. But what caught my eye in that story was a reference to NASA deciding to put all it's Open Source projects under one banner, "code.nasa.gov".

Having participated in one of these projects, World Wind.NET, I was curious to see the state of that project as I've not worked on World Wind for some time now. From what I recall, all projects that were under the NOSA [NASA Open Source Agreement] license, were in fact all listed in one site, back when I contributed to the World Wind project, it escapes my reaches at the moment, but it was a very dated, plain site with many projects I've ever heard of.

In any case, code.NASA.gov is the cool Web 2.0 portal to a variety of projects, it has search and basically that is it. What I found by searching for "World Wind" was a single project page referring only to the World Wind JAVA project: http://code.nasa.gov/project/world-wind-java/. There is not a lot of information there, just a one sentence description, and a link to an externally hosted source code repository on GitHub. I don't see anything about the main developers focused on the WWJ project (from what I recall), I don't see links to WorldWindCentral, the site that hosts the main, active public Forum or the Wiki.

To my disappointment there was also no mention, no link to the source for the WorldWind .NET project which has it's own C# codebase separate from the Java project. I guess you can't expect too much, but to me the fact that they publicize this site as some kind of accomplishment is a little pointless, its a search engine for all NASA Open Source projects, its not a community or anything more. What might be slightly more useful is the related, sites, http://open.nasa.gov/ which has a blog, and I suppose http://data.nasa.gov, which links to other sites containing NASA provided data, which I believe is all in the public domain.

Out of curiosity, I went and revisited the WorldWindCentral forums, not only has NASA stopped supporting or contributing to the WorldWind .NET project, they've apparently turned off all the imagery servers serving the tiles in the format that .NET client application could receive. One of the forum members under his own initiative worked on methods to download the WWJ format data to feed in to the .NET client. This was one of the reasons I gave up participating in that project, it felt like a dead end. Even more shockingly, the developers for WorldWind Java have been asking for donations to keep the WorldWindCentral forums running, this is for a currently active project.




Saturday, January 28, 2012

In Support of Gingrich's Moonbase

Republican Presidential Candidate, former Speaker of the House, Newt Gingrich has come under ridicule by the media and Mitt Romney for floating an idea during a campaign speech in Florida in which he proposed a "moonbase". His quote is basically a generic campaign promise, like "I will close Guantanamo Bay".
"By the end of my second term [2020], we will have the first permanent base on the moon and it will be American,"
This has actually become a major political story, with Newt's poll numbers dropping in Florida and it becoming a debate talking point of his rivals.

I am no Newt supporter, I supported Obama in 2008 and will absolutely vote for him over any Republican in the field this time. But while it makes me cringe to say it, nothing he is saying is unreasonable, and furthermore the criticism he is getting for this one-liner reflects more on the current state of America than on Newt Gingrich's supposed erratic behavior. A sound bite from Romney during a debate has been repeated several times today:


"I spent 25 years in business, If I had a business executive come to me and say they wanted to spend a few hundred billion dollars to put a colony on the moon, I'd say, 'You're fired.'"[1]
 First of all, one angle of criticism as expressed by Romney, is that the idea itself is so outlandish that it deserves no discussion and proves some lack of reality on the part of Gingrich. Lets just step back for a bit here: In the 1960's, now nearly 5 decades ago, the US built a space program that sent multiple manned missions, that landed on the moon, allowed people to explore and return with hundreds of pounds of lunar material. This was all with a guidance computer that had a 2Mhz processor and 38KB of storage memory made out of magnetic coils[2]. Since then, though NASA and the US Government have spent 40 years stuck in Low Earth Orbit, with the Skylab and Space Shuttle programs. Regardless the technology certainly exists for physically getting people or materials to the moon, what is lacking is funding and political will. We have sent craft outside the solar system , robotic probes in orbit around other worlds such as Galileo (Jupiter), Cassini (Saturn) and Mars Reconnaissance Orbiter. We have had a continual presence in space for the past 10+ years [3], (not that far from permanent) in the International Space Station .

Not to get all science-fiction-y, but the idea of the Moon-base is hardly new, or outlandish either. Since the 1950s, Arthur C. Clarke and others(including governments) have made proposals for lunar colonization. There has been plenty of NASA and independent research on the idea of space colonization generally from the 1970s. Yes, there is plenty of debate even among space enthusiasts over the best strategy of exploration and colonization, from orbital space stations, direct to Mars missions or other ventures to asteroids, a gradual approach to all of the above etc. Not to discount any other approach (in fact, my preference would be some kind of space colony at a Langrangian point such as Earth-Moon L4/L5), but even if you search right now on NASA's website they have a whole Why the moon? page with documents from as recent as 2006 with various suggested motivations for going back to the moon, including eventually extending human civilization with permanent settlements. Among 6 reasons selected for going back to the moon (in the exploration sense, initially at least:

Human Civilization
Extend human presence to the moon to enable eventual settlement.

Scientific Knowledge
Pursue scientific activities that address fundamental questions about the history of Earth, the solar system and the universe - and about our place in them.

Exploration Preparation
Test technologies, systems, flight operations and exploration techniques to reduce the risks and increase the productivity of future missions to Mars and beyond.

Global Partnerships
Provide a challenging, shared and peaceful activity that unites nations in pursuit of common objectives.

Economic Expansion
Expand Earth's economic sphere, and conduct lunar activities with benefits to life on the home planet.

Public Engagement
Use a vibrant space exploration program to engage the public, encourage students and help develop the high-tech workforce that will be required to address the challenges of tomorrow.
Sign me up! I don't think I am alone either in my view that the Gingrich's idea itself isn't outside what is possible given our current technology, nor a worthless exercise. The timeline might be aggressive, with current NASA resources, although, the Constellation program under President George W. Bush sounds remarkably like what Gingrich is talking about, in a way, they are saying the same thing as President H.W. Bush did in 1989, when he proposed a return to nuclear rocket research[4] aimed at goals of a moon base and Mars missions. [5]

I could write a whole other article on the feasibility of nuclear rockets, after just finishing a book on the subject, The Nuclear Rocket: Making Our Planet Green, Peaceful and Prosperous, by James Dewar which delves into why chemical rockets will never truly allow for a equitable, private-sector based exploration or colonization beyond Earth orbit. In the case of the moon, we probably don't need to go there, though it adds interesting ideas to bring the cost down. That could be part of Gingrich's plan, but probably it isn't. In any case, its not even something his critics are really talking about.

This goes to my final point, obviously Gingrich has plenty of enemies now, from his current Republican rivals, to left-liberals still bitter over the 1994 Coup d'état, so as it is in politics, you don't really need a rational basis for attacking someone's ideas, it just needs to sound bad when taken out of context. But I find it odd, that even among the supposedly "patriotic" right-wing, who claims to believe so strongly in the notion of American exceptionalism, there is so little faith that such an idea, to build some kind of station on the moon in 8 years is an impossible dream? I wonder if this is the continuing creep of anti-science thought that is growing in this country, from evolution, stem-cells, climate change/global warming. This may just be the latest example where science and technological progress is denounced with no basis. Amazing that something that was done 50 years ago is now a crazy idea today!

I leave you with Niel deGrasse Tyson, making excellent points, explaining why we are declining and that we are losing our edge in space since we don't spend too much on space anyways...


References
[1] Oliphant, James, Robin Abcarian, Kim Geiger, and Michael Memoli. "Moon base! Freddie! Self-deportation! The GOP debate's top 5 moments." Los Angeles Times 27 Jan 2012, n. pag. Web. 27 Jan. 2012. <http://www.latimes.com/news/politics/la-pn-florida-debate-top-5-feistiest-moment-20120127,0,7763027.story?page=1>.
[2] O'Brien, Frank. The Apollo Guidance Computer. New York: Springer, 2010. Print. 
[3] "Facts and Figures." International Space Station. NASA, n.d. Web. 27 Jan 2012. <http://www.nasa.gov/mission_pages/station/main/onthestation/facts_and_figures.html>.
[4] Bush, George H.W. NSPD-6. “Space Exploration Initiative.” NASA Historical Reference
Collection. (File: 012605). 9 Mar. 1992. <http://www.marshall.org/pdf/materials/867.pdf>

[5] Hsu, Jeremey. "All Spaced Out: Past President's Cosmic Visions." Space.com. N.p., 16 Apr 2012. Web. 27 Jan 2012. <http://www.space.com/8234-spaced-presidents-cosmic-visions.html>. 

Images credit to NASA/courtesy of nasaimages.org.

Thursday, November 4, 2010

Deep Impact makes closest approach to comet Hartley 2

The NASA probe, Deep Impact, is currently making its closest approach to comet Hartley 2. It will eventually fly within 700km of the comet. During the fly-by the antenna will be not be oriented towards Earth so it will be some time before photos come out. They didn't want to fly any closer due to the risk that the comets debris 'tail' would damage the spacecraft.

http://www.space.com/scienceastronomy/comet-hartley2-poison-gas-jets-101103.html

The comet Hartley 2 is now visible from Earth as well.

http://www.skyandtelescope.com/observing/home/102632669.html


11/7/2010 - Edit Pictures came out:


http://www.jpl.nasa.gov/news/news.cfm?release=2010-371

Saturday, May 15, 2010

Exploring the Milky Way

I was sent to South Africa for work during April for about three weeks. I brought a long plenty of reading material (not safe to walk outside supposedly). The first book I read was Exploring the Milky Way by Donald Goldsmith (1999) which I checked out of my local public library. Let's just say that reading this book lit a fire under me, I want to learn more about how they actually write software for a probe that is millions of miles away and 10hrs away from any instruction from Earth. So how do they actually write that code? Did they program an AI in C++? Is it some crazy assembly language? I am guessing Java or .NET isn't a skill that would be particularly useful for the Cassini and Galileo missions. I think my basic questions are echoed by others, for example this poster(Developer.*: "Code for Nasa space probes" By berrydoo)
I've been reading a lot lately about the two Mars rovers, and the Galileo space probe thats orbiting Saturn's moon Titan. And I'm really curious to read about the software design of those machines. That must be some of the most complicated code ever written. These machines have to be "smart" enough to manage navigation through space, communication with earth, management of sensors and storage of sensor information, create and possibly interpret diagnostic data, and be smart enough to recover if a problem occurs. What should it do if it cant communicate with earth any more? What should it do if one of it's systems fails? I'd venture to say that code is about as close as we come right now to artificially intelligent machines.

Does anybody know where I could read more about this topic? I've looked around, but I cant find anything on the internet. That information might be classified, but I just thought I'd ask.


Well sir, I had the exact same questions, so I started to google it. My own particular interest had more to do with the deep space missions to the outer solar system, Jupiter, Saturn, etc. That limits it down to the Voyagers (software probably written in the 70s), Galileo (Jupiter mission, 1989 - 2003), Cassini (Saturn, 1997 - present). Certainly there a couple missions underway or to be launched (e.g. Juno).

I decided to look into Cassini. In the end I found a number of resources that help explain how the software was designed and what it does. (Cassini software was written in Ada)

So if you want to know more about Cassini or other spacecraft implementation details these are some useful resources I've found:


  • Basics of Space Flight, JPL
    http://www2.jpl.nasa.gov/basics/index.php
    Top to bottom introduction to physics, mission operations and spacecraft components. Useful reference or for putting it all together. Much higher level than many of the technical papers describing the actual software or components that assumes this knowledge.

  • The Cassini Spacecraft: Object Oriented Flight Control Software, Hackney, J., Bernard, D.Rasmussen, R.
    http://hdl.handle.net/2014/34861
    Article about how they used OO methodology for design of components to steer/orient the spacecraft.

  • An Attitude Control Design for the Cassini Spacecraft, Wong, Edward
    http://hdl.handle.net/2014/30851
    How the spacecraft determines attittude and estimates attitude for pointing (Star-sensor, sun-sensor, gyros, etc..)

  • System Fault Protection Design for the Cassini Spacecraft, Slonski, John P.
    http://hdl.handle.net/2014/31814
    Attempts at generic or reusable fault protection models, designs and algorithms for fault protection.

  • Cassini Star Tracking and Identification Algorithms, Scene Simulation, and Testing, Alexander, James W.
    Chang, Daniel H.
    http://hdl.handle.net/2014/26388
    How the spacecraft's star tracker, literally takes an "image" of the sky, on the fly looks up the configuration of stars in an on-board "database", calculates relative distance between stars, and then based on that can give an estimate of where it is pointing. Amazing stuff.


More public domain, articles in PDF format are also available for many subjects on BEACON eSpace at Jet Propulsion Labratory.

Wednesday, January 21, 2009

WW: Progress Update:

After a slow start I got a few answers to my questions:

For WorldWind, the standard for development is Visual Studio 2005. Any changes I made to the project files (say adding a new class file) would need to be checked in by someone else using 2005 for backwards compatibility to all the other 2005 developers.

I was able to download Visual C# 2005 Express for free from Microsoft's site (link while it lasts: http://www.microsoft.com/express/2005/download/default.aspx ). I downloaded it as a CD image and created the installer on a CD I burned with the image.

I finally got around on Monday to uninstalling Visual C# 2008 Express and all its tangled mess of subcomponents. Once I did that I tried to install 2005 version. It complained at first because I already had a version of the .NET Framework 2.0 SDK installed from earlier. As a result I had to uninstall that in order to install 2005, apparently it includes the 2.0 .NET SDK already.

Using Visual Studio 2005 I opened up the World Wind solution and rebuilt it. I did not get any build errors but this has nothing to do with the version of Visual Studio.

It was confirmed that some other developer had checked in a bad version of the code including the wrong gdal_csharp.dll bindings. I had figured this out by looking at the SVN revision history for those dlls and comparing with the classes that actually referenced them. It took a while for people on the forum to respond, and other than one user nobody seemed to care that the build was broken.

Another disappointment was that I found from some posts that the World Wind SVN repository does not allow commits except for a select few users. I guess that makes sense, but I've never worked on an OpenSource project, so I assumed it was something like Wikipedia's model, where anyone can contribute, but moderators/admins could revert harmful changes to the code. I suppose Software is more tricky than encyclopedia articles.

Anyway, in the mean time to get back up to speed on C# and .NET I revisited some of my old .NET projects, including a Tetris game I wrote in 2003 using GDI+ graphics. I also downloaded a tutorial for creating a simple project that uses Managed DirectX to paint the background of a window different colors.

Monday, January 12, 2009

Wind in my sails

This year as part of one of my 2009 goals, I recently got interested in trying to contribute to World Wind development after downloading a version a couple of years ago. I am primarily a Java developer but I have done C# .NET development on the 1.1 Framework around 2003-2004. In any case I have a goal of being able to contribute here as well as pick up some more knowledge around .NET. Maybe for now I can turn some of my questions or any tips into more detailed documentation for new contributors in the future (more documentation can never hurt right? )

Getting Started


I have the professional version of Visual Studio .NET 2003 (not sure if it can be used with .NET 2.0+ Frameworks).

1)So I started out with installing Visual C# 2008 Express(http://www.microsoft.com/express/product/)

2)Following the wiki
-I downloaded the .NET 2.0 Framework SDK just in case (I am not sure if this necessary: http://www.microsoft.com/downloads/d...displaylang=en)
-Next I got the Nov 2007 DirectX SDK (http://www.microsoft.com/downloads/d...displaylang=en)


3) With tortoiseSVN I checked out the latest code from SVN repo ( https://nasa-exp.svn.sourceforge.net...runk/WorldWind)

4) I opened the solutions file in C# 2008, and had it convert the projects after making a backup.

5) Under Build > Build Configuration I changed the Active Solution Configuration to 'Debug' from 'Debug MSRS' (I don't know if this is needed)

5) I tried to Run the app with Debug > Start Debug. It said there were build errors (more on that later), but I could run last successful build, which I did. So WorldWind started and I pointed its Cache file to my existing installed WorldWind 1.4 cache directory.

Success!

Questions:
My first question is, did I miss anything or do anything i shouldn't have?

Second, I see that the conversion done by VS 2008, changes all the .csproj files in the source. Assuming at some point, I wanted to make some contributions what is the policy on checking in projects? Would a 2008 .csproj be backwards-compatible with VS 2005 developers?

When I right-click on any project in the WorldWind solution in VS and view the Properties window, under Targeted Framework: is shows '.NET Framework 3.5'
- Is this part of the "conversion"?
- In all the documentation I have read, WW 1.4(.1) is on .NET 2.0. Are any changes I make for potential contributions possibly not backwards compatible as a result? Should I manually change each projects' Targeted Framework to 2.0? Is there a way to do this for the entire solution at once and not manually changing it in every single project? What is this setting specifically doing? More research will be needed on my part for this one I think.

Finally the build errors
If I build the project I get about 14 Errors, all in the DstileGUI project.

Errors look like:
Code:
Error 1 The type or namespace name 'GDAL' could not be found
(are you missing a using directive or an assembly reference?)
D:\coding\WorldWind\svn\DstilePlugin\GDALImageStore.cs 37 9 DstileGUI
In the project references are references to gdal_csharp.dll and gdalconst_csharp.dll. There is a using GDAL; statement in these classes.

I tried a few things, which I can elaborate on, but it seems as if there may be some mismatch between the gdal version and the DstileGUI code? This page seems to point out that there new Namespace conventions being used with GDAL for C# in version 1.4.0 and 1.5.0 of GDal.

I wonder if they included the right version of the .dll with the source code?


Still waiting for responses from the World Wind Central forums. The Developers Corner there seem pretty quiet but there are a few other recent threads.