Streaming live video from the 3DR Solo

I have had a 3DR Solo drone since last summer and have been looking for interesting ways to expand its capabilities. One thing that I thought should be possible is to stream live video from the drone while it’s in flight. The Solo controller has an HDMI port to push video to a monitor but I wanted to see if I could get to the video stream directly, through software. I’m proud to say that I figured out how to do it.

First you need a separate computer, preferably a laptop or something portable. The computer will need to connect to the WiFi network that the Solo controller creates. Once you’ve got your computer joined, make sure it’s connected by pinging the controller (IP address 10.1.1.1).

Next, create an SDP file on your laptop as discussed on the 3DR Solo wiki.

c=IN IP4 10.1.1.1
m=video 5600 RTP/AVP 96
a=rtpmap:96 H264/90000
t=0 0

… save this as sololink.sdp.

The controller will only stream video if it’s got a TCP connection from the host requesting a stream. In a terminal window, connect to the controller as follows:

telnet 10.1.1.1 5502

or

nc 10.1.1.1 5502

Now the controller should be able to stream video using a tool such as VLC or ffmpeg. For VLC, open the osololink.sdp file you created above. You should see the drone video appear on your laptop. VLC is nice for checking the video but I haven’t worked out how to send it to YouTube yet. I believe it does not properly handle the RTMP media format that YouTube needs, though I’m not sure of this.
Continue reading

How to reset your body clock, and get better sleep, with hiking boots and a tent – The Washington Post

How to fix poor sleep brought on by modern technology: go camping!

Are you sick of going to bed late and waking up tired? Then grab your hiking boots and a tent. A new study suggests that a couple days of camping in the great outdoors can reset your circadian clock and help you get more sleep.

The circadian clock is an internal system that tells your body when it’s time to go to sleep and when it’s time to wake up. Scientists track this clock by measuring the amount of melatonin circulating in a person’s blood at any given time.

In a healthy sleeper, melatonin levels rise a few hours before bedtime, stay high through the night and then settle back down to daytime levels when it’s time to wake up. The period when melatonin levels are elevated is known as biological night.

In our modern society, biological night does not usually coincide with night in the natural world. Most of us stay up many hours past sunset, and we would probably sleep in many hours after sunrise if we could.

The trouble is, if your biological night begins at midnight or later, your melatonin levels may still be high when your alarm clock goes off in the morning. This leads to grogginess, and it may have other consequences, researchers say. Diabetes, obesity and heart disease have all been associated with not getting enough sleep.

Research by integrative physiology professor Kenneth Wright of the University of Colorado at Boulder found that people reset their circadian clocks by taking a six-day summer camping trip in the Rocky Mountains.

Source: How to reset your body clock, and get better sleep, with hiking boots and a tent – The Washington Post

Internet everywhere

Two recent events converged in my mind. Yesterday, I attended Google’s grand opening of its Fiber Space in Raleigh, where gigabit Internet connections are the norm. And on Saturday afternoon, I was in Garner’s Southeast Regional Library to pick up Hallie and observed that all but two of the library’s Internet terminals were occupied. It made me sad that in the years since I watched a mom and her son turned away from the library when no computers were available that a shortage of Internet access is still seems to be a problem.

I hope the big-gun Internet providers like Google Fiber, AT&T, and the rest continue working to provide Internet access to the people who need it most.

‘Beyond the extreme’: Scientists marvel at ‘increasingly non-natural’ Arctic warmth – The Washington Post

Kudos to citizen-scientist Nico Sun who assembled the temperature graphs from publically-available weather data.

The Arctic is so warm and has been this warm for so long that scientists are struggling to explain it and are in disbelief. The climate of the Arctic is known to oscillate wildly, but scientists say this warmth is so extreme that humans surely have their hands in it and may well be changing how it operates.

Temperatures are far warmer than ever observed in modern records, and sea ice extent keeps setting record lows.2016 was the warmest year on record in the Arctic, and 2017 has picked up right where it left off. “Arctic extreme (relative) warmth continues,” Ryan Maue, a meteorologist with WeatherBell Analytics, tweeted on Wednesday, referring to January’s temperatures.

Veteran Arctic climate scientists are stunned.

Source: ‘Beyond the extreme’: Scientists marvel at ‘increasingly non-natural’ Arctic warmth – The Washington Post

Google Fiber debuts in Raleigh, opens home on Glenwood South | News & Observer

Here’s the full N&O article about the Google Fiber Space grand opening.

RALEIGH – After months of building hype for its services, Google Fiber is offering high-speed internet to its first Raleigh customers and opening a retail office in the city.The tech giant is now offering its fiber services to homes in the area around North Hills known as Midtown, mostly along Six Forks Road and the Beltline. In doing so it provides those residents a high-speed alternative to AT&T, which already offers the same speeds for the same price in Raleigh.

As part of the rollout, Google Fiber is opening its regional office in the former 518 West restaurant space at the corner of Jones Street and Glenwood Avenue in downtown Raleigh.

“This will be a place where people can come experience the future of the internet,” said Erik Garr, Google Fiber’s regional manger in the Southeastern United States.

Source: Google Fiber debuts in Raleigh, opens home on Glenwood South | News & Observer

Google Fiber Space Grand Opening

I attended the grand opening of Raleigh’s Google Fiber Space today on my lunch break. It was a good chance to check things out for myself and to say hi to some of the Googlers (and other techies) I know.

While I was there, N&O photojournalist Travis Long interviewed me about what Google Fiber means. I didn’t go there expecting to be interviewed but I always enjoy talking about the wonders of broadband.

A Full Transcript Of Donald Trump’s Black History Month Remarks

Oh. My. God. Donald Trump is a living trainwreck. He’s a complete idiot. His remarks today on Black History Month are jaw-dropping. Press Secretary Sean Spicer won’t even touch it. Watch the video for yourself here.

This man could mess up a wet dream.

February is Black History Month. This morning, Donald Trump held a White House event to mark the occasion. Below is an accurate transcript of his remarks.

Well, the election, it came out really well. Next time we’ll triple the number or quadruple it. We want to get it over 51, right? At least 51. Well this is Black History Month, so this is our little breakfast, our little get-together. Hi Lynn, how are you? Just a few notes. During this month, we honor the tremendous history of African-Americans throughout our country. Throughout the world, if you really think about it, right? And their story is one of unimaginable sacrifice, hard work, and faith in America. I’ve gotten a real glimpse—during the campaign, I’d go around with Ben to a lot of different places I wasn’t so familiar with. They’re incredible people. And I want to thank Ben Carson, who’s gonna be heading up HUD. That’s a big job. That’s a job that’s not only housing, but it’s mind and spirit. Right, Ben? And you understand, nobody’s gonna be better than Ben.

Source: A Full Transcript Of Donald Trump’s Black History Month Remarks

Steve Bannon had a big weekend in the White House. Get to know him | Reveal

As chaos and confusion erupted after Donald Trump’s sweeping crackdown on immigration, one thing became abundantly clear: Stephen Bannon is the man pulling the strings in the Trump White House.

Since the inauguration, Bannon, Trump’s fiery chief strategist and the former chairman of Breitbart News, has had an outsized role in shaping policy in the new administration, particularly when it comes to immigration.

It was Bannon who wrote Trump’s sweeping executive order on Friday that stopped all Syrian refugees from entering the United States and temporarily banned immigration from seven mostly Muslim countries. The hastily enacted order caused chaos at airports as immigrants were pulled off planes and protests erupted around the country. CNN reported that Bannon and another White House adviser overruled Department of Homeland Security officials who recommended that green card holders be exempt from the order. The White House later softened that position.

Amid the fallout of the executive order, Trump elevated Bannon to a full seat on the National Security Council, an unprecedented move that gives him “a status alongside the secretaries of state and defense, and over the president’s top military and intelligence advisers,” according to The New York Times. On Twitter, Susan Rice, President Barack Obama’s national security adviser, called the arrangement “stone cold crazy.”

Source: Steve Bannon had a big weekend in the White House. Get to know him | Reveal