/*! * vue-resource v1.4.0 * https://github.com/pagekit/vue-resource * Released under the MIT License. */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.VueResource=e()}(this,function(){"use strict";var t=2;function e(e){this.state=t,this.value=void 0,this.deferred=[];var n=this;try{e(function(t){n.resolve(t)},function(t){n.reject(t)})}catch(t){n.reject(t)}}e.reject=function(t){return new e(function(e,n){n(t)})},e.resolve=function(t){return new e(function(e,n){e(t)})},e.all=function(t){return new e(function(n,o){var r=0,i=[];function s(e){return function(o){i[e]=o,(r+=1)===t.length&&n(i)}}0===t.length&&n(i);for(var u=0;u=200&&a<300,this.status=a||0,this.statusText=c||"",this.headers=new q(u),this.body=t,d(t)?this.bodyText=t:(i=t,"undefined"!=typeof Blob&&i instanceof Blob&&(this.bodyBlob=t,(0===(r=t).type.indexOf("text")||-1!==r.type.indexOf("json"))&&(this.bodyText=(n=t,new o(function(t){var e=new FileReader;e.readAsText(n),e.onload=function(){t(e.result)}})))))};L.prototype.blob=function(){return v(this.bodyBlob)},L.prototype.text=function(){return v(this.bodyText)},L.prototype.json=function(){return v(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(L.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var B=function(t){var e;this.body=null,this.params={},w(this,t,{method:(e=t.method||"GET",e?e.toUpperCase():"")}),this.headers instanceof q||(this.headers=new q(this.headers))};B.prototype.getUrl=function(){return $(this)},B.prototype.getBody=function(){return this.body},B.prototype.respondWith=function(t,e){return new L(t,w(e||{},{url:this.getUrl()}))};var M={"Content-Type":"application/json;charset=utf-8"};function N(t){var e=this||{},n=function(t){var e=[I],n=[];function r(r){for(;e.length;){var i=e.pop();if(l(i)){var s=void 0,u=void 0;if(m(s=i.call(t,r,function(t){return u=t})||u))return new o(function(e,o){n.forEach(function(e){s=v(s,function(n){return e.call(t,n)||n},o)}),v(s,e,o)},t);l(s)&&n.unshift(s)}else c="Invalid interceptor of type "+typeof i+", must be a function","undefined"!=typeof console&&a&&console.warn("[VueResource warn]: "+c)}var c}return m(t)||(t=null),r.use=function(t){e.push(t)},r}(e.$vm);return function(t){u.call(arguments,1).forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])})}(t||{},e.$options,N.options),N.interceptors.forEach(function(t){d(t)&&(t=N.interceptor[t]),l(t)&&n.use(t)}),n(new B(t)).then(function(t){return t.ok?t:o.reject(t)},function(t){var e;return t instanceof Error&&(e=t,"undefined"!=typeof console&&console.error(e)),o.reject(t)})}function D(t,e,n,o){var r=this||{},i={};return g(n=w({},D.actions,n),function(n,s){n=T({url:t,params:w({},e)},o,n),i[s]=function(){return(r.$http||N)(function(t,e){var n,o=w({},t),r={};switch(e.length){case 2:r=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(o.method)?n=e[0]:r=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return o.body=n,o.params=w({},o.params,r),o}(n,arguments))}}),i}function J(t){var e,n,r;J.installed||(n=(e=t).config,r=e.nextTick,i=r,a=n.debug||!n.silent,t.url=$,t.http=N,t.resource=D,t.Promise=o,Object.defineProperties(t.prototype,{$url:{get:function(){return b(t.url,this,this.$options.url)}},$http:{get:function(){return b(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}return N.options={},N.headers={put:M,post:M,patch:M,delete:M,common:{Accept:"application/json, text/plain, */*"},custom:{}},N.interceptor={before:function(t){l(t.before)&&t.before.call(this,t)},method:function(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")},jsonp:function(t){"JSONP"==t.method&&(t.client=A)},json:function(t){var e=t.headers.get("Content-Type")||"";return m(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?v(t.text(),function(e){var n,o;if(0===(t.headers.get("Content-Type")||"").indexOf("application/json")||(o=(n=e).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[o[1]].test(n))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}},form:function(t){var e;e=t.body,"undefined"!=typeof FormData&&e instanceof FormData?t.headers.delete("Content-Type"):m(t.body)&&t.emulateJSON&&(t.body=$.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(t){g(w({},N.headers.common,t.crossOrigin?{}:N.headers.custom,N.headers[p(t.method)]),function(e,n){t.headers.has(n)||t.headers.set(n,e)})},cors:function(t){if(c){var e=$.parse(location.href),n=$.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,R||(t.client=U))}}},N.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){N[t]=function(e,n){return this(w(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){N[t]=function(e,n,o){return this(w(o||{},{url:e,method:t,body:n}))}}),D.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(J),J}); /*Click Away*/ !function(e,t){"use strict";function n(e,t,n){i(e);var u=n.context,a=t.value;if("function"==typeof a){var c=!1;setTimeout(function(){c=!0},0),e[o]=function(t){var n=t.path||(t.composedPath?t.composedPath():void 0);if(c&&(n?n.indexOf(e)<0:!e.contains(t.target)))return a.call(u,t)},document.documentElement.addEventListener("click",e[o],!1)}}function i(e){document.documentElement.removeEventListener("click",e[o],!1),delete e[o]}t="default"in t?t.default:t;/^2\./.test(t.version)||t.util.warn("VueClickaway 2.2.2 only supports Vue 2.x, and does not support Vue "+t.version);var o="_vue_clickaway_handler",u={bind:n,update:function(e,t){t.value!==t.oldValue&&n(e,t)},unbind:i},a={directives:{onClickaway:u}};e.version="2.2.2",e.directive=u,e.mixin=a}(this.VueClickaway={},Vue); ジャイロ | MadaMada

ジャイロ

ジャイロといえば何ジャイロ?やっぱりこれのイメージが強いよね。

Jyro
だけど、今回のエントリはこれのことジャナイロ!

 
今回のジャイロはこんなやつ。 


どちらのムービーもいつも目にするオンボードとは随分違った見え方が新鮮。バイクが傾いても画面の水平は保たれたままで、バイクがどれだけバンクしているのか一目で分かって迫力がある。固定された視点はまるでゲームのようでリアルさが希薄に感じなくもない。リアルじゃないってことは言い方をかえると“普通は味わえない”ってことだ。普通じゃない、それがむしろ面白いじゃねーの。

このムービーは多分だけど、ジャイロ(ジャイロ:wikipedia)を利用して、軸が傾いてもカメラは常に水平を保つように制御して撮影してるんだね。
 
去年のMotoGPのこの映像を憶えてらっしゃる方も多いかと。

Rossi_onboard

↑クリックしてリンク先で再生♡

GPマシンのお尻にちょこんと載ってるおなじみのカメラ。

Gyroscopiconboard

外見はおなじみだけど実は中身が違うスペシャリテ。
車両の傾きをジャイロセンサーで検知し、CCD Sensorをモーター駆動させて水平に保つシステムを内蔵した、ジャイロスコピック オンボード カメラというMotoGPスペシャルなすごいやつ。

こんな特殊なカメラはAmazonはもちろん、アキバや怪しい中国通販でも売ってなければ、上の図からおおまかな仕組みが分かっても、素人製作は難しそうな雰囲気がある。
とは言え、このカメラ欲しいなー、こんな画撮ってみたいなーって思っちゃったからにはもう我慢できない。お子様なのですよボクは。やるっきゃないでしょ。
 
ということで前置き長くなったけど、ようはバイクでジャイロなカメラにトライしてみよう!ってネタだ。

まずは、カメラを水平に保つ仕掛けが肝心、というかこのソリューションが見つかればもう90%は完成、、、で、誰もがイメージするであろうバイクで水平を保つシステムって言ったら、昔からコレっきゃないよね!!

Demaeki
マルシン出前機(41800円〜)
 
ジャパニーズテクノロジー!クールジャポン。出前機(正式名称は出前品運搬機というらしい)その歴史は結構古くて1950年代には完成されていたシステムだとか。
学生時代ラーメン屋で出前してたからちょっと馴染み深かったり。

MotoGPのジャイロカムと比べればご覧の通り、すこし大袈裟に見えるシステムかもしれない。だがしかし、出前ライダーのハードな走りをもってしてもラーメンのスープを零さないレベルにまで昇華されたシステム。これを使えば少なくともMotoGPと同等、それ以上にバッチリかっこいい画が撮れるであろう。

“デマエ スコピック カメラシステム(仮称)”はやはり、カブへの搭載が王道であろう。しかしここはジャイロカムだけに“ホンダ ジャイロ”に積みたいところではある。

て、出前機だなんだって冗談はいい加減にして、「ジャイロカム大作戦」はマジメにぼちぼち進行中。
試作機はすでに最終段階を迎え、あとはR1000へのフィッティングとテストシュートを残すのみ。てへ。

つづく…(続・車載ジャイロカム)

6 Comments

  • みつ

    2011-11-04 at 7:25 AM

    おぉ、マルシン!
    でも、マルシンは「水どう」でスープ零しまくってたような・・・[E:wobbly]
    ってのはさておき、仕上がりが楽しみですねぇ。
    完成の暁には、教えて頂いたhttp://www.kickstarter.com/で、目指せ量産ですね。
    その際には出資いたします[E:good]

    返信
  • hightimes247

    2011-11-04 at 8:13 AM

    >まるめさん
    コメントありがとうございます。
    完成も何も半完成ひ(ry
    完成に向けてがんばりまっす!!

    返信
  • hightimes247

    2011-11-04 at 8:17 AM

    >みつさん
    出前のラーメンは…出前機よりもラップのかけかたが重要なのですよ(笑)ボクのバイト先では3重にしてました。
    出前機使ったら逆にグワングワン揺れる映像にしかならないですよねw
    kickstaarterも何も半完成ひ(ry
    完成に向けてがんばりまっす!!

    返信
  • hightimes247

    2011-11-08 at 11:04 PM

    >まるめさん
    ドゥオフ…
    どうも、GoPro部の購買&情報収集担当してまふ。
    完成越された!と思いきや、部長もあれでは満足していない筈です。
    ボクは動画撮るまえに既に改良に着手です!
    っと、お喋りがすぎると部長に怒られますw

    返信

コメントを残す