Jack Crossfire's blog View Details
Archive for July, 2014
Posted by Jack Crossfire | Jul 29, 2014 @ 10:59 PM | 7,294 Views
After Orbotics & Anki comes Sifteo. They weren't bought by Google, but it was another play to make a quad copter into an intelligent toy. Intelligent toys are still probably the most viable market for quad copters.

https://www.sifteo.com/home

There are many videos naming the sensors in the Sifteo cubes: acceleration, RFID, & touch screen, but few complete examples of a game being played. There are some home videos with some employees explaining the games, with very little screen footage. As with Goog glass, Goog Tango, & chromecast, the intent is to provide a platform with an assortment of sensors, some industrial design, some really bad marketing, & rely on 3rd parties to program it.

Some game examples:

https://www.youtube.com/channel/UCPF...2qsvCHg/videos

There were 3 seconds of 1 cube being used as a claw to grab objects in 3 other cubes by tapping the claw cube on the other cubes. Some games use each cube as a scrabble game with bigger pieces. There are centipede games where the player has to move the field rather than the centipede. There are some guys who became fascinated with developing for them.

The buyout is of course not about the cubes, but an easy way of getting people with experience designing toys to design a flying toy platform. The Sifteo cubes require a base station, so the indoor quad copter game will probably use a base station for navigation.
Posted by Jack Crossfire | Jul 28, 2014 @ 07:47 PM | 7,331 Views
There was a long time rumor that the Donner party, or at least the leftovers, were buried in Dublin. The rumor was false. Elisha Harlan is buried there, but was only a grandson of George Harlan, who led the 1st wagon train on a harrowing journey through the Hastings cutoff. Various pioneers who made the 1st crossing of Hasting's cutoff in the same season as the Donner party are buried in the valley, but none who actually got stranded in Truckee.

Little was made of Brigham Young using the Hastings cutoff to reach Salt Lake. It was just a footnote in all the literature. Truth be told, it was a big deal. The route was initially proposed by Lansford Hastings, a confirmed con artist. He hoped to create an independent nation in Calif* with him as leader by getting Americans to migrate through this faster route.

In reality, the path through the Wasatch mountains was virtually impassible. The Donner party traversed it just a year before BY & it contributed to their deaths. Kiwipedia tells a harrowing tale of boulders having to be moved, harrowing canyons, brush having to be cleared, wagon wheels having to be locked because of the steep inclines, & only 1.5 miles per day of progress.

BY followed this same ill fated route, was the 1st one to lay eyes on it after the Donner party crossed & perished, but was apparently much better equipped with 143 men instead of 30. His party followed the tracks of the Donner party & benefited greatly...Continue Reading
Posted by Jack Crossfire | Jul 27, 2014 @ 02:49 PM | 7,187 Views
Surprised to find feshmeat.net/freecode.com was shut down. Just like the fever that accompanied the initial start of Gimp & GTK, another piece of the golden age has passed. It was 1 of many bought by VA Linux during that golden age. It & all the other VA Linux assets were eventually bought by dice, "specialized websites for select professional communities". If you got a project on it before it was shut down, you're now immortal.

They claimed a loss of traffic. There's definitely a loss of interest in source code level, freely downloadable PC software. A new generation that would have followed the GPL path has gone to paid mobile apps instead, while the generation that started freshmeat.net has moved on to middle management & families.

The itunes/play system that Apple started was such a revolutionary way of automating software releases & getting paid, there was no way everyone was going to keep going GPL, even on the merits of free source code "benefiting the community". No-one in 1999 thought the evil commercial software industry would find a way to lure developers back out of open source, but convenience & ease of getting paid ended up being the factors that did it.
Posted by Jack Crossfire | Jul 26, 2014 @ 06:45 PM | 7,086 Views
Rope Swing Zipline - NFL Stadium (2 min 38 sec)


Note how the brushless gimbal equipped quad is no longer the center of attention but a transparent tool as normal as a shoe. In just a year, perfectly stable shots from a floating vantage point a few feet from people dangling in mid air that were never seen before are the normal look of video. Part of it was still an illusion because the stadium was empty of anyone it could crash on.

Unfortunately, you can't stay a cool zip lining 20 year old forever, even though no-one ages on the goo tube.
Posted by Jack Crossfire | Jul 25, 2014 @ 11:48 PM | 7,383 Views
Posted by Jack Crossfire | Jul 24, 2014 @ 07:42 PM | 7,597 Views
The follow cam proof of concept is everywhere & nowhere. The problem is flying was only possible when someone else paid for it. Without any money, it's going to be a short effort.

Being a spare part application, 1 of the tiny servos from the Blade CX2 will be glued to the NTSC camera for pitch control. The Blade CX2 was an intriguing toy which never flew because it required a lot of trimming & its brushed motors were terrible.

The servo cam will be attached to the underside of a microquad. The microquad needs a better means of vibration damping, to use beat up propellers. It's getting near adding ballast like everyone else.

The camera will track a dual marker baton. The entire baton may actually be colored, making for a dumbbell marker that is easily isolated.

2 voltage regulators for powering the 5.8Ghz transmitter, & servo will be attached to the microquad. The camera is powered by the 5V flight computer rail, which originally was to power the PX4flow. The camera broadcasts video to the ground station, which combines it with telemetry to get a position for broadcasting back to the flight computer over bluetooth.

The ground station needs to record the video as well as scan it for position. The only spare part is a laptop. Since the follow cam's mane mission would be capturing running, the need to carry a laptop has been the showstopper.

For the 5 guys with jobs, the long reigning Odroid is finally dead. You need to be buying the Minnow Max. Unlike the boat, the Minnow has a dual core 1.3Ghz. It should be far ahead of the quad core ARMs. Personally have gotten nothing but grief from quad core ARMs.
Posted by Jack Crossfire | Jul 24, 2014 @ 12:12 AM | 7,121 Views
Quad copter hoverbikes, autonomous follow cams, drone pizza delivery, self driving cars, self balancing motorcycles, & $5 trips to space are just around the corner, now. They've been just around the corner for a while, but now they're really just around the corner. Another impossible claim seems to come out every day, making all the stuff from last week obsolete.

The promises are getting bigger & bigger, but they're all extrapolating from the same old technology which hasn't improved in years. We've all been in a company that's trying to get bought out or have an IPO. They report every smallest, most tentative sale for the next 10 years, every possible source of revenue they could possibly make for the next 100 years, all as their current quarter's income.

That's what the current promises feel like, but every new promise extrapolates more than the last one. Merely breathing now nets $1 million in kickstarter donations & a belief that unicorns are going to ship in 3 months, just because unicorns breathe.

The current movement is feeding on the positive psychology movement that began in 2005. What began as the positive psychology movement mutated into refinancing ever less amounts of property into ever more amounts of money & that now has mutated into a requirement that every invention be believed, no matter how preposterous.

No-one asks questions anymore. No-one is allowed to have doubts. Pictures have nothing to do with what's...Continue Reading
Posted by Jack Crossfire | Jul 22, 2014 @ 08:10 PM | 7,608 Views
Collinn Quinn demos (54 min 23 sec)


With so many unemployed programmers, it was only a matter of time before someone would try to free the bits & upload some videos. We'll see how long this lasts until the indy movie studios crush the rebellion. These videos covered what currently are the 3 mane copters, in a rare appearance without any editing.

Collinn was a lot more down to Earth than when we was at DJI. It was still definitely a choreographed team demo, looking a lot like a Vegas trade show.

As with personal experience, the 1st attempt at a programmed flight was a hair raising flyaway & it took 2 attempts for it to work. He assumed it was a conversion from centimeters to meters, but the team never said what it was. When it did work, the droidplanner eye candy obscured what was happening, but you could barely see that it wasn't able to fly in a circle, in the wind.

They may have removed the circle from the flight plan because it wouldn't work. The user interface never showed it.

The eye candy made Droidplanner worthless outdoors, but it did show the potential for easy mission planning. It just needs a way to play back a simulation before flying, in order to avoid take 2.

DJI Phantom Vision demo (46 min 41 sec)
...Continue Reading
Posted by Jack Crossfire | Jul 22, 2014 @ 04:56 AM | 8,017 Views
20 years after it began, someone finally figured out how to route the audio output in ALSA back to an audio input. The sequence for recording from a Firefox player is:

modprobe snd_aloop
FLASH_ALSA_DEVICE=hw:1 firefox
Make Cinelerra record Loopback #1

The problem is the recording samplerate has to be the same as the playback samplerate. It has to be determined by trial & error or by playing the source in another player besides Firefox. If the player doesn't have a way to send audio to another device besides hw:0, you're screwed.

There is theoretically a way to do it with a line like pcm.!hw in the /etc/asound.conf file, but this never worked. pcm.!hw is supposed to replace any device called hw with what's described in the file.

Some time in 2012, someone wrote the snd_aloop module. The last ALSA release which could be easily compiled without upgrading the entire kernel was 1.0.25 & it has the snd_aloop module.

It creates a virtual soundcard for playback which really routes the audio to the recording handle of another virtual soundcard. aplay -l lists the virtual soundcard as

card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]

which translates to hw:1 for Firefox. They never quite figured out a naming convention, back in their dorm rooms in 1997, so there's a hodge podge of hw:1, Loopback #0, hw:1,0 naming conventions. Playing audio to Loopback #0 makes...Continue Reading
Posted by Jack Crossfire | Jul 20, 2014 @ 08:52 PM | 7,151 Views



It was finally time to use some of the electronic bits from years ago.


There's a 5.8Ghz receiver labeled rx5808. It needs 3.5-5.5V. A channel pin is grounded to select the channel.




A USB capture board is wired to power the receiver with 3.3V.


...Continue Reading
Posted by Jack Crossfire | Jul 19, 2014 @ 10:13 PM | 7,311 Views
Searching far & wide for a marker system which might enable a follow cam revealed this:


Previous experience showed the classic international pink was the best chroma keying material & a doughnut was the easiest shape for current cameras to isolate. When chroma keying is combined with a unique shape, it gives 2 layers of redundancy.

A 4k camera detecting a full body, international pink, digital camouflage suit would be ideal.


Next would be digital camouflage markers, but given the reality of only having enough money for 640x480, we have only

...Continue Reading
Posted by Jack Crossfire | Jul 19, 2014 @ 02:23 AM | 6,640 Views


Despite many flips & spinouts, it still managed to do it in 1h59m. Fastest mile was 8 minutes. Stopped the clock only for the battery change, but counted all the red lights & restarts. The battery died at 12 miles. Its speed rapidly dropped to 9m33s/mile. The new battery was back to 8m50s/mile. Battery life was 1h50m, giving a current consumption of 490mA with the headlights on. The right headlight constantly got bent down.

The human was powered by a salad & some sugar sticks. It made quite a bowel movement, but no crash.
Posted by Jack Crossfire | Jul 17, 2014 @ 07:43 PM | 6,551 Views


So the bottleneck in making a viable follow cam is a super high resolution camera transferring realtime video to a really small computer where it's scanned for small, finely detailed markers. Interfacing HDMI has become the requirement for getting any kind of realtime video. You can probably get it into the raspberry pi's CSI bus. The CSI bus is a parallel bus of differential pairs. The pi isn't fast enough to do anything with it.

The only way to do the job is an FPGA implementation of the marker tracker, doing the full SDRAM, HDMI injestion, & marker detection in hardware. For all the hype about software, OpenCV, & running Pixhawk on Linux, hardware is still the only way to get anywhere near realizing the promises the UAV industry is making.

It's surprising no-one is focusing on hardware implementations of higher end object detection. There is a slow increase in hobbyist attention to FPGA's, but only for controlling LEDs, software radio, or very limited chroma keying from a low end VGA cam.

For all the different platforms they're trying to get Pixhawk to run on, they might as well port the autopilot to hardware. Everyone wants to be bought by Google & Google is a software company, so there's not a lot of thinking outside the box.
Posted by Jack Crossfire | Jul 16, 2014 @ 04:38 PM | 6,945 Views



Another rover test ended when a motor fell off. Everything not threadlocked is being revealed when it falls off. Nothing was originally threadlocked because it wasn't supposed to work. It did 8m40s per mile when it worked. It was extremely hard to keep up. It flipped over twice on pavement cracks.


Accessing the offending bolt revealed all the sensors for the 1st time. The alignment is so critical that it didn't work when reassembled. Another sensor for the left motor had to be shifted ever so slightly closer. Fortunately, the error was a visible amount.

At 8.8V, with no headlights, the right motor now used 60mA more when going forward than when going backward, without load. Left motor used 20mA more when going forward.

At 15V, with no headlights, the no load current of a single motor was previously 250mA. The left motor was now 230mA going forward & 200mA going backward. The right motor was now 430mA going forward & 220mA going backward.

After reseating a bearing & another sensor reconfiguration, the right motor used 250mA going forward & 260mA going backward. This should have a significant impact on range. Another test run revealed it may now be too fast. So any direction problem is decidedly the mechanics rather than the sensors.
Posted by Jack Crossfire | Jul 15, 2014 @ 08:04 PM | 6,988 Views
Key to the follow cam concept is object tracking & distance measurement. Just doing that without flying anything would be huge.

It's a little easier than full motion capture, since it only needs distance & position. It's a little harder, since there's only 1 camera. Doing that in daylight is still a hard problem. The last work Vicon showed was in 2011. It wasn't very convincing.



Lately, the Goog found a photo of a guy in a full body suit, covered in pattern markers. So obviously IR keying didn't work well enough. They replaced the reflective balls or LED emitters with more unique patterns a blob tracker could find.


Thresholding that didn't look good. The head & body might resolve, but the arm is gone. A really good piece of software could combine multiple cameras to get all the blobs, but a UAV only has 1 camera.


They also tried LED emitters on the previous sequel. What's needed is a better marker & high enough resolution camera so the marker can have enough unique features. Some bands of different types of hieroglyphics on multiple body parts might work. If 1 band is covered, it knows which body part another band belongs to, but not the distance between the bands. It may be that a tether is good enough to measure distance.

It's a fascinating problem on the cusp of being solved, but best left to the pros. There are so many people now pursuing UAVs, so many experts in machine vision, navigation, & Kalman filters compared to 3 years ago, it's solvable in short order.
Posted by Jack Crossfire | Jul 14, 2014 @ 11:42 PM | 7,039 Views
You see it every time you boot up Linux. Along with Firefox & Open office, it's 1 of the 3 programs that have always defined the Linux desktop. It's The Gimp. It was truly extraordinary when it 1st came out. The user interface was better designed, tighter & more polished than any other free program at the time, by a wide margin.

It still crashed a lot, but it was your best hope of avoiding paying $300 for Photoshop. It couldn't swap images to disk for many years, making it require extremely large amounts of RAM, for the time. Other image editing programs like XV & Imagemagik were really hard to use.

The GUI toolkit it was written on became the standard for all the major desktop programs since, from Firefox to Google Chrome. It was ported to every platform. There was an extreme frenzy of development from 1996-1999 when Gimp, GTK, & most of the modern software world were being brought into existence.

The original authors of Gimp receded from the project but continued to be coworkers ever since & never had a rainy day, though their later work was never as famous as Gimp. They're now staff members at Square, which is considered the next Paypal & perhaps the next SpaceX.

Square was founded by the founder of Twitter. 1st encountered a Square terminal in 2012. It seemed like an obvious necessity that many banks were offering, but apparently Square was the only one. It was started in 2009, the optimum time to start a monopoly...Continue Reading
Posted by Jack Crossfire | Jul 13, 2014 @ 07:50 PM | 7,042 Views
A better metric never discussed on the internets is how much a rocket can launch in a given timespan, rather than the amount it can launch in a single flight or the cost per mass in a single flight. The ground crew has to be paid constantly, no matter how many launches they send off.

Today's launch rates are glacially slow, compared to just 5 years ago. For all the difficulty in getting Falcon 9 to launch 3 times per year or Antares to launch once per year, it's hard to believe they were able to launch the monstrous shuttle 5 times in 2009.

The amount of mass launched in a fixed timespan is much lower today than it was 30 years ago. 30 years ago, they were putting 240,000 lbs of payload in low Earth orbit per year. It wasn't very good for the crew, but it was the highest capacity ever achieved. At $4 billion/year, it was $17,000/lb.

Today, Falcon 9 can put around 22,000 lbs per year in low Earth orbit. Antares can deliver 4400lbs per year. There aren't any figures for how much it's costing. If it was equivalent to the shuttle, Falcon 9 would be burning roughly $374 million/year. Antares would be burning roughly $74 million/year.

It actually doesn't sound far off what the rumors have been. There isn't any of the disclosure under the commercial programs that there was under the shuttle program. $57 million per flight could be a significant loss.
Posted by Jack Crossfire | Jul 12, 2014 @ 12:22 AM | 6,913 Views

The 1st run with the brushless direct drive rover went way beyond predicted range, yet again. Range on 2S 900mAh was over 8 miles. Maximum downhill speed was 8 min/mile. Uphill speed sagged to 8m50s/mile. It was hopeless on rough terrain. It needed D feedback & shorter battery cables.

It was finally documented with the latest improvements.

Brushless direct drive rover (4 min 57 sec)


The camera made it top heavy enough to flip over from the smallest obstacle.
Posted by Jack Crossfire | Jul 10, 2014 @ 10:42 PM | 6,800 Views
The most expensive apartment in town is equivalent to the current situation, but 10 years behind in price. It has only 1 wall with windows, has open space, has a really solid front door. The most reasonable cheap place is another $300 cheaper, has 2 sides with windows, no open space. It's in a dump, has bars on the door with a separate lock, no bars on the windows, & has a really dumpy pool visible from the street. The difference is $3660/year. Between those 2 are other places which are extremely dumpy or not reasonable.

There's definitely a correlation between price & standard of living. It's not easy to endure a drop in standard of living & it seems worth spending zillions of dollars on happiness, which brings up the blond hottie paradox. Do unattainable middle age blond hotties spend zillions of dollars on expensive stuff because they can or because they're miserable? The other factor is if the price was sigificant, wouldn't you already have downgraded? Another choice of standard of living over price happened in 1998. It still seems impossible to say it wasn't worth it.

The mortgage & student loan booms have turned the west half of Bakersfield into an extension of LA, while the east half descends into the abyss. New construction, valley girls, & shiny black Audis straight off the 405 abound. The boom is far from the freeways, so it's not obvious to the Las Vegas trade show travelers, but a new superhighway seems destined to connect the new area to the 5.

The weather is difficult, but everywhere is difficult compared to the bay area. Eliminating sources of stress seems to be a noble priority.
Posted by Jack Crossfire | Jul 09, 2014 @ 02:20 PM | 6,720 Views



The 1st road test with motor sensors worked perfectly. It definitely needed breaks & slightly faster startup. The stalls were gone. 7.4V got it to the 7.5mph range, without getting hot. Based on the rolling distance, it probably was near the no load current of 0.3A. It was virtually silent. Radio range was only 10ft.

It easily rolled over rough terrain. The rolling distance without breaks was surprisingly long. Even with no power, it rolled into curbs hard enough to flip over, but didn't flip over on rough road. The sensors seemed to withstand it. The castor wheel assemblies crumpled, reducing the impact.

Startup was a hard coded stepper acceleration, transitioning to commutating mode, to keep the wheels from slipping. That failed miserably. It slipped when rotating to the 1st step. The sensors couldn't make it transition into commutating mode seamlessly. Tried ramping PWM without a stepper state & it still lost steering. Carefully setting it to wait for the right stepper phase would probably solve the transition problem, but not the 1st step.

The only practical way to get straight driving was to go straight into full power. It didn't slip as much as feared. It used less current. Stepper acceleration is a dead topic. It consumes a lot of current for purely visual appeal.

After implementing heading hold steering & all the manual controls, it worked perfectly. All the issues with bang bang steering were gone....Continue Reading