chromapi 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chromapi/__init__.py +2 -0
- chromapi/__main__.py +6 -0
- chromapi/assets/audio/alert.wav +0 -0
- chromapi/assets/audio/chromapi_scream.wav +0 -0
- chromapi/assets/audio/confused.wav +0 -0
- chromapi/assets/audio/dizzy.wav +0 -0
- chromapi/assets/audio/excited.wav +0 -0
- chromapi/assets/audio/greeting.wav +0 -0
- chromapi/assets/audio/happy.wav +0 -0
- chromapi/assets/audio/no.wav +0 -0
- chromapi/assets/audio/purring.wav +0 -0
- chromapi/assets/audio/sad.wav +0 -0
- chromapi/assets/audio/scared.wav +0 -0
- chromapi/assets/audio/sleepy.wav +0 -0
- chromapi/assets/audio/squeak.wav +0 -0
- chromapi/assets/audio/surprised.wav +0 -0
- chromapi/assets/audio/thinking.wav +0 -0
- chromapi/assets/audio/upset.wav +0 -0
- chromapi/assets/audio/yes.wav +0 -0
- chromapi/assets/favicon.ico +0 -0
- chromapi/assets/firmware/chromapi_stm32_core_v2.0.0.hex +2222 -0
- chromapi/assets/firmware/flash.sh +88 -0
- chromapi/assets/moves/README.md +48 -0
- chromapi/assets/moves/angry.json +1 -0
- chromapi/assets/moves/confused.json +1 -0
- chromapi/assets/moves/dizzy.json +1 -0
- chromapi/assets/moves/excited.json +1 -0
- chromapi/assets/moves/greeting.json +1 -0
- chromapi/assets/moves/happy.json +1 -0
- chromapi/assets/moves/joy.json +1 -0
- chromapi/assets/moves/kick.json +1 -0
- chromapi/assets/moves/metadata.jsonl +15 -0
- chromapi/assets/moves/no.json +1 -0
- chromapi/assets/moves/purring.json +1 -0
- chromapi/assets/moves/sad.json +1 -0
- chromapi/assets/moves/scared.json +1 -0
- chromapi/assets/moves/surprised.json +1 -0
- chromapi/assets/moves/tired.json +1 -0
- chromapi/assets/moves/yes.json +1 -0
- chromapi/chromapi.py +1460 -0
- chromapi/cli.py +106 -0
- chromapi/config/config.yaml +118 -0
- chromapi/estimation/__init__.py +6 -0
- chromapi/estimation/attitude.py +107 -0
- chromapi/hardware/__init__.py +2 -0
- chromapi/hardware/battery.py +54 -0
- chromapi/hardware/fan.py +165 -0
- chromapi/hardware/motherboard_bridge.py +345 -0
- chromapi/input/__init__.py +2 -0
- chromapi/input/gamepad.py +379 -0
- chromapi/input/pairing.py +98 -0
- chromapi/kinematics/__init__.py +10 -0
- chromapi/kinematics/kromatics.py +324 -0
- chromapi/kinematics/poses.py +29 -0
- chromapi/kinematics/topology.py +26 -0
- chromapi/kinematics/types.py +21 -0
- chromapi/locomotion/__init__.py +7 -0
- chromapi/locomotion/balance.py +284 -0
- chromapi/locomotion/gait.py +595 -0
- chromapi/locomotion/recorded_move.py +290 -0
- chromapi/media/__init__.py +2 -0
- chromapi/media/audio.py +424 -0
- chromapi/media/led.py +461 -0
- chromapi/model/LICENSE +438 -0
- chromapi/model/mjcf/additional.xml +21 -0
- chromapi/model/mjcf/assets/18650_li_ion_battery.msh +0 -0
- chromapi/model/mjcf/assets/18650_li_ion_battery.part +13 -0
- chromapi/model/mjcf/assets/battery_holder.msh +0 -0
- chromapi/model/mjcf/assets/battery_holder.part +13 -0
- chromapi/model/mjcf/assets/camera_imx219_d160.msh +0 -0
- chromapi/model/mjcf/assets/camera_imx219_d160.part +13 -0
- chromapi/model/mjcf/assets/chromapi_logo.msh +0 -0
- chromapi/model/mjcf/assets/chromapi_logo.part +13 -0
- chromapi/model/mjcf/assets/chromapi_logo_circle.msh +0 -0
- chromapi/model/mjcf/assets/chromapi_logo_inner.msh +0 -0
- chromapi/model/mjcf/assets/chromapi_logo_outer.msh +0 -0
- chromapi/model/mjcf/assets/chromapi_motherboard.msh +0 -0
- chromapi/model/mjcf/assets/chromapi_motherboard.part +13 -0
- chromapi/model/mjcf/assets/composant2_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/composant2_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/composant3_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/composant3_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/composant4_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/composant4_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/connector_f_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/connector_f_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/connector_f_1__corps1_1.msh +0 -0
- chromapi/model/mjcf/assets/connector_f_1__corps1_1.part +13 -0
- chromapi/model/mjcf/assets/corps14.msh +0 -0
- chromapi/model/mjcf/assets/corps14.part +13 -0
- chromapi/model/mjcf/assets/fan_nf_a4x10.msh +0 -0
- chromapi/model/mjcf/assets/fan_nf_a4x10.part +13 -0
- chromapi/model/mjcf/assets/foot.msh +0 -0
- chromapi/model/mjcf/assets/foot.part +13 -0
- chromapi/model/mjcf/assets/left_coxa.msh +0 -0
- chromapi/model/mjcf/assets/left_coxa.part +13 -0
- chromapi/model/mjcf/assets/left_femur.msh +0 -0
- chromapi/model/mjcf/assets/left_femur.part +13 -0
- chromapi/model/mjcf/assets/left_tibia.msh +0 -0
- chromapi/model/mjcf/assets/left_tibia.part +13 -0
- chromapi/model/mjcf/assets/microswitch.msh +0 -0
- chromapi/model/mjcf/assets/microswitch.part +13 -0
- chromapi/model/mjcf/assets/power_switch.msh +0 -0
- chromapi/model/mjcf/assets/power_switch.part +13 -0
- chromapi/model/mjcf/assets/raspberry_pi_4_model_b.msh +0 -0
- chromapi/model/mjcf/assets/raspberry_pi_4_model_b.part +13 -0
- chromapi/model/mjcf/assets/right_coxa.msh +0 -0
- chromapi/model/mjcf/assets/right_coxa.part +13 -0
- chromapi/model/mjcf/assets/right_femur.msh +0 -0
- chromapi/model/mjcf/assets/right_femur.part +13 -0
- chromapi/model/mjcf/assets/right_tibia.msh +0 -0
- chromapi/model/mjcf/assets/right_tibia.part +13 -0
- chromapi/model/mjcf/assets/robot_case_bottom.msh +0 -0
- chromapi/model/mjcf/assets/robot_case_bottom.part +13 -0
- chromapi/model/mjcf/assets/robot_case_top.msh +0 -0
- chromapi/model/mjcf/assets/robot_case_top.part +13 -0
- chromapi/model/mjcf/assets/rpi_battery_bracket.msh +0 -0
- chromapi/model/mjcf/assets/rpi_battery_bracket.part +13 -0
- chromapi/model/mjcf/assets/speaker.msh +0 -0
- chromapi/model/mjcf/assets/speaker.part +13 -0
- chromapi/model/mjcf/assets/vis_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/vis_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/vis_1__corps1_1.msh +0 -0
- chromapi/model/mjcf/assets/vis_1__corps1_1.part +13 -0
- chromapi/model/mjcf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.msh +0 -0
- chromapi/model/mjcf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.part +13 -0
- chromapi/model/mjcf/assets/ws2812b_cob_pixel_ring_27mm.msh +0 -0
- chromapi/model/mjcf/assets/ws2812b_cob_pixel_ring_27mm.part +13 -0
- chromapi/model/mjcf/config.json +14 -0
- chromapi/model/mjcf/robot.xml +639 -0
- chromapi/model/mjcf/scene.xml +24 -0
- chromapi/model/urdf/assets/18650_li_ion_battery.part +13 -0
- chromapi/model/urdf/assets/18650_li_ion_battery.stl +0 -0
- chromapi/model/urdf/assets/battery_holder.part +13 -0
- chromapi/model/urdf/assets/battery_holder.stl +0 -0
- chromapi/model/urdf/assets/camera_imx219_d160.part +13 -0
- chromapi/model/urdf/assets/camera_imx219_d160.stl +0 -0
- chromapi/model/urdf/assets/chromapi_logo.part +13 -0
- chromapi/model/urdf/assets/chromapi_logo.stl +0 -0
- chromapi/model/urdf/assets/chromapi_logo_circle.stl +0 -0
- chromapi/model/urdf/assets/chromapi_logo_inner.stl +0 -0
- chromapi/model/urdf/assets/chromapi_logo_outer.stl +0 -0
- chromapi/model/urdf/assets/chromapi_motherboard.part +13 -0
- chromapi/model/urdf/assets/chromapi_motherboard.stl +0 -0
- chromapi/model/urdf/assets/composant2_1__corps1.part +13 -0
- chromapi/model/urdf/assets/composant2_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/composant3_1__corps1.part +13 -0
- chromapi/model/urdf/assets/composant3_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/composant4_1__corps1.part +13 -0
- chromapi/model/urdf/assets/composant4_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/connector_f_1__corps1.part +13 -0
- chromapi/model/urdf/assets/connector_f_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/connector_f_1__corps1_1.part +13 -0
- chromapi/model/urdf/assets/connector_f_1__corps1_1.stl +0 -0
- chromapi/model/urdf/assets/corps14.part +13 -0
- chromapi/model/urdf/assets/corps14.stl +0 -0
- chromapi/model/urdf/assets/fan_nf_a4x10.part +13 -0
- chromapi/model/urdf/assets/fan_nf_a4x10.stl +0 -0
- chromapi/model/urdf/assets/foot.part +13 -0
- chromapi/model/urdf/assets/foot.stl +0 -0
- chromapi/model/urdf/assets/left_coxa.part +13 -0
- chromapi/model/urdf/assets/left_coxa.stl +0 -0
- chromapi/model/urdf/assets/left_femur.part +13 -0
- chromapi/model/urdf/assets/left_femur.stl +0 -0
- chromapi/model/urdf/assets/left_tibia.part +13 -0
- chromapi/model/urdf/assets/left_tibia.stl +0 -0
- chromapi/model/urdf/assets/microswitch.part +13 -0
- chromapi/model/urdf/assets/microswitch.stl +0 -0
- chromapi/model/urdf/assets/power_switch.part +13 -0
- chromapi/model/urdf/assets/power_switch.stl +0 -0
- chromapi/model/urdf/assets/raspberry_pi_4_model_b.part +13 -0
- chromapi/model/urdf/assets/raspberry_pi_4_model_b.stl +0 -0
- chromapi/model/urdf/assets/right_coxa.part +13 -0
- chromapi/model/urdf/assets/right_coxa.stl +0 -0
- chromapi/model/urdf/assets/right_femur.part +13 -0
- chromapi/model/urdf/assets/right_femur.stl +0 -0
- chromapi/model/urdf/assets/right_tibia.part +13 -0
- chromapi/model/urdf/assets/right_tibia.stl +0 -0
- chromapi/model/urdf/assets/robot_case_bottom.part +13 -0
- chromapi/model/urdf/assets/robot_case_bottom.stl +0 -0
- chromapi/model/urdf/assets/robot_case_top.part +13 -0
- chromapi/model/urdf/assets/robot_case_top.stl +0 -0
- chromapi/model/urdf/assets/rpi_battery_bracket.part +13 -0
- chromapi/model/urdf/assets/rpi_battery_bracket.stl +0 -0
- chromapi/model/urdf/assets/speaker.part +13 -0
- chromapi/model/urdf/assets/speaker.stl +0 -0
- chromapi/model/urdf/assets/vis_1__corps1.part +13 -0
- chromapi/model/urdf/assets/vis_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/vis_1__corps1_1.part +13 -0
- chromapi/model/urdf/assets/vis_1__corps1_1.stl +0 -0
- chromapi/model/urdf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.part +13 -0
- chromapi/model/urdf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.stl +0 -0
- chromapi/model/urdf/assets/ws2812b_cob_pixel_ring_27mm.part +13 -0
- chromapi/model/urdf/assets/ws2812b_cob_pixel_ring_27mm.stl +0 -0
- chromapi/model/urdf/config.json +8 -0
- chromapi/model/urdf/robot.urdf +2587 -0
- chromapi/utils/calibrate_imu_mount.py +80 -0
- chromapi/utils/calibrate_servo_centers.py +432 -0
- chromapi/utils/flash.py +141 -0
- chromapi/utils/health.py +210 -0
- chromapi/utils/report.py +75 -0
- chromapi/utils/setup_motors.py +189 -0
- chromapi/utils/sim_server.py +126 -0
- chromapi/web/__init__.py +2 -0
- chromapi/web/access.py +167 -0
- chromapi/web/app.py +1136 -0
- chromapi/web/camera.py +202 -0
- chromapi/web/static/fonts/varela-round.woff2 +0 -0
- chromapi/web/static/index.html +1079 -0
- chromapi/web/static/logo.png +0 -0
- chromapi/web/static/motherboard_front.png +0 -0
- chromapi/web/static/socket.io.min.js +7 -0
- chromapi-1.0.0.dist-info/METADATA +222 -0
- chromapi-1.0.0.dist-info/RECORD +219 -0
- chromapi-1.0.0.dist-info/WHEEL +5 -0
- chromapi-1.0.0.dist-info/entry_points.txt +2 -0
- chromapi-1.0.0.dist-info/licenses/LICENSE +201 -0
- chromapi-1.0.0.dist-info/licenses/src/chromapi/model/LICENSE +438 -0
- chromapi-1.0.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Socket.IO v4.7.5
|
|
3
|
+
* (c) 2014-2024 Guillermo Rauch
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).io=t()}(this,(function(){"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(i=r.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"))?o:String(o)),r)}var i,o}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&a(i,n.prototype),i},u.apply(null,arguments)}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,s(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,e)},h(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){var t=c();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return f(e)}(this,n)}}function p(){return p="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},p.apply(this,arguments)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}var v=Object.create(null);v.open="0",v.close="1",v.ping="2",v.pong="3",v.message="4",v.upgrade="5",v.noop="6";var g=Object.create(null);Object.keys(v).forEach((function(e){g[v[e]]=e}));var m,b={type:"error",data:"parser error"},k="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),w="function"==typeof ArrayBuffer,_=function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},E=function(e,t,n){var r=e.type,i=e.data;return k&&i instanceof Blob?t?n(i):A(i,n):w&&(i instanceof ArrayBuffer||_(i))?t?n(i):A(new Blob([i]),n):n(v[r]+(i||""))},A=function(e,t){var n=new FileReader;return n.onload=function(){var e=n.result.split(",")[1];t("b"+(e||""))},n.readAsDataURL(e)};function O(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}for(var T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R="undefined"==typeof Uint8Array?[]:new Uint8Array(256),C=0;C<64;C++)R[T.charCodeAt(C)]=C;var B,S="function"==typeof ArrayBuffer,N=function(e,t){if("string"!=typeof e)return{type:"message",data:x(e,t)};var n=e.charAt(0);return"b"===n?{type:"message",data:L(e.substring(1),t)}:g[n]?e.length>1?{type:g[n],data:e.substring(1)}:{type:g[n]}:b},L=function(e,t){if(S){var n=function(e){var t,n,r,i,o,s=.75*e.length,a=e.length,c=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var u=new ArrayBuffer(s),h=new Uint8Array(u);for(t=0;t<a;t+=4)n=R[e.charCodeAt(t)],r=R[e.charCodeAt(t+1)],i=R[e.charCodeAt(t+2)],o=R[e.charCodeAt(t+3)],h[c++]=n<<2|r>>4,h[c++]=(15&r)<<4|i>>2,h[c++]=(3&i)<<6|63&o;return u}(e);return x(n,t)}return{base64:!0,data:e}},x=function(e,t){return"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer},P=String.fromCharCode(30);function j(){return new TransformStream({transform:function(e,t){!function(e,t){k&&e.data instanceof Blob?e.data.arrayBuffer().then(O).then(t):w&&(e.data instanceof ArrayBuffer||_(e.data))?t(O(e.data)):E(e,!1,(function(e){m||(m=new TextEncoder),t(m.encode(e))}))}(e,(function(n){var r,i=n.length;if(i<126)r=new Uint8Array(1),new DataView(r.buffer).setUint8(0,i);else if(i<65536){r=new Uint8Array(3);var o=new DataView(r.buffer);o.setUint8(0,126),o.setUint16(1,i)}else{r=new Uint8Array(9);var s=new DataView(r.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)}))}})}function q(e){return e.reduce((function(e,t){return e+t.length}),0)}function D(e,t){if(e[0].length===t)return e.shift();for(var n=new Uint8Array(t),r=0,i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function U(e){if(e)return function(e){for(var t in U.prototype)e[t]=U.prototype[t];return e}(e)}U.prototype.on=U.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},U.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},U.prototype.off=U.prototype.removeListener=U.prototype.removeAllListeners=U.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},U.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){r=0;for(var i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,t)}return this},U.prototype.emitReserved=U.prototype.emit,U.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},U.prototype.hasListeners=function(e){return!!this.listeners(e).length};var I="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function F(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce((function(t,n){return e.hasOwnProperty(n)&&(t[n]=e[n]),t}),{})}var M=I.setTimeout,V=I.clearTimeout;function H(e,t){t.useNativeTimers?(e.setTimeoutFn=M.bind(I),e.clearTimeoutFn=V.bind(I)):(e.setTimeoutFn=I.setTimeout.bind(I),e.clearTimeoutFn=I.clearTimeout.bind(I))}var K,Y=function(e){o(i,e);var n=l(i);function i(e,r,o){var s;return t(this,i),(s=n.call(this,e)).description=r,s.context=o,s.type="TransportError",s}return r(i)}(h(Error)),W=function(e){o(i,e);var n=l(i);function i(e){var r;return t(this,i),(r=n.call(this)).writable=!1,H(f(r),e),r.opts=e,r.query=e.query,r.socket=e.socket,r}return r(i,[{key:"onError",value:function(e,t,n){return p(s(i.prototype),"emitReserved",this).call(this,"error",new Y(e,t,n)),this}},{key:"open",value:function(){return this.readyState="opening",this.doOpen(),this}},{key:"close",value:function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}},{key:"send",value:function(e){"open"===this.readyState&&this.write(e)}},{key:"onOpen",value:function(){this.readyState="open",this.writable=!0,p(s(i.prototype),"emitReserved",this).call(this,"open")}},{key:"onData",value:function(e){var t=N(e,this.socket.binaryType);this.onPacket(t)}},{key:"onPacket",value:function(e){p(s(i.prototype),"emitReserved",this).call(this,"packet",e)}},{key:"onClose",value:function(e){this.readyState="closed",p(s(i.prototype),"emitReserved",this).call(this,"close",e)}},{key:"pause",value:function(e){}},{key:"createUri",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}},{key:"_hostname",value:function(){var e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}},{key:"_port",value:function(){return this.opts.port&&(this.opts.secure&&Number(443!==this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}},{key:"_query",value:function(e){var t=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}]),i}(U),z="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),J=64,$={},Q=0,X=0;function G(e){var t="";do{t=z[e%J]+t,e=Math.floor(e/J)}while(e>0);return t}function Z(){var e=G(+new Date);return e!==K?(Q=0,K=e):e+"."+G(Q++)}for(;X<J;X++)$[z[X]]=X;var ee=!1;try{ee="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}var te=ee;function ne(e){var t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||te))return new XMLHttpRequest}catch(e){}if(!t)try{return new(I[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}function re(){}var ie=null!=new ne({xdomain:!1}).responseType,oe=function(e){o(s,e);var n=l(s);function s(e){var r;if(t(this,s),(r=n.call(this,e)).polling=!1,"undefined"!=typeof location){var i="https:"===location.protocol,o=location.port;o||(o=i?"443":"80"),r.xd="undefined"!=typeof location&&e.hostname!==location.hostname||o!==e.port}var a=e&&e.forceBase64;return r.supportsBinary=ie&&!a,r.opts.withCredentials&&(r.cookieJar=void 0),r}return r(s,[{key:"name",get:function(){return"polling"}},{key:"doOpen",value:function(){this.poll()}},{key:"pause",value:function(e){var t=this;this.readyState="pausing";var n=function(){t.readyState="paused",e()};if(this.polling||!this.writable){var r=0;this.polling&&(r++,this.once("pollComplete",(function(){--r||n()}))),this.writable||(r++,this.once("drain",(function(){--r||n()})))}else n()}},{key:"poll",value:function(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}},{key:"onData",value:function(e){var t=this;(function(e,t){for(var n=e.split(P),r=[],i=0;i<n.length;i++){var o=N(n[i],t);if(r.push(o),"error"===o.type)break}return r})(e,this.socket.binaryType).forEach((function(e){if("opening"===t.readyState&&"open"===e.type&&t.onOpen(),"close"===e.type)return t.onClose({description:"transport closed by the server"}),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this.poll())}},{key:"doClose",value:function(){var e=this,t=function(){e.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}},{key:"write",value:function(e){var t=this;this.writable=!1,function(e,t){var n=e.length,r=new Array(n),i=0;e.forEach((function(e,o){E(e,!1,(function(e){r[o]=e,++i===n&&t(r.join(P))}))}))}(e,(function(e){t.doWrite(e,(function(){t.writable=!0,t.emitReserved("drain")}))}))}},{key:"uri",value:function(){var e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=Z()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}},{key:"request",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return i(e,{xd:this.xd,cookieJar:this.cookieJar},this.opts),new se(this.uri(),e)}},{key:"doWrite",value:function(e,t){var n=this,r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(function(e,t){n.onError("xhr post error",e,t)}))}},{key:"doPoll",value:function(){var e=this,t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(function(t,n){e.onError("xhr poll error",t,n)})),this.pollXhr=t}}]),s}(W),se=function(e){o(i,e);var n=l(i);function i(e,r){var o;return t(this,i),H(f(o=n.call(this)),r),o.opts=r,o.method=r.method||"GET",o.uri=e,o.data=void 0!==r.data?r.data:null,o.create(),o}return r(i,[{key:"create",value:function(){var e,t=this,n=F(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this.opts.xd;var r=this.xhr=new ne(n);try{r.open(this.method,this.uri,!0);try{if(this.opts.extraHeaders)for(var o in r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0),this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this.opts.extraHeaders[o])}catch(e){}if("POST"===this.method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}null===(e=this.opts.cookieJar)||void 0===e||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(r.timeout=this.opts.requestTimeout),r.onreadystatechange=function(){var e;3===r.readyState&&(null===(e=t.opts.cookieJar)||void 0===e||e.parseCookies(r)),4===r.readyState&&(200===r.status||1223===r.status?t.onLoad():t.setTimeoutFn((function(){t.onError("number"==typeof r.status?r.status:0)}),0))},r.send(this.data)}catch(e){return void this.setTimeoutFn((function(){t.onError(e)}),0)}"undefined"!=typeof document&&(this.index=i.requestsCount++,i.requests[this.index]=this)}},{key:"onError",value:function(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}},{key:"cleanup",value:function(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=re,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete i.requests[this.index],this.xhr=null}}},{key:"onLoad",value:function(){var e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}},{key:"abort",value:function(){this.cleanup()}}]),i}(U);if(se.requestsCount=0,se.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",ae);else if("function"==typeof addEventListener){addEventListener("onpagehide"in I?"pagehide":"unload",ae,!1)}function ae(){for(var e in se.requests)se.requests.hasOwnProperty(e)&&se.requests[e].abort()}var ce="function"==typeof Promise&&"function"==typeof Promise.resolve?function(e){return Promise.resolve().then(e)}:function(e,t){return t(e,0)},ue=I.WebSocket||I.MozWebSocket,he="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),fe=function(e){o(i,e);var n=l(i);function i(e){var r;return t(this,i),(r=n.call(this,e)).supportsBinary=!e.forceBase64,r}return r(i,[{key:"name",get:function(){return"websocket"}},{key:"doOpen",value:function(){if(this.check()){var e=this.uri(),t=this.opts.protocols,n=he?{}:F(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=he?new ue(e,t,n):t?new ue(e,t):new ue(e)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}}},{key:"addEventListeners",value:function(){var e=this;this.ws.onopen=function(){e.opts.autoUnref&&e.ws._socket.unref(),e.onOpen()},this.ws.onclose=function(t){return e.onClose({description:"websocket connection closed",context:t})},this.ws.onmessage=function(t){return e.onData(t.data)},this.ws.onerror=function(t){return e.onError("websocket error",t)}}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],i=r===e.length-1;E(n,t.supportsBinary,(function(e){try{t.ws.send(e)}catch(e){}i&&ce((function(){t.writable=!0,t.emitReserved("drain")}),t.setTimeoutFn)}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}},{key:"uri",value:function(){var e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Z()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}},{key:"check",value:function(){return!!ue}}]),i}(W),le=function(e){o(i,e);var n=l(i);function i(){return t(this,i),n.apply(this,arguments)}return r(i,[{key:"name",get:function(){return"webtransport"}},{key:"doOpen",value:function(){var e=this;"function"==typeof WebTransport&&(this.transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name]),this.transport.closed.then((function(){e.onClose()})).catch((function(t){e.onError("webtransport error",t)})),this.transport.ready.then((function(){e.transport.createBidirectionalStream().then((function(t){var n=function(e,t){B||(B=new TextDecoder);var n=[],r=0,i=-1,o=!1;return new TransformStream({transform:function(s,a){for(n.push(s);;){if(0===r){if(q(n)<1)break;var c=D(n,1);o=128==(128&c[0]),i=127&c[0],r=i<126?3:126===i?1:2}else if(1===r){if(q(n)<2)break;var u=D(n,2);i=new DataView(u.buffer,u.byteOffset,u.length).getUint16(0),r=3}else if(2===r){if(q(n)<8)break;var h=D(n,8),f=new DataView(h.buffer,h.byteOffset,h.length),l=f.getUint32(0);if(l>Math.pow(2,21)-1){a.enqueue(b);break}i=l*Math.pow(2,32)+f.getUint32(4),r=3}else{if(q(n)<i)break;var p=D(n,i);a.enqueue(N(o?p:B.decode(p),t)),r=0}if(0===i||i>e){a.enqueue(b);break}}}})}(Number.MAX_SAFE_INTEGER,e.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=j();i.readable.pipeTo(t.writable),e.writer=i.writable.getWriter();!function t(){r.read().then((function(n){var r=n.done,i=n.value;r||(e.onPacket(i),t())})).catch((function(e){}))}();var o={type:"open"};e.query.sid&&(o.data='{"sid":"'.concat(e.query.sid,'"}')),e.writer.write(o).then((function(){return e.onOpen()}))}))})))}},{key:"write",value:function(e){var t=this;this.writable=!1;for(var n=function(){var n=e[r],i=r===e.length-1;t.writer.write(n).then((function(){i&&ce((function(){t.writable=!0,t.emitReserved("drain")}),t.setTimeoutFn)}))},r=0;r<e.length;r++)n()}},{key:"doClose",value:function(){var e;null===(e=this.transport)||void 0===e||e.close()}}]),i}(W),pe={websocket:fe,webtransport:le,polling:oe},de=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,ye=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ve(e){var t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));for(var i,o,s=de.exec(e||""),a={},c=14;c--;)a[ye[c]]=s[c]||"";return-1!=n&&-1!=r&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){var n=/\/{2,9}/g,r=t.replace(n,"/").split("/");"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1);"/"==t.slice(-1)&&r.splice(r.length-1,1);return r}(0,a.path),a.queryKey=(i=a.query,o={},i.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(o[t]=n)})),o),a}var ge=function(n){o(a,n);var s=l(a);function a(n){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t(this,a),(r=s.call(this)).binaryType="arraybuffer",r.writeBuffer=[],n&&"object"===e(n)&&(o=n,n=null),n?(n=ve(n),o.hostname=n.host,o.secure="https"===n.protocol||"wss"===n.protocol,o.port=n.port,n.query&&(o.query=n.query)):o.host&&(o.hostname=ve(o.host).host),H(f(r),o),r.secure=null!=o.secure?o.secure:"undefined"!=typeof location&&"https:"===location.protocol,o.hostname&&!o.port&&(o.port=r.secure?"443":"80"),r.hostname=o.hostname||("undefined"!=typeof location?location.hostname:"localhost"),r.port=o.port||("undefined"!=typeof location&&location.port?location.port:r.secure?"443":"80"),r.transports=o.transports||["polling","websocket","webtransport"],r.writeBuffer=[],r.prevBufferLen=0,r.opts=i({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},o),r.opts.path=r.opts.path.replace(/\/$/,"")+(r.opts.addTrailingSlash?"/":""),"string"==typeof r.opts.query&&(r.opts.query=function(e){for(var t={},n=e.split("&"),r=0,i=n.length;r<i;r++){var o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return t}(r.opts.query)),r.id=null,r.upgrades=null,r.pingInterval=null,r.pingTimeout=null,r.pingTimeoutTimer=null,"function"==typeof addEventListener&&(r.opts.closeOnBeforeunload&&(r.beforeunloadEventListener=function(){r.transport&&(r.transport.removeAllListeners(),r.transport.close())},addEventListener("beforeunload",r.beforeunloadEventListener,!1)),"localhost"!==r.hostname&&(r.offlineEventListener=function(){r.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",r.offlineEventListener,!1))),r.open(),r}return r(a,[{key:"createTransport",value:function(e){var t=i({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);var n=i({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new pe[e](n)}},{key:"open",value:function(){var e,t=this;if(this.opts.rememberUpgrade&&a.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((function(){t.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}},{key:"setTransport",value:function(e){var t=this;this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(function(e){return t.onClose("transport close",e)}))}},{key:"probe",value:function(e){var t=this,n=this.createTransport(e),r=!1;a.priorWebsocketSuccess=!1;var i=function(){r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",(function(e){if(!r)if("pong"===e.type&&"probe"===e.data){if(t.upgrading=!0,t.emitReserved("upgrading",n),!n)return;a.priorWebsocketSuccess="websocket"===n.name,t.transport.pause((function(){r||"closed"!==t.readyState&&(f(),t.setTransport(n),n.send([{type:"upgrade"}]),t.emitReserved("upgrade",n),n=null,t.upgrading=!1,t.flush())}))}else{var i=new Error("probe error");i.transport=n.name,t.emitReserved("upgradeError",i)}})))};function o(){r||(r=!0,f(),n.close(),n=null)}var s=function(e){var r=new Error("probe error: "+e);r.transport=n.name,o(),t.emitReserved("upgradeError",r)};function c(){s("transport closed")}function u(){s("socket closed")}function h(e){n&&e.name!==n.name&&o()}var f=function(){n.removeListener("open",i),n.removeListener("error",s),n.removeListener("close",c),t.off("close",u),t.off("upgrading",h)};n.once("open",i),n.once("error",s),n.once("close",c),this.once("close",u),this.once("upgrading",h),-1!==this.upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn((function(){r||n.open()}),200):n.open()}},{key:"onOpen",value:function(){if(this.readyState="open",a.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade)for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},{key:"onPacket",value:function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),this.resetPingTimeout(),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}},{key:"onHandshake",value:function(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}},{key:"resetPingTimeout",value:function(){var e=this;this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((function(){e.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}},{key:"onDrain",value:function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}},{key:"flush",value:function(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){var e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}},{key:"getWritablePackets",value:function(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;for(var e,t=1,n=0;n<this.writeBuffer.length;n++){var r=this.writeBuffer[n].data;if(r&&(t+="string"==typeof(e=r)?function(e){for(var t=0,n=0,r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(e):Math.ceil(1.33*(e.byteLength||e.size))),n>0&&t>this.maxPayload)return this.writeBuffer.slice(0,n);t+=2}return this.writeBuffer}},{key:"write",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"send",value:function(e,t,n){return this.sendPacket("message",e,t,n),this}},{key:"sendPacket",value:function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}}},{key:"close",value:function(){var e=this,t=function(){e.onClose("forced close"),e.transport.close()},n=function n(){e.off("upgrade",n),e.off("upgradeError",n),t()},r=function(){e.once("upgrade",n),e.once("upgradeError",n)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(function(){e.upgrading?r():t()})):this.upgrading?r():t()),this}},{key:"onError",value:function(e){a.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}},{key:"onClose",value:function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}},{key:"filterUpgrades",value:function(e){for(var t=[],n=0,r=e.length;n<r;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}]),a}(U);ge.protocol=4,ge.protocol;var me="function"==typeof ArrayBuffer,be=function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer},ke=Object.prototype.toString,we="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===ke.call(Blob),_e="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===ke.call(File);function Ee(e){return me&&(e instanceof ArrayBuffer||be(e))||we&&e instanceof Blob||_e&&e instanceof File}function Ae(t,n){if(!t||"object"!==e(t))return!1;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)if(Ae(t[r]))return!0;return!1}if(Ee(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return Ae(t.toJSON(),!0);for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o)&&Ae(t[o]))return!0;return!1}function Oe(e){var t=[],n=e.data,r=e;return r.data=Te(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Te(t,n){if(!t)return t;if(Ee(t)){var r={_placeholder:!0,num:n.length};return n.push(t),r}if(Array.isArray(t)){for(var i=new Array(t.length),o=0;o<t.length;o++)i[o]=Te(t[o],n);return i}if("object"===e(t)&&!(t instanceof Date)){var s={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(s[a]=Te(t[a],n));return s}return t}function Re(e,t){return e.data=Ce(e.data,t),delete e.attachments,e}function Ce(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw new Error("illegal attachments")}if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Ce(t[r],n);else if("object"===e(t))for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(t[i]=Ce(t[i],n));return t}var Be,Se=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(Be||(Be={}));var Ne=function(){function e(n){t(this,e),this.replacer=n}return r(e,[{key:"encode",value:function(e){return e.type!==Be.EVENT&&e.type!==Be.ACK||!Ae(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===Be.EVENT?Be.BINARY_EVENT:Be.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}},{key:"encodeAsString",value:function(e){var t=""+e.type;return e.type!==Be.BINARY_EVENT&&e.type!==Be.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}},{key:"encodeAsBinary",value:function(e){var t=Oe(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}]),e}();function Le(e){return"[object Object]"===Object.prototype.toString.call(e)}var xe=function(e){o(i,e);var n=l(i);function i(e){var r;return t(this,i),(r=n.call(this)).reviver=e,r}return r(i,[{key:"add",value:function(e){var t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");var n=(t=this.decodeString(e)).type===Be.BINARY_EVENT;n||t.type===Be.BINARY_ACK?(t.type=n?Be.EVENT:Be.ACK,this.reconstructor=new Pe(t),0===t.attachments&&p(s(i.prototype),"emitReserved",this).call(this,"decoded",t)):p(s(i.prototype),"emitReserved",this).call(this,"decoded",t)}else{if(!Ee(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,p(s(i.prototype),"emitReserved",this).call(this,"decoded",t))}}},{key:"decodeString",value:function(e){var t=0,n={type:Number(e.charAt(0))};if(void 0===Be[n.type])throw new Error("unknown packet type "+n.type);if(n.type===Be.BINARY_EVENT||n.type===Be.BINARY_ACK){for(var r=t+1;"-"!==e.charAt(++t)&&t!=e.length;);var o=e.substring(r,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"===e.charAt(t+1)){for(var s=t+1;++t;){if(","===e.charAt(t))break;if(t===e.length)break}n.nsp=e.substring(s,t)}else n.nsp="/";var a=e.charAt(t+1);if(""!==a&&Number(a)==a){for(var c=t+1;++t;){var u=e.charAt(t);if(null==u||Number(u)!=u){--t;break}if(t===e.length)break}n.id=Number(e.substring(c,t+1))}if(e.charAt(++t)){var h=this.tryParse(e.substr(t));if(!i.isPayloadValid(n.type,h))throw new Error("invalid payload");n.data=h}return n}},{key:"tryParse",value:function(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}},{key:"destroy",value:function(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}],[{key:"isPayloadValid",value:function(e,t){switch(e){case Be.CONNECT:return Le(t);case Be.DISCONNECT:return void 0===t;case Be.CONNECT_ERROR:return"string"==typeof t||Le(t);case Be.EVENT:case Be.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===Se.indexOf(t[0]));case Be.ACK:case Be.BINARY_ACK:return Array.isArray(t)}}}]),i}(U),Pe=function(){function e(n){t(this,e),this.packet=n,this.buffers=[],this.reconPack=n}return r(e,[{key:"takeBinaryData",value:function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=Re(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null}},{key:"finishedReconstruction",value:function(){this.reconPack=null,this.buffers=[]}}]),e}(),je=Object.freeze({__proto__:null,protocol:5,get PacketType(){return Be},Encoder:Ne,Decoder:xe});function qe(e,t,n){return e.on(t,n),function(){e.off(t,n)}}var De=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),Ue=function(e){o(a,e);var n=l(a);function a(e,r,o){var s;return t(this,a),(s=n.call(this)).connected=!1,s.recovered=!1,s.receiveBuffer=[],s.sendBuffer=[],s._queue=[],s._queueSeq=0,s.ids=0,s.acks={},s.flags={},s.io=e,s.nsp=r,o&&o.auth&&(s.auth=o.auth),s._opts=i({},o),s.io._autoConnect&&s.open(),s}return r(a,[{key:"disconnected",get:function(){return!this.connected}},{key:"subEvents",value:function(){if(!this.subs){var e=this.io;this.subs=[qe(e,"open",this.onopen.bind(this)),qe(e,"packet",this.onpacket.bind(this)),qe(e,"error",this.onerror.bind(this)),qe(e,"close",this.onclose.bind(this))]}}},{key:"active",get:function(){return!!this.subs}},{key:"connect",value:function(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}},{key:"open",value:function(){return this.connect()}},{key:"send",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.unshift("message"),this.emit.apply(this,t),this}},{key:"emit",value:function(e){if(De.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;var i={type:Be.EVENT,data:n,options:{}};if(i.options.compress=!1!==this.flags.compress,"function"==typeof n[n.length-1]){var o=this.ids++,s=n.pop();this._registerAckCallback(o,s),i.id=o}var a=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!a||!this.connected)||(this.connected?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}},{key:"_registerAckCallback",value:function(e,t){var n,r=this,i=null!==(n=this.flags.timeout)&&void 0!==n?n:this._opts.ackTimeout;if(void 0!==i){var o=this.io.setTimeoutFn((function(){delete r.acks[e];for(var n=0;n<r.sendBuffer.length;n++)r.sendBuffer[n].id===e&&r.sendBuffer.splice(n,1);t.call(r,new Error("operation has timed out"))}),i),s=function(){r.io.clearTimeoutFn(o);for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.apply(r,n)};s.withError=!0,this.acks[e]=s}else this.acks[e]=t}},{key:"emitWithAck",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return new Promise((function(n,i){var o=function(e,t){return e?i(e):n(t)};o.withError=!0,r.push(o),t.emit.apply(t,[e].concat(r))}))}},{key:"_addToQueue",value:function(e){var t,n=this;"function"==typeof e[e.length-1]&&(t=e.pop());var r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:i({fromQueue:!0},this.flags)};e.push((function(e){if(r===n._queue[0]){if(null!==e)r.tryCount>n._opts.retries&&(n._queue.shift(),t&&t(e));else if(n._queue.shift(),t){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];t.apply(void 0,[null].concat(o))}return r.pending=!1,n._drainQueue()}})),this._queue.push(r),this._drainQueue()}},{key:"_drainQueue",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.connected&&0!==this._queue.length){var t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}}},{key:"packet",value:function(e){e.nsp=this.nsp,this.io._packet(e)}},{key:"onopen",value:function(){var e=this;"function"==typeof this.auth?this.auth((function(t){e._sendConnectPacket(t)})):this._sendConnectPacket(this.auth)}},{key:"_sendConnectPacket",value:function(e){this.packet({type:Be.CONNECT,data:this._pid?i({pid:this._pid,offset:this._lastOffset},e):e})}},{key:"onerror",value:function(e){this.connected||this.emitReserved("connect_error",e)}},{key:"onclose",value:function(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}},{key:"_clearAcks",value:function(){var e=this;Object.keys(this.acks).forEach((function(t){if(!e.sendBuffer.some((function(e){return String(e.id)===t}))){var n=e.acks[t];delete e.acks[t],n.withError&&n.call(e,new Error("socket has been disconnected"))}}))}},{key:"onpacket",value:function(e){if(e.nsp===this.nsp)switch(e.type){case Be.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Be.EVENT:case Be.BINARY_EVENT:this.onevent(e);break;case Be.ACK:case Be.BINARY_ACK:this.onack(e);break;case Be.DISCONNECT:this.ondisconnect();break;case Be.CONNECT_ERROR:this.destroy();var t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}},{key:"onevent",value:function(e){var t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}},{key:"emitEvent",value:function(e){if(this._anyListeners&&this._anyListeners.length){var t,n=y(this._anyListeners.slice());try{for(n.s();!(t=n.n()).done;){t.value.apply(this,e)}}catch(e){n.e(e)}finally{n.f()}}p(s(a.prototype),"emit",this).apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}},{key:"ack",value:function(e){var t=this,n=!1;return function(){if(!n){n=!0;for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];t.packet({type:Be.ACK,id:e,data:i})}}}},{key:"onack",value:function(e){var t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}},{key:"onconnect",value:function(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}},{key:"emitBuffered",value:function(){var e=this;this.receiveBuffer.forEach((function(t){return e.emitEvent(t)})),this.receiveBuffer=[],this.sendBuffer.forEach((function(t){e.notifyOutgoingListeners(t),e.packet(t)})),this.sendBuffer=[]}},{key:"ondisconnect",value:function(){this.destroy(),this.onclose("io server disconnect")}},{key:"destroy",value:function(){this.subs&&(this.subs.forEach((function(e){return e()})),this.subs=void 0),this.io._destroy(this)}},{key:"disconnect",value:function(){return this.connected&&this.packet({type:Be.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}},{key:"close",value:function(){return this.disconnect()}},{key:"compress",value:function(e){return this.flags.compress=e,this}},{key:"volatile",get:function(){return this.flags.volatile=!0,this}},{key:"timeout",value:function(e){return this.flags.timeout=e,this}},{key:"onAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}},{key:"prependAny",value:function(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}},{key:"offAny",value:function(e){if(!this._anyListeners)return this;if(e){for(var t=this._anyListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyListeners=[];return this}},{key:"listenersAny",value:function(){return this._anyListeners||[]}},{key:"onAnyOutgoing",value:function(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}},{key:"prependAnyOutgoing",value:function(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}},{key:"offAnyOutgoing",value:function(e){if(!this._anyOutgoingListeners)return this;if(e){for(var t=this._anyOutgoingListeners,n=0;n<t.length;n++)if(e===t[n])return t.splice(n,1),this}else this._anyOutgoingListeners=[];return this}},{key:"listenersAnyOutgoing",value:function(){return this._anyOutgoingListeners||[]}},{key:"notifyOutgoingListeners",value:function(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){var t,n=y(this._anyOutgoingListeners.slice());try{for(n.s();!(t=n.n()).done;){t.value.apply(this,e.data)}}catch(e){n.e(e)}finally{n.f()}}}}]),a}(U);function Ie(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ie.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},Ie.prototype.reset=function(){this.attempts=0},Ie.prototype.setMin=function(e){this.ms=e},Ie.prototype.setMax=function(e){this.max=e},Ie.prototype.setJitter=function(e){this.jitter=e};var Fe=function(n){o(s,n);var i=l(s);function s(n,r){var o,a;t(this,s),(o=i.call(this)).nsps={},o.subs=[],n&&"object"===e(n)&&(r=n,n=void 0),(r=r||{}).path=r.path||"/socket.io",o.opts=r,H(f(o),r),o.reconnection(!1!==r.reconnection),o.reconnectionAttempts(r.reconnectionAttempts||1/0),o.reconnectionDelay(r.reconnectionDelay||1e3),o.reconnectionDelayMax(r.reconnectionDelayMax||5e3),o.randomizationFactor(null!==(a=r.randomizationFactor)&&void 0!==a?a:.5),o.backoff=new Ie({min:o.reconnectionDelay(),max:o.reconnectionDelayMax(),jitter:o.randomizationFactor()}),o.timeout(null==r.timeout?2e4:r.timeout),o._readyState="closed",o.uri=n;var c=r.parser||je;return o.encoder=new c.Encoder,o.decoder=new c.Decoder,o._autoConnect=!1!==r.autoConnect,o._autoConnect&&o.open(),o}return r(s,[{key:"reconnection",value:function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}},{key:"reconnectionAttempts",value:function(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}},{key:"reconnectionDelay",value:function(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}},{key:"randomizationFactor",value:function(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}},{key:"reconnectionDelayMax",value:function(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}},{key:"timeout",value:function(e){return arguments.length?(this._timeout=e,this):this._timeout}},{key:"maybeReconnectOnOpen",value:function(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}},{key:"open",value:function(e){var t=this;if(~this._readyState.indexOf("open"))return this;this.engine=new ge(this.uri,this.opts);var n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;var i=qe(n,"open",(function(){r.onopen(),e&&e()})),o=function(n){t.cleanup(),t._readyState="closed",t.emitReserved("error",n),e?e(n):t.maybeReconnectOnOpen()},s=qe(n,"error",o);if(!1!==this._timeout){var a=this._timeout,c=this.setTimeoutFn((function(){i(),o(new Error("timeout")),n.close()}),a);this.opts.autoUnref&&c.unref(),this.subs.push((function(){t.clearTimeoutFn(c)}))}return this.subs.push(i),this.subs.push(s),this}},{key:"connect",value:function(e){return this.open(e)}},{key:"onopen",value:function(){this.cleanup(),this._readyState="open",this.emitReserved("open");var e=this.engine;this.subs.push(qe(e,"ping",this.onping.bind(this)),qe(e,"data",this.ondata.bind(this)),qe(e,"error",this.onerror.bind(this)),qe(e,"close",this.onclose.bind(this)),qe(this.decoder,"decoded",this.ondecoded.bind(this)))}},{key:"onping",value:function(){this.emitReserved("ping")}},{key:"ondata",value:function(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}},{key:"ondecoded",value:function(e){var t=this;ce((function(){t.emitReserved("packet",e)}),this.setTimeoutFn)}},{key:"onerror",value:function(e){this.emitReserved("error",e)}},{key:"socket",value:function(e,t){var n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new Ue(this,e,t),this.nsps[e]=n),n}},{key:"_destroy",value:function(e){for(var t=0,n=Object.keys(this.nsps);t<n.length;t++){var r=n[t];if(this.nsps[r].active)return}this._close()}},{key:"_packet",value:function(e){for(var t=this.encoder.encode(e),n=0;n<t.length;n++)this.engine.write(t[n],e.options)}},{key:"cleanup",value:function(){this.subs.forEach((function(e){return e()})),this.subs.length=0,this.decoder.destroy()}},{key:"_close",value:function(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}},{key:"disconnect",value:function(){return this._close()}},{key:"onclose",value:function(e,t){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}},{key:"reconnect",value:function(){var e=this;if(this._reconnecting||this.skipReconnect)return this;var t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{var n=this.backoff.duration();this._reconnecting=!0;var r=this.setTimeoutFn((function(){t.skipReconnect||(e.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open((function(n){n?(t._reconnecting=!1,t.reconnect(),e.emitReserved("reconnect_error",n)):t.onreconnect()})))}),n);this.opts.autoUnref&&r.unref(),this.subs.push((function(){e.clearTimeoutFn(r)}))}}},{key:"onreconnect",value:function(){var e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}]),s}(U),Me={};function Ve(t,n){"object"===e(t)&&(n=t,t=void 0);var r,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=ve(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";var i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(t,(n=n||{}).path||"/socket.io"),o=i.source,s=i.id,a=i.path,c=Me[s]&&a in Me[s].nsps;return n.forceNew||n["force new connection"]||!1===n.multiplex||c?r=new Fe(o,n):(Me[s]||(Me[s]=new Fe(o,n)),r=Me[s]),i.query&&!n.query&&(n.query=i.queryKey),r.socket(i.path,n)}return i(Ve,{Manager:Fe,Socket:Ue,io:Ve,connect:Ve}),Ve}));
|
|
7
|
+
//# sourceMappingURL=socket.io.min.js.map
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: chromapi
|
|
3
|
+
Version: 1.0.0
|
|
4
|
+
Summary: High-level software for the Chromapi 12-DOF quadruped robot
|
|
5
|
+
Author-email: Mowibox <ousmane.thiongane@outlook.com>
|
|
6
|
+
License-Expression: Apache-2.0 AND CC-BY-NC-SA-4.0
|
|
7
|
+
Project-URL: Homepage, https://mowibox.github.io/chroma/en/chromapi/
|
|
8
|
+
Project-URL: Documentation, https://mowibox.github.io/chroma/en/chromapi/
|
|
9
|
+
Project-URL: Source, https://github.com/Mowibox/chromapi
|
|
10
|
+
Project-URL: Issues, https://github.com/Mowibox/chromapi/issues
|
|
11
|
+
Project-URL: Firmware, https://github.com/Mowibox/chromapi_motherboard
|
|
12
|
+
Project-URL: Discord, https://discord.gg/SUQTs6QV3M
|
|
13
|
+
Keywords: robotics,quadruped,robot,raspberry-pi,mujoco,sdk
|
|
14
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Education
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Classifier: Programming Language :: Python :: 3
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
23
|
+
Requires-Python: >=3.12
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
License-File: LICENSE
|
|
26
|
+
License-File: src/chromapi/model/LICENSE
|
|
27
|
+
Requires-Dist: numpy>=2.2.5
|
|
28
|
+
Requires-Dist: pyserial>=3.5
|
|
29
|
+
Requires-Dist: scipy<2.0.0,>=1.15.3
|
|
30
|
+
Requires-Dist: pyyaml>=6.0
|
|
31
|
+
Requires-Dist: opencv-contrib-python-headless>=4.13.0.92
|
|
32
|
+
Requires-Dist: waitress>=3.0.2
|
|
33
|
+
Requires-Dist: flask>=3.1.3
|
|
34
|
+
Requires-Dist: flask-socketio>=5.3.0
|
|
35
|
+
Requires-Dist: placo<1.0,>=0.9.25
|
|
36
|
+
Provides-Extra: audio
|
|
37
|
+
Requires-Dist: sounddevice>=0.4; extra == "audio"
|
|
38
|
+
Provides-Extra: sim
|
|
39
|
+
Requires-Dist: mujoco>=3.0; extra == "sim"
|
|
40
|
+
Provides-Extra: rl
|
|
41
|
+
Requires-Dist: onnxruntime>=1.16; extra == "rl"
|
|
42
|
+
Provides-Extra: hub
|
|
43
|
+
Requires-Dist: huggingface_hub>=0.25; extra == "hub"
|
|
44
|
+
Provides-Extra: all
|
|
45
|
+
Requires-Dist: chromapi[audio]; extra == "all"
|
|
46
|
+
Requires-Dist: chromapi[sim]; extra == "all"
|
|
47
|
+
Requires-Dist: chromapi[rl]; extra == "all"
|
|
48
|
+
Requires-Dist: chromapi[hub]; extra == "all"
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
|
|
51
|
+
<p align="center">
|
|
52
|
+
<img alt="Chromapi logo" src="https://media.githubusercontent.com/media/Mowibox/chromapi/main/assets/chromapi_logo.png" width="220">
|
|
53
|
+
</p>
|
|
54
|
+
|
|
55
|
+
<h1 align="center">Chromapi</h1>
|
|
56
|
+
|
|
57
|
+
<p align="center">
|
|
58
|
+
<em>An open-source 12-DoF quadruped robot that I design and build on my own.</em>
|
|
59
|
+
</p>
|
|
60
|
+
|
|
61
|
+
<p align="center">
|
|
62
|
+
<a href="https://mowibox.github.io/chroma/en/chromapi/">Documentation</a> ·
|
|
63
|
+
<a href="https://github.com/Mowibox/chromapi/tree/main/examples">Examples</a> ·
|
|
64
|
+
<a href="https://discord.gg/SUQTs6QV3M">Discord</a> ·
|
|
65
|
+
<a href="#contributions">Contributing</a>
|
|
66
|
+
</p>
|
|
67
|
+
|
|
68
|
+
<p align="center">
|
|
69
|
+
<img alt="Chromapi software" src="https://custom-icon-badges.demolab.com/badge/Chromapi-software-a957f9?logo=chromapi">
|
|
70
|
+
<img alt="Python 3.12+" src="https://img.shields.io/badge/Python-3.12+-blue?logo=python">
|
|
71
|
+
<a href="https://github.com/Mowibox/chromapi/actions/workflows/lint.yml"><img alt="CI: Linters" src="https://github.com/Mowibox/chromapi/actions/workflows/lint.yml/badge.svg"></a>
|
|
72
|
+
<a href="https://github.com/Mowibox/chromapi/actions/workflows/pytest.yml"><img alt="CI: Unit Tests" src="https://github.com/Mowibox/chromapi/actions/workflows/pytest.yml/badge.svg"></a>
|
|
73
|
+
<img alt="Issues" src="https://img.shields.io/github/issues/Mowibox/chromapi">
|
|
74
|
+
<img alt="Stars" src="https://img.shields.io/github/stars/Mowibox/chromapi?style=social">
|
|
75
|
+
</p>
|
|
76
|
+
|
|
77
|
+
<p align="center">
|
|
78
|
+
<img alt="Chromapi dancing" src="https://media.githubusercontent.com/media/Mowibox/chromapi/main/assets/chromapi.gif"/>
|
|
79
|
+
</p>
|
|
80
|
+
|
|
81
|
+
## Getting started
|
|
82
|
+
|
|
83
|
+
Three ways in, each detailed on the [Chroma website](https://mowibox.github.io/chroma/en/chromapi/):
|
|
84
|
+
|
|
85
|
+
* **Build the robot:** print the parts and order the components from the [Bill of Materials](https://mowibox.github.io/chroma/en/chromapi/build/robot-bom/), then follow the [build guide](https://mowibox.github.io/chroma/en/chromapi/build/).
|
|
86
|
+
* **Set up a robot you have built:** flash the Chromapi OS image on a microSD card with Raspberry Pi Imager ([installation](https://mowibox.github.io/chroma/en/chromapi/getting-started/installation/)), then follow the [first start steps](https://mowibox.github.io/chroma/en/chromapi/getting-started/first-start/) and drive it from your phone with the [web app](https://mowibox.github.io/chroma/en/chromapi/getting-started/web-app/).
|
|
87
|
+
* **Program it, with or without a robot:** install the SDK below and start in [simulation](https://mowibox.github.io/chroma/en/chromapi/developing/simulation/).
|
|
88
|
+
|
|
89
|
+
### Installation
|
|
90
|
+
|
|
91
|
+
Requires Python 3.12 or later.
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
pip install "chromapi[all]" # or, in a uv project: uv add "chromapi[all]"
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Extras: `audio` enables sounds on the robot, `sim` installs MuJoCo for simulation, `rl` installs ONNX Runtime to run trained policies *(coming soon!)*, and `hub` downloads moves from Hugging Face datasets.
|
|
98
|
+
|
|
99
|
+
To contribute or run the examples, install from source instead:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
git clone https://github.com/Mowibox/chromapi
|
|
103
|
+
cd chromapi
|
|
104
|
+
uv sync --all-extras # or: pip install -e ".[all]"
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
### In simulation
|
|
108
|
+
|
|
109
|
+
```python
|
|
110
|
+
from chromapi.chromapi import Chromapi
|
|
111
|
+
|
|
112
|
+
with Chromapi(backend="mujoco", launch_viewer=True) as robot:
|
|
113
|
+
robot.wake_up(wait=True)
|
|
114
|
+
robot.walk_distance(0.3) # [m]
|
|
115
|
+
robot.rest()
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
More demos are in [`examples/`](https://github.com/Mowibox/chromapi/tree/main/examples). Each example runs on the robot, or in MuJoCo with `--sim`.
|
|
119
|
+
|
|
120
|
+
To keep a Chromapi simulation open between runs of your script, start the simulation window on its own, then use `backend="sim-server"`:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
chromapi sim # In a terminal: launches the simulation and its window (--headless: no window)
|
|
124
|
+
python my_script.py # In another terminal: Chromapi(backend="sim-server")
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### On the real robot
|
|
128
|
+
|
|
129
|
+
On the Raspberry Pi, once the [motherboard firmware](https://github.com/Mowibox/chromapi_motherboard) is flashed:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
chromapi motors setup # interactive: set each servo's ID, one servo at a time
|
|
133
|
+
chromapi calibrate servos --all # find each servo's center from its mechanical stops (lift the robot first)
|
|
134
|
+
chromapi calibrate imu # measure the IMU board tilt, robot still on a level floor
|
|
135
|
+
chromapi health # what is wrong with the robot, and what to do about it
|
|
136
|
+
chromapi version # SDK, firmware and bridge protocol versions
|
|
137
|
+
chromapi flash # update the motherboard firmware (lay the robot down first)
|
|
138
|
+
chromapi report # support report to attach to a message on Discord
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
`chromapi --help` lists every command (`python -m chromapi` works too).
|
|
142
|
+
|
|
143
|
+
`chromapi run` starts the robot and its web app, at `https://<robot-name>.local:5000` (or `https://<robot-ip>:5000`) from a phone or a PC on the same network.
|
|
144
|
+
|
|
145
|
+
The same code then runs on the robot with `Chromapi(backend="hardware")`, which talks to the motherboard over UART.
|
|
146
|
+
|
|
147
|
+
## Project overview
|
|
148
|
+
|
|
149
|
+
| Resource | Description | Location | Status |
|
|
150
|
+
| :--- | :--- | :--- | :--- |
|
|
151
|
+
| **📋 Bill of Materials** | Complete hardware, electronics, and 3D-printed parts list to build Chromapi from scratch. | [Chroma Website](https://mowibox.github.io/chroma/en/chromapi/build/robot-bom/) | **Available** |
|
|
152
|
+
| **💻 Software API** | Python control framework, hardware interfaces, and kinematic solvers. | [`/src/chromapi`](https://github.com/Mowibox/chromapi/tree/main/src/chromapi) | **v1 Available** |
|
|
153
|
+
| **📐 CAD Model** | 3D mechanical design and robot assembly workspace. | [Onshape Document](https://cad.onshape.com/documents/3b2f6609101a115f427bb3a2/w/dda5699ddfe216cfbe74c22b/e/50bb405a7750d04ab1c412db?renderMode=0&uiState=6a7266a5caff22fc791d5f8b) | **Available** |
|
|
154
|
+
| **📖 Documentation** | Getting started, build guide, SDK tutorials, hardware specifications and communication protocol. | [Chroma Website](https://mowibox.github.io/chroma/en/chromapi/) | **Available** |
|
|
155
|
+
| **🛠️ Hardware Utilities** | `chromapi` command: health check, servo setup and calibration tools. | [`/src/chromapi/utils`](https://github.com/Mowibox/chromapi/tree/main/src/chromapi/utils) | **Available** |
|
|
156
|
+
| **🤖 Simulation Models** | URDF and MJCF models for MuJoCo simulation. | [`/src/chromapi/model`](https://github.com/Mowibox/chromapi/tree/main/src/chromapi/model) | **Available** |
|
|
157
|
+
| **⚡ Electronics** | Custom PCB files, schematics, and low-level firmware. | [`chromapi_motherboard` repository](https://github.com/Mowibox/chromapi_motherboard) | **Available** |
|
|
158
|
+
|
|
159
|
+
## Authors
|
|
160
|
+
|
|
161
|
+
| |
|
|
162
|
+
| :---: |
|
|
163
|
+
| <img src="https://github.com/Mowibox.png" width="100"> |
|
|
164
|
+
| [**Ousmane THIONGANE**](https://mowibox.github.io) |
|
|
165
|
+
|
|
166
|
+
## Sponsors & Acknowledgements
|
|
167
|
+
|
|
168
|
+
This project has been made possible thanks to the sponsors listed below. Their contributions in manufacturing, assembly, and prototyping have greatly accelerated the development of Chromapi.
|
|
169
|
+
|
|
170
|
+
<div align="center">
|
|
171
|
+
|
|
172
|
+
| | |
|
|
173
|
+
| :---: | :---: |
|
|
174
|
+
| <a href="https://www.pcbway.com"><img src="https://media.githubusercontent.com/media/Mowibox/chromapi/main/assets/pcbway.jpg" width="150" alt="PCBWay"></a> | <a href="https://www.ensea.fr"><img src="https://media.githubusercontent.com/media/Mowibox/chromapi/main/assets/ensea.jpg" width="150" alt="ENSEA"></a> |
|
|
175
|
+
| [**PCBWay**](https://www.pcbway.com) | [**ENSEA**](https://www.ensea.fr) |
|
|
176
|
+
| PCB Manufacturing & Assembly | 3D Printing & Prototyping |
|
|
177
|
+
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
> Huge thanks to everyone who gave me feedback on Chromapi's design, shared ideas, or simply took the time to brainstorm with me. This project wouldn't be where it is today without your help!
|
|
183
|
+
|
|
184
|
+
## Contributions
|
|
185
|
+
|
|
186
|
+
Contributions are always welcome!
|
|
187
|
+
|
|
188
|
+
* **Report Issues:** Found an error or have a feature request? Create a new issue [here](https://github.com/Mowibox/chromapi/issues/new/choose).
|
|
189
|
+
* **Fix Bugs & Add Features:** Find out where you can lend a hand by checking out [existing issues](https://github.com/Mowibox/chromapi/issues).
|
|
190
|
+
|
|
191
|
+
Before opening a pull request, don't forget to run the linters and unit tests: `uv run ruff check . && uv run mypy && uv run pytest`.
|
|
192
|
+
|
|
193
|
+
_By submitting a contribution, you agree that it is published under the license of the part it belongs to._
|
|
194
|
+
|
|
195
|
+
## Citation
|
|
196
|
+
|
|
197
|
+
If you use Chromapi in your research, please cite it as below:
|
|
198
|
+
|
|
199
|
+
```bibtex
|
|
200
|
+
@software{othiongane_chromapi,
|
|
201
|
+
author = {Thiongane, Ousmane},
|
|
202
|
+
title = {Chromapi: an open-source 12-DoF quadruped robot},
|
|
203
|
+
month = nov,
|
|
204
|
+
year = {2026},
|
|
205
|
+
version = {1.0.0},
|
|
206
|
+
url = {https://github.com/Mowibox/chromapi}
|
|
207
|
+
howpublished = "\url{https://github.com/Mowibox/chromapi}",
|
|
208
|
+
}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## License
|
|
212
|
+
|
|
213
|
+
This repository is multi-licensed:
|
|
214
|
+
|
|
215
|
+
| Part | Path | License |
|
|
216
|
+
| :--- | :--- | :--- |
|
|
217
|
+
| Software (Python SDK, tools, tests, Raspberry Pi setup) | [`/src`](https://github.com/Mowibox/chromapi/tree/main/src), [`/tests`](https://github.com/Mowibox/chromapi/tree/main/tests), [`/deploy`](https://github.com/Mowibox/chromapi/tree/main/deploy) | [Apache 2.0](https://github.com/Mowibox/chromapi/blob/main/LICENSE) |
|
|
218
|
+
| Robot description (URDF, MJCF, configuration files) | [`/src/chromapi/model`](https://github.com/Mowibox/chromapi/tree/main/src/chromapi/model) | [Apache 2.0](https://github.com/Mowibox/chromapi/blob/main/LICENSE) |
|
|
219
|
+
| 3D meshes (`.stl`, `.part`) | [`/src/chromapi/model/*/assets`](https://github.com/Mowibox/chromapi/tree/main/src/chromapi/model) | [CC BY-NC-SA 4.0](https://github.com/Mowibox/chromapi/blob/main/src/chromapi/model/LICENSE) |
|
|
220
|
+
| Documentation and media (README, images, GIFs) | [`/assets`](https://github.com/Mowibox/chromapi/tree/main/assets), this README | [CC BY-NC-SA 4.0](https://github.com/Mowibox/chromapi/blob/main/src/chromapi/model/LICENSE) |
|
|
221
|
+
|
|
222
|
+
**Third-party content keeps its own license:** meshes of off-the-shelf parts (Raspberry Pi 4, IMX219 camera, Noctua NF-A4x10 fan, WS2812B ring, 18650 battery, speaker, microswitch, power switch, connectors, screws) come from their respective manufacturers. The ENSEA and PCBWay logos in [`/assets`](https://github.com/Mowibox/chromapi/tree/main/assets) are trademarks of their respective owners.
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
chromapi/__init__.py,sha256=7sHTwX5WN0tUKVX85ALZ7CNm_Nxk9wL7Q3QnmpA55p8,54
|
|
2
|
+
chromapi/__main__.py,sha256=6O2xOqZ3QprJPvZqh7gCz1bmGWkSUMgZR3jbr6dLoY4,141
|
|
3
|
+
chromapi/chromapi.py,sha256=XNegu4T42EGDcd8igzslWxT6Uka8CSsxCDlfvSt5n_g,65598
|
|
4
|
+
chromapi/cli.py,sha256=xpP13FtcDNoguOjkr_SjdmCVgWLmMgoFP8oMIqkq3KM,4683
|
|
5
|
+
chromapi/assets/favicon.ico,sha256=PjaDA1cCoKI6G7UBIMZEeKowiKhPBqlYmTckbdECfhg,12679
|
|
6
|
+
chromapi/assets/audio/alert.wav,sha256=d7GO4t3qd3023poP0u5yX_4WrKWoV0UiYsX72SdBL6s,32682
|
|
7
|
+
chromapi/assets/audio/chromapi_scream.wav,sha256=YbS8Ddo7kfrlGhKZfyYlsznUjGLgUTJ39kr5O0eg6TA,98348
|
|
8
|
+
chromapi/assets/audio/confused.wav,sha256=ktkajOn5e4wtRZdBWkg9rPaKEospR7N5lYZ69DG3070,32116
|
|
9
|
+
chromapi/assets/audio/dizzy.wav,sha256=uMSIC_vyyhk84pKtosDYWq7Si4Kf0mnCG6nog00_t4w,112510
|
|
10
|
+
chromapi/assets/audio/excited.wav,sha256=DFdh423HwU4lOO5Nf4AQjImkucd9u_H43VQ8sA538E4,69046
|
|
11
|
+
chromapi/assets/audio/greeting.wav,sha256=mEwAE11fsxV_LtyTS2wJukpMqHgI_Nw1qOmWxg20Kn8,37400
|
|
12
|
+
chromapi/assets/audio/happy.wav,sha256=SZp5mT1g0LTrIsbB1RWKzGST67bfMcdI09Gkg9bbMv4,36760
|
|
13
|
+
chromapi/assets/audio/no.wav,sha256=LqmhueHc2OSikfYwRz3Dz1RpJMmGwhXV4bs2Pa7fXck,46388
|
|
14
|
+
chromapi/assets/audio/purring.wav,sha256=QSggCuL28eWzcU7jfhRWEVVuURzIWVVoG1hOEyMsTEk,97064
|
|
15
|
+
chromapi/assets/audio/sad.wav,sha256=eAYKhmahwirnypdM2yWt-Ytxh2ZqVSLj1RnFBoCFqRY,119114
|
|
16
|
+
chromapi/assets/audio/scared.wav,sha256=DZgz_37V0jIS3srCcpcPXJtgqqg_2qZIalsUm_qttV4,83834
|
|
17
|
+
chromapi/assets/audio/sleepy.wav,sha256=u6t6kGEkP4EMwK2N5eL3QRSqks2jhUJ0YMLgCA7SqrQ,127444
|
|
18
|
+
chromapi/assets/audio/squeak.wav,sha256=vTM2Q_9eBeyFNaH3HveRTgah_RVg3_LYJtvcJKQkNeQ,30240
|
|
19
|
+
chromapi/assets/audio/surprised.wav,sha256=LPWRj0fjcRkY9tgkK_JqswwP7W7XhtzaqtIb7Zg-_wg,17684
|
|
20
|
+
chromapi/assets/audio/thinking.wav,sha256=wkO6i3kH-QIQA090nUje4tulLFjPouJ-Wyfro2F7Wqc,160408
|
|
21
|
+
chromapi/assets/audio/upset.wav,sha256=8HE3CXap6tIEVeAmSd0VlYY08NvZEM62qWCn9Ml1Ufk,81850
|
|
22
|
+
chromapi/assets/audio/yes.wav,sha256=S6liG33vrPOYhvoKWHc2Qm_NeJBLlY0g93jpBThS15A,40700
|
|
23
|
+
chromapi/assets/firmware/chromapi_stm32_core_v2.0.0.hex,sha256=X7QwkGWau7jGABA2xnqs3av7VddkmABWO49JGGcJEWA,99794
|
|
24
|
+
chromapi/assets/firmware/flash.sh,sha256=oNYbrSR2YJAmFud3olJO4vcwVzuQToF_BrLXq0ph0lE,3052
|
|
25
|
+
chromapi/assets/moves/README.md,sha256=AXOIlb2cFuGyr05xNAJBm3tWaiUbU045aonHvpo_5nA,1655
|
|
26
|
+
chromapi/assets/moves/angry.json,sha256=pRzedW3CU68rdsVDSYB17KIw6_189ZSJXYPwLLPh1dE,5270
|
|
27
|
+
chromapi/assets/moves/confused.json,sha256=hUScMEBgsOMN_TzathtFqZ3OS_4Vzki7dyzcCusk8m4,7024
|
|
28
|
+
chromapi/assets/moves/dizzy.json,sha256=aQjIXFgQWdXYanRjAUg1Jf61uOJ9gY4p2YEwJ6pgHeA,9074
|
|
29
|
+
chromapi/assets/moves/excited.json,sha256=hf_fRjO20cwNult79U5MU_dTRHhM8_vPs21mT8M43Ks,3766
|
|
30
|
+
chromapi/assets/moves/greeting.json,sha256=ByN3pmFn1WLHZ2UKB705MWKZYd-PexVJo37UNn324uM,4553
|
|
31
|
+
chromapi/assets/moves/happy.json,sha256=fJusiZRpH-yBt2hJBS7RASo_2vjeqCDhwNgFxwxAXG8,4023
|
|
32
|
+
chromapi/assets/moves/joy.json,sha256=WiY_DzEwHUYeL-R-fhV2Lcf0XovvScoqMbrsOoc97Ds,5567
|
|
33
|
+
chromapi/assets/moves/kick.json,sha256=e2OKeQmwSrKinooo0_7GuQUDEqNWzYFX6I0ls2rojaY,2435
|
|
34
|
+
chromapi/assets/moves/metadata.jsonl,sha256=jsk9HEOJKbWu--ZML5MUIBPy4AyGYJRTjrTXGBLiXsI,1951
|
|
35
|
+
chromapi/assets/moves/no.json,sha256=1iO9bEt6hltGphVEnegS95H_OuznGDYuUU5h2cUnhkg,3812
|
|
36
|
+
chromapi/assets/moves/purring.json,sha256=Oh1PIX0DIL3MleUZsyDveV7mr1LpVHNP-RUlwZiFPBA,8659
|
|
37
|
+
chromapi/assets/moves/sad.json,sha256=f_AZ07cppCOBZns6NTRceB_YYGtKZQcHbObQ5YYsgks,6574
|
|
38
|
+
chromapi/assets/moves/scared.json,sha256=z2AXaI84yPZ2j1y4ZDhgVWbtOeJ9fOQp9zWLreUbpoo,6049
|
|
39
|
+
chromapi/assets/moves/surprised.json,sha256=L7b_FpaDY6DRQUZur8fdeh0mqR3te8M_0N4Z399rkTk,3323
|
|
40
|
+
chromapi/assets/moves/tired.json,sha256=k2scMbhJOn6CK1jAtdpwjHRef-fgUvKO9kiVYjPA1fw,9660
|
|
41
|
+
chromapi/assets/moves/yes.json,sha256=IwRFCQQ0vUe5kl6HcdB4ZZaUeyP3zQrLn40m7nZNuFA,3311
|
|
42
|
+
chromapi/config/config.yaml,sha256=3mb6IsEy8v7Xu2AC0Np7d47n6yI-pZmhQGhZwQWcmDg,2374
|
|
43
|
+
chromapi/estimation/__init__.py,sha256=1U-a5fWo0fNGDs5pNvZJGhhKQmV_M_UG6GZGSOcfy1w,253
|
|
44
|
+
chromapi/estimation/attitude.py,sha256=WprZ6Bd2ZmsgeJbyvbDovEIG9JY9KxxAk9tnbbfZjgw,3769
|
|
45
|
+
chromapi/hardware/__init__.py,sha256=EbVrFOHMtlG21lLUwRv0Ty-kM8KEMk_gdRhqX7h0Y2k,73
|
|
46
|
+
chromapi/hardware/battery.py,sha256=teU8GfeyNvE8xwQnogNIKqgOYlcm7vxu9sP4ynApNf0,2241
|
|
47
|
+
chromapi/hardware/fan.py,sha256=JYAO3o5nwf9kt3OqY0CO-4EnthiF9dLCIBFp1-2_ohk,6509
|
|
48
|
+
chromapi/hardware/motherboard_bridge.py,sha256=Ta-52UpknUDD4rYlLv5enORje9Ngl29_ZmOx4MRM3Lg,15492
|
|
49
|
+
chromapi/input/__init__.py,sha256=9xXnTzxWm_-O-bG2D2lYw_lr_VUfH2uE3909_yWtcOk,78
|
|
50
|
+
chromapi/input/gamepad.py,sha256=l9-Rsnt37uZeC7eWJRfXQO-xKH4nzucawuityEZS1Nw,16337
|
|
51
|
+
chromapi/input/pairing.py,sha256=HzMXVMBMA60jMJji4i6F7yxkkUVn6bgD6UiDv_opPHk,4046
|
|
52
|
+
chromapi/kinematics/__init__.py,sha256=CPe34mAc97UR0u-W1vTk1Nx1GVwmBpmalghiKM2uXMs,588
|
|
53
|
+
chromapi/kinematics/kromatics.py,sha256=_buFcxbyf_Gh1Om0g_wezOoYeSq7FrtLB158lplYFNc,12388
|
|
54
|
+
chromapi/kinematics/poses.py,sha256=JdTTANv_nuB0V-cVctjUbtWg6tPftyrSsQGPczX8SRw,1031
|
|
55
|
+
chromapi/kinematics/topology.py,sha256=sVD_VW_wMFcEJBprKR4-4qj7YSILZlBp6vxZ__Fi_Ac,807
|
|
56
|
+
chromapi/kinematics/types.py,sha256=0psYqEWOey087KXtFckFxRHZcq7gdMlgWq4FGSasKFs,644
|
|
57
|
+
chromapi/locomotion/__init__.py,sha256=ueCuoB6QeKoMiW3d6uGQbdMyPZxlB-Kqctn8etaSN3M,313
|
|
58
|
+
chromapi/locomotion/balance.py,sha256=hl7HtPyoFwH7L149DZNOc5g8WIICQ-sQsrGThx42cio,12967
|
|
59
|
+
chromapi/locomotion/gait.py,sha256=b1sFu5ZNX4QaLw61qY-dIYtZE0wf7Rn_FOkRIYfj-Bg,27285
|
|
60
|
+
chromapi/locomotion/recorded_move.py,sha256=XbY0PEKrUgPTTNjG5JIv1z7XW3H7B2s38LJVs1h4W7o,13937
|
|
61
|
+
chromapi/media/__init__.py,sha256=lY4W00d9gi_kUOXPwLjA0Pbu1am5PJErGgoXKtA3T7A,71
|
|
62
|
+
chromapi/media/audio.py,sha256=2NcbPkdiRQ0qe7mJNLlNkuI5F288EGVddEaQI2r45qo,18185
|
|
63
|
+
chromapi/media/led.py,sha256=GfFsBX7cxDdg4qLigHn2AtRVj223Y9wCZ9zS7m2B5Kk,17778
|
|
64
|
+
chromapi/model/LICENSE,sha256=5mwmnUgZqqs0tJ71IgxN2rZ1byG7UYB2Gk64Vh8re70,20850
|
|
65
|
+
chromapi/model/mjcf/additional.xml,sha256=hyaJ7Xu7sqfvyjJvZfW19nevD_e9bX0YgtuCEltdnro,775
|
|
66
|
+
chromapi/model/mjcf/config.json,sha256=73_iCiRUO6SjcsCMGwClsPFBWSF3dYsK_FzmvYcia-s,405
|
|
67
|
+
chromapi/model/mjcf/robot.xml,sha256=_mr75UWqkLt79hIwsu4OsH7iiqyNNijLu3jkvZojpyg,72466
|
|
68
|
+
chromapi/model/mjcf/scene.xml,sha256=pzrx65F-LMH2Kfer08gK4m_Qgcu2TmQ4YjLN7m3DqCY,935
|
|
69
|
+
chromapi/model/mjcf/assets/18650_li_ion_battery.msh,sha256=NN12_5Dses-0no5PkrPNDa3CGVXFJVUsGBtN4lm91Tk,279112
|
|
70
|
+
chromapi/model/mjcf/assets/18650_li_ion_battery.part,sha256=EK1jSLcrRvWc6agaseYz7rmTRznIDKo0aehaMLPPIy8,386
|
|
71
|
+
chromapi/model/mjcf/assets/battery_holder.msh,sha256=GdmwFgqSrI0gFfaPd_P098tcCmKAfMPwRbtrsQm05JE,966856
|
|
72
|
+
chromapi/model/mjcf/assets/battery_holder.part,sha256=vj0YBlviggl-lm55fj7iA8t3DkNxpQaVZTHf0UdbDOY,380
|
|
73
|
+
chromapi/model/mjcf/assets/camera_imx219_d160.msh,sha256=lod237AIXR-BwKFEMNkfr6uC_Ie4ddXDmduU7ZMEkZ0,220000
|
|
74
|
+
chromapi/model/mjcf/assets/camera_imx219_d160.part,sha256=14hofa4AvCzk6h1fO790SiJgvtYxsd3-RAKVeYjSAXg,384
|
|
75
|
+
chromapi/model/mjcf/assets/chromapi_logo.msh,sha256=_ZcWXgMvLa1GLWqLdGWxxOFOvWZxYYvBhVB96qczaEc,27736
|
|
76
|
+
chromapi/model/mjcf/assets/chromapi_logo.part,sha256=9PEEXmTLRSNE-sT-au29_X0o-osOb07vecTJJYoeWA8,379
|
|
77
|
+
chromapi/model/mjcf/assets/chromapi_logo_circle.msh,sha256=xL-J1zGR7paihn360Dpb4rW0k6Bjk8ps3_HDctc5__g,10432
|
|
78
|
+
chromapi/model/mjcf/assets/chromapi_logo_inner.msh,sha256=cxW-1tj_CzwQKIgr9o97LKJkObwHckvFcjU-HFGKc7s,14416
|
|
79
|
+
chromapi/model/mjcf/assets/chromapi_logo_outer.msh,sha256=gRV7QuJXXLgMAWMAkpy2wOvSbXwi_9rPhdpHKFPmEM4,5152
|
|
80
|
+
chromapi/model/mjcf/assets/chromapi_motherboard.msh,sha256=h4fEERx0FnkX1WFG4FOMP-MugIVEUlbmNLWOY-FjieE,974512
|
|
81
|
+
chromapi/model/mjcf/assets/chromapi_motherboard.part,sha256=NZj8KZdmeBKsVJ6z88KfOeVIsyfkdOTKWWzUpx5Dqs4,386
|
|
82
|
+
chromapi/model/mjcf/assets/composant2_1__corps1.msh,sha256=Yphn28b7Zfszv_z-EeeYpPZoCy9XmcTNAg6XcrEMU68,757696
|
|
83
|
+
chromapi/model/mjcf/assets/composant2_1__corps1.part,sha256=neLhsDuuvwlc9cSpJz4dcuk2KdlPDL2mbTUwbxHRuGg,386
|
|
84
|
+
chromapi/model/mjcf/assets/composant3_1__corps1.msh,sha256=CrGOM5uP6nu2lZRHtLCpQy4RXJcP2beqaABoOu1rGdc,799024
|
|
85
|
+
chromapi/model/mjcf/assets/composant3_1__corps1.part,sha256=nh06QjnpNlezuxITF6kOo2Fr5TzSARKLzgCEwgBfnnw,386
|
|
86
|
+
chromapi/model/mjcf/assets/composant4_1__corps1.msh,sha256=P4B2gIWX0ZUQGzHCz2q4I6rTUMDwmatPD7zNU60LTwQ,467752
|
|
87
|
+
chromapi/model/mjcf/assets/composant4_1__corps1.part,sha256=CZF20JCSzIDPL9jEHYff8eGeaVcbF1s9mBhMW1Hlyt8,386
|
|
88
|
+
chromapi/model/mjcf/assets/connector_f_1__corps1.msh,sha256=SBBGDMOCZZBZOizniEysOdlrYMXSxyPdft68cHsfzT4,73168
|
|
89
|
+
chromapi/model/mjcf/assets/connector_f_1__corps1.part,sha256=7Di7D83XkXD8CrU74qeTaeSgrwEMDaeUIBvpnCRykhs,387
|
|
90
|
+
chromapi/model/mjcf/assets/connector_f_1__corps1_1.msh,sha256=_5Cdk_BiocTVojgfBFT7C6xvb2CBY-Nt9dbMMYBdM5A,73168
|
|
91
|
+
chromapi/model/mjcf/assets/connector_f_1__corps1_1.part,sha256=DWBtb7niDjkWzNXWXwn7dESuYyDeQsVBTPE5ltMmo24,389
|
|
92
|
+
chromapi/model/mjcf/assets/corps14.msh,sha256=5ZGEQI7d6RAavbLJzuQt7frnzR7QbwDO0OXQ96iV-aQ,420160
|
|
93
|
+
chromapi/model/mjcf/assets/corps14.part,sha256=8KoU2ltXejrtq9-SF0Mv4aNfAs_CA9LeAc1PsOAccGw,373
|
|
94
|
+
chromapi/model/mjcf/assets/fan_nf_a4x10.msh,sha256=VgSGD0UQOUFmtyUiSMCmGdFP0PGzDMYUez3VZMJveSo,660976
|
|
95
|
+
chromapi/model/mjcf/assets/fan_nf_a4x10.part,sha256=QrMlFg9oyHqFO-MHmajiEM0uwLvhhBnvcaHayJTsdEo,378
|
|
96
|
+
chromapi/model/mjcf/assets/foot.msh,sha256=CdduRbxkDyIPR-kFWGIXomrMzhcKik5Lvd3X_JYqVHA,187912
|
|
97
|
+
chromapi/model/mjcf/assets/foot.part,sha256=qj_7iyo6Uu6K8z9ilEmVuQUwaudUONFr7RxsUkDOpNE,370
|
|
98
|
+
chromapi/model/mjcf/assets/left_coxa.msh,sha256=47_Q6pLTb8F9TskCRO9PhU66YiEEF_eZjC7Veq9tZJQ,406480
|
|
99
|
+
chromapi/model/mjcf/assets/left_coxa.part,sha256=pj5fNZDYZeeNBYJw9_-dOKiRDiEDK4OSXax3Qba5fzQ,375
|
|
100
|
+
chromapi/model/mjcf/assets/left_femur.msh,sha256=d7fYh70Z6TM3zznCWLUsNOSkrJRdBgB7sbDrJEG1FxU,450160
|
|
101
|
+
chromapi/model/mjcf/assets/left_femur.part,sha256=F74ym5bQqATjpiUlwTi8K0K8hwflBkmZdP2K7D4uKKw,376
|
|
102
|
+
chromapi/model/mjcf/assets/left_tibia.msh,sha256=cNsZjAUuxcFxFHvTHtjnBxE0cXN-hkr4MxkjxYPjVR4,350776
|
|
103
|
+
chromapi/model/mjcf/assets/left_tibia.part,sha256=yQCAf6wvKTpPNu3tB7jgQ3KoITK1RAriqntYBFyyAk0,376
|
|
104
|
+
chromapi/model/mjcf/assets/microswitch.msh,sha256=7wEdqZUqMZ_5SH7fK-hjJ-7k5aqCJywWlrYMxhU0f7I,187888
|
|
105
|
+
chromapi/model/mjcf/assets/microswitch.part,sha256=43YxqBJJrKOO5B0no7Ngax2ejzmE1Xs2J31FmEp5Lr8,377
|
|
106
|
+
chromapi/model/mjcf/assets/power_switch.msh,sha256=6L2xTYpP__MU9DNk82OUFJwsXCAisuJomyD02gJIrHc,134752
|
|
107
|
+
chromapi/model/mjcf/assets/power_switch.part,sha256=jZj7GdgVO6WbDx4MmEEHNJUXe_nEiQswPddf6C3PRX4,378
|
|
108
|
+
chromapi/model/mjcf/assets/raspberry_pi_4_model_b.msh,sha256=Y8Nc4W3Li63LG7OXeIsO-5WJw6RbXDEVae_YLSh3zok,988552
|
|
109
|
+
chromapi/model/mjcf/assets/raspberry_pi_4_model_b.part,sha256=njnbGI8RQmasrbAnvksUXzZntYXsnW8SjyrF3Gytnjg,388
|
|
110
|
+
chromapi/model/mjcf/assets/right_coxa.msh,sha256=T9u8YMzlwTK_NyUEWY5t2xtyrMtsjGPxAa3cfB0IBjM,406480
|
|
111
|
+
chromapi/model/mjcf/assets/right_coxa.part,sha256=f1yXL--C6R3dz3u_hWFaJN9sicQer1eD9Z9ecN74Hjg,377
|
|
112
|
+
chromapi/model/mjcf/assets/right_femur.msh,sha256=VNg-Tpj9cH_h05YngZ2haWbCSyQTbZfRqGw6AdPo-Po,450160
|
|
113
|
+
chromapi/model/mjcf/assets/right_femur.part,sha256=c4SVGondzQPGb57WTO92PCmd1Q1vQaRVrSse-ZUV1o4,378
|
|
114
|
+
chromapi/model/mjcf/assets/right_tibia.msh,sha256=peZAgdSRGufnN9ggICYuF_RpTwQm1oRzQ5mBs29F77s,350776
|
|
115
|
+
chromapi/model/mjcf/assets/right_tibia.part,sha256=uOmR50l8ZvPGKbuN4rua2Z4y-xpSh5vlaIVBiDkxIic,378
|
|
116
|
+
chromapi/model/mjcf/assets/robot_case_bottom.msh,sha256=V__2x_q6yHL1aB1teoSny15lQ7gH_7VHLit8YQzMqoQ,288568
|
|
117
|
+
chromapi/model/mjcf/assets/robot_case_bottom.part,sha256=9dYy4uz99_SSQ9Vt6OXz4sV1m6plCW47Dx_ccHugWDI,383
|
|
118
|
+
chromapi/model/mjcf/assets/robot_case_top.msh,sha256=Yg6csfKca1mHlafW5nyD2HT1AHhTP7O9Lcdl3MO5Syg,745456
|
|
119
|
+
chromapi/model/mjcf/assets/robot_case_top.part,sha256=ZlU8MEr8dIQxbMrS3qR7A8kZMu17iUkrrHKBI2cHvc8,380
|
|
120
|
+
chromapi/model/mjcf/assets/rpi_battery_bracket.msh,sha256=nJvbEf43pF9R-md7O6-H3ZLE3rIFcpHm_yAw3AO0Yng,115648
|
|
121
|
+
chromapi/model/mjcf/assets/rpi_battery_bracket.part,sha256=IqtFBqN9e8bsgaKWiccJeku3Mf8VZu1cmdOt12389FU,385
|
|
122
|
+
chromapi/model/mjcf/assets/speaker.msh,sha256=7Zwe8q0C88oBLxZYZauAPCe6ObE4x5Jhp2IMhdSuDXA,327280
|
|
123
|
+
chromapi/model/mjcf/assets/speaker.part,sha256=V8S_kdGUncfbxTZgL_6ch5ixcP5QIAt1q3Q0LEIwZVk,373
|
|
124
|
+
chromapi/model/mjcf/assets/vis_1__corps1.msh,sha256=R8NjU840DjQK6ekb9WS1hYx7S5Wed_HnmO0bnlAGK2c,89200
|
|
125
|
+
chromapi/model/mjcf/assets/vis_1__corps1.part,sha256=iVs1aHU_CcYrJrv8V8KyRpCySBaTcWp7ZsDul9zc9PY,379
|
|
126
|
+
chromapi/model/mjcf/assets/vis_1__corps1_1.msh,sha256=oB81qDzkHKyK0AMaPmeXYZWlFWzHHGt8wA3KeGceWy4,89296
|
|
127
|
+
chromapi/model/mjcf/assets/vis_1__corps1_1.part,sha256=Fr_y35aM_i43WUNNtKDDUjrnggGNtNt4nV9QasYDq-c,381
|
|
128
|
+
chromapi/model/mjcf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.msh,sha256=9bmd8bMAjtkoW6SfWHqK7trxi3hcqDkMMqHOh69jHzI,143536
|
|
129
|
+
chromapi/model/mjcf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.part,sha256=_98E8etm3HNVPhiwjb9iCmKrnicK6ROKKVj5L4kTukE,448
|
|
130
|
+
chromapi/model/mjcf/assets/ws2812b_cob_pixel_ring_27mm.msh,sha256=ISImW4AoKGOLLqts9kItxJyLslvqvqm8b7TJKLfbgFY,79504
|
|
131
|
+
chromapi/model/mjcf/assets/ws2812b_cob_pixel_ring_27mm.part,sha256=BRN41Msp1SMpmOxKQzgNBhAeylJRSS6L03jtyGdPcNM,393
|
|
132
|
+
chromapi/model/urdf/config.json,sha256=Al7CBGh9sP94Fb-rxB0aA_amiCRZNSrklloAXIPVruo,273
|
|
133
|
+
chromapi/model/urdf/robot.urdf,sha256=XJA2bJ5zGQ_PmKQ4E2cGgmyShkFEQ6RYei3lPt8_RzQ,96290
|
|
134
|
+
chromapi/model/urdf/assets/18650_li_ion_battery.part,sha256=EK1jSLcrRvWc6agaseYz7rmTRznIDKo0aehaMLPPIy8,386
|
|
135
|
+
chromapi/model/urdf/assets/18650_li_ion_battery.stl,sha256=6lVpDt77vIcs3g1nrht7RS2RGTCLF-Ol5gr0ZIK5hHg,531384
|
|
136
|
+
chromapi/model/urdf/assets/battery_holder.part,sha256=vj0YBlviggl-lm55fj7iA8t3DkNxpQaVZTHf0UdbDOY,380
|
|
137
|
+
chromapi/model/urdf/assets/battery_holder.stl,sha256=TJEfVNiXdhx9G6w7GT4ba9L-AT016-DGZnzfeLDjv_o,1048584
|
|
138
|
+
chromapi/model/urdf/assets/camera_imx219_d160.part,sha256=14hofa4AvCzk6h1fO790SiJgvtYxsd3-RAKVeYjSAXg,384
|
|
139
|
+
chromapi/model/urdf/assets/camera_imx219_d160.stl,sha256=Do6sMzZjPeDXMQ7zu_K3yomNLz5YylRFlbH5vxM1ycs,318584
|
|
140
|
+
chromapi/model/urdf/assets/chromapi_logo.part,sha256=9PEEXmTLRSNE-sT-au29_X0o-osOb07vecTJJYoeWA8,379
|
|
141
|
+
chromapi/model/urdf/assets/chromapi_logo.stl,sha256=XiWmqYTrnBSoS5Ku44im4jvNXMwJvoQpRiGWWkkxB68,38284
|
|
142
|
+
chromapi/model/urdf/assets/chromapi_logo_circle.stl,sha256=ol5tYbewauiHXa46g-hWwEYmpLvI9s5wboRtolMRMUw,14484
|
|
143
|
+
chromapi/model/urdf/assets/chromapi_logo_inner.stl,sha256=bK5HRDQqKim9vPmXb7NSapUbl2ZmNxaUb1xaQY5ZqDI,18684
|
|
144
|
+
chromapi/model/urdf/assets/chromapi_logo_outer.stl,sha256=laAoS1Jwoivbzzpjz274K7V_As4aGJE3r3hELUTBObE,5284
|
|
145
|
+
chromapi/model/urdf/assets/chromapi_motherboard.part,sha256=NZj8KZdmeBKsVJ6z88KfOeVIsyfkdOTKWWzUpx5Dqs4,386
|
|
146
|
+
chromapi/model/urdf/assets/chromapi_motherboard.stl,sha256=d-35HZNozXNrmcElSKK0tKIwHHsde_CaAhr9ATrtLuM,1048584
|
|
147
|
+
chromapi/model/urdf/assets/composant2_1__corps1.part,sha256=neLhsDuuvwlc9cSpJz4dcuk2KdlPDL2mbTUwbxHRuGg,386
|
|
148
|
+
chromapi/model/urdf/assets/composant2_1__corps1.stl,sha256=fPU73ZBmadKJGcnX-GoGpF6YQwzDD6-70xdFetckyvw,1048484
|
|
149
|
+
chromapi/model/urdf/assets/composant3_1__corps1.part,sha256=nh06QjnpNlezuxITF6kOo2Fr5TzSARKLzgCEwgBfnnw,386
|
|
150
|
+
chromapi/model/urdf/assets/composant3_1__corps1.stl,sha256=gjBwbUtrpUZxOIegnwUQ91QkCQMqGmcRmcoI-SQ2GC0,1048584
|
|
151
|
+
chromapi/model/urdf/assets/composant4_1__corps1.part,sha256=CZF20JCSzIDPL9jEHYff8eGeaVcbF1s9mBhMW1Hlyt8,386
|
|
152
|
+
chromapi/model/urdf/assets/composant4_1__corps1.stl,sha256=qRxXz29rEt7ndy7kl8NaJdan7ai4aVZyE3RRDB83G24,639484
|
|
153
|
+
chromapi/model/urdf/assets/connector_f_1__corps1.part,sha256=7Di7D83XkXD8CrU74qeTaeSgrwEMDaeUIBvpnCRykhs,387
|
|
154
|
+
chromapi/model/urdf/assets/connector_f_1__corps1.stl,sha256=VmOdGaj6R2HCrmv2VLcmXHIBbtqJm5ZN15rmspufrZM,97884
|
|
155
|
+
chromapi/model/urdf/assets/connector_f_1__corps1_1.part,sha256=DWBtb7niDjkWzNXWXwn7dESuYyDeQsVBTPE5ltMmo24,389
|
|
156
|
+
chromapi/model/urdf/assets/connector_f_1__corps1_1.stl,sha256=9utM2IwUYbF0FbgMcYW0_UGbThr9HkqeNN7zgZ9FElo,97884
|
|
157
|
+
chromapi/model/urdf/assets/corps14.part,sha256=8KoU2ltXejrtq9-SF0Mv4aNfAs_CA9LeAc1PsOAccGw,373
|
|
158
|
+
chromapi/model/urdf/assets/corps14.stl,sha256=aBsoiLHS3v7wwH1cF6GmOJUHx9pS4N70jjpq-MJpSmg,681284
|
|
159
|
+
chromapi/model/urdf/assets/fan_nf_a4x10.part,sha256=QrMlFg9oyHqFO-MHmajiEM0uwLvhhBnvcaHayJTsdEo,378
|
|
160
|
+
chromapi/model/urdf/assets/fan_nf_a4x10.stl,sha256=zPrxxy59aSQtkldBWGgdIclwncSq_v9AG1k8rpaINJE,987584
|
|
161
|
+
chromapi/model/urdf/assets/foot.part,sha256=qj_7iyo6Uu6K8z9ilEmVuQUwaudUONFr7RxsUkDOpNE,370
|
|
162
|
+
chromapi/model/urdf/assets/foot.stl,sha256=n4XXPdca0qXfZwYO4jFlq5Rb4LZhwVp_gIFjFd06N_I,376484
|
|
163
|
+
chromapi/model/urdf/assets/left_coxa.part,sha256=pj5fNZDYZeeNBYJw9_-dOKiRDiEDK4OSXax3Qba5fzQ,375
|
|
164
|
+
chromapi/model/urdf/assets/left_coxa.stl,sha256=zj929fIv5zvjqjSokM00tXf35QHjjW_XtGEp2wplOo0,610084
|
|
165
|
+
chromapi/model/urdf/assets/left_femur.part,sha256=F74ym5bQqATjpiUlwTi8K0K8hwflBkmZdP2K7D4uKKw,376
|
|
166
|
+
chromapi/model/urdf/assets/left_femur.stl,sha256=aiI82r5civOtfGEL9w22tSTgH2Xly5JzuGJCdqOmBkU,675884
|
|
167
|
+
chromapi/model/urdf/assets/left_tibia.part,sha256=yQCAf6wvKTpPNu3tB7jgQ3KoITK1RAriqntYBFyyAk0,376
|
|
168
|
+
chromapi/model/urdf/assets/left_tibia.stl,sha256=V9EuowsH3ZIqku0nZo-H9j4RLi6fpAgf7mc1g4bI054,488384
|
|
169
|
+
chromapi/model/urdf/assets/microswitch.part,sha256=43YxqBJJrKOO5B0no7Ngax2ejzmE1Xs2J31FmEp5Lr8,377
|
|
170
|
+
chromapi/model/urdf/assets/microswitch.stl,sha256=j6oA_2Gz7n6loqwDK1Xkx2Xz5RVaJlo09vDyl_QDysw,355884
|
|
171
|
+
chromapi/model/urdf/assets/power_switch.part,sha256=jZj7GdgVO6WbDx4MmEEHNJUXe_nEiQswPddf6C3PRX4,378
|
|
172
|
+
chromapi/model/urdf/assets/power_switch.stl,sha256=Xn2z60HJMNveTLilHxBPzA7rNnCZHDIKzL2s4TrshUw,186984
|
|
173
|
+
chromapi/model/urdf/assets/raspberry_pi_4_model_b.part,sha256=njnbGI8RQmasrbAnvksUXzZntYXsnW8SjyrF3Gytnjg,388
|
|
174
|
+
chromapi/model/urdf/assets/raspberry_pi_4_model_b.stl,sha256=iXD4OUuwFo8iFYDroW1BvuBnNRTSHF0OwOPC1wGN3gk,1048484
|
|
175
|
+
chromapi/model/urdf/assets/right_coxa.part,sha256=f1yXL--C6R3dz3u_hWFaJN9sicQer1eD9Z9ecN74Hjg,377
|
|
176
|
+
chromapi/model/urdf/assets/right_coxa.stl,sha256=y8DJmuAn1T-sOKdF7iHIEwqMAiLabZ4oEgv_2M6ny-o,610084
|
|
177
|
+
chromapi/model/urdf/assets/right_femur.part,sha256=c4SVGondzQPGb57WTO92PCmd1Q1vQaRVrSse-ZUV1o4,378
|
|
178
|
+
chromapi/model/urdf/assets/right_femur.stl,sha256=Za06_k4ibobkdBFqQ5_hwOgTVzwSegSOadUiWv3FtDc,675884
|
|
179
|
+
chromapi/model/urdf/assets/right_tibia.part,sha256=uOmR50l8ZvPGKbuN4rua2Z4y-xpSh5vlaIVBiDkxIic,378
|
|
180
|
+
chromapi/model/urdf/assets/right_tibia.stl,sha256=WPUe0vMP1haywlGEfNOE_PWNfxZ-xxv9iGLokGh43QI,488384
|
|
181
|
+
chromapi/model/urdf/assets/robot_case_bottom.part,sha256=9dYy4uz99_SSQ9Vt6OXz4sV1m6plCW47Dx_ccHugWDI,383
|
|
182
|
+
chromapi/model/urdf/assets/robot_case_bottom.stl,sha256=x2pdAhOSauNIXG9DFTwGRWnkA8xDdGVRmYSy7RSMRlQ,382584
|
|
183
|
+
chromapi/model/urdf/assets/robot_case_top.part,sha256=ZlU8MEr8dIQxbMrS3qR7A8kZMu17iUkrrHKBI2cHvc8,380
|
|
184
|
+
chromapi/model/urdf/assets/robot_case_top.stl,sha256=XOHfifSYwi6tZNRJd_udMC3ZldkiBn0CpHPvIQpzlKc,1048484
|
|
185
|
+
chromapi/model/urdf/assets/rpi_battery_bracket.part,sha256=IqtFBqN9e8bsgaKWiccJeku3Mf8VZu1cmdOt12389FU,385
|
|
186
|
+
chromapi/model/urdf/assets/rpi_battery_bracket.stl,sha256=Nf1cRTZIr34d-6kIIxkMMUwTrSmqdAF-5Ex-UhlxZGI,152284
|
|
187
|
+
chromapi/model/urdf/assets/speaker.part,sha256=V8S_kdGUncfbxTZgL_6ch5ixcP5QIAt1q3Q0LEIwZVk,373
|
|
188
|
+
chromapi/model/urdf/assets/speaker.stl,sha256=-wwJaeY0kPAFk0bjJEGqdU0R_og8RJJZ4V03EJhB4Kc,616984
|
|
189
|
+
chromapi/model/urdf/assets/vis_1__corps1.part,sha256=iVs1aHU_CcYrJrv8V8KyRpCySBaTcWp7ZsDul9zc9PY,379
|
|
190
|
+
chromapi/model/urdf/assets/vis_1__corps1.stl,sha256=iSLJfoZW2bOcY80oZeY36LRlCRx7gps5plRE9FjqKLk,169184
|
|
191
|
+
chromapi/model/urdf/assets/vis_1__corps1_1.part,sha256=Fr_y35aM_i43WUNNtKDDUjrnggGNtNt4nV9QasYDq-c,381
|
|
192
|
+
chromapi/model/urdf/assets/vis_1__corps1_1.stl,sha256=BMUlc7vmsdMJCFAb3zON0IklG6WFcxpKSMc8NBmuDa4,169184
|
|
193
|
+
chromapi/model/urdf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.part,sha256=_98E8etm3HNVPhiwjb9iCmKrnicK6ROKKVj5L4kTukE,448
|
|
194
|
+
chromapi/model/urdf/assets/vis_a_tete_tronconique_jis_b_1111_m3x4_h_acier_inoxydable_a2_standard_v1_1__corps1.stl,sha256=DEmL2sIBK0ld1YQnOHdY7jtupAd5RtH3IF1XDDYuZl0,269984
|
|
195
|
+
chromapi/model/urdf/assets/ws2812b_cob_pixel_ring_27mm.part,sha256=BRN41Msp1SMpmOxKQzgNBhAeylJRSS6L03jtyGdPcNM,393
|
|
196
|
+
chromapi/model/urdf/assets/ws2812b_cob_pixel_ring_27mm.stl,sha256=_ywz_DI58qlt6nKSKhvwAUrmrDU5qG4CiGJonkZWDLs,151284
|
|
197
|
+
chromapi/utils/calibrate_imu_mount.py,sha256=9kYGt4_XFWwsJYKEnHUnVvPYQR-vK0TqU0jJDPSJ4vg,3006
|
|
198
|
+
chromapi/utils/calibrate_servo_centers.py,sha256=FIFZmEclgYiPYuhHpmKQ4aweDNiZAXCw8H1nBjHtZQM,17781
|
|
199
|
+
chromapi/utils/flash.py,sha256=kqsQvGcaLaD25tAfcMoDOTFQR7P6culpqlnl9OxjgHM,5509
|
|
200
|
+
chromapi/utils/health.py,sha256=mcJoV7y-MNj0FlObEOsFDe21aICzLDLpaHI1GveJoXw,9763
|
|
201
|
+
chromapi/utils/report.py,sha256=vGI64SftWQ9CbcJL2F7a9mapLcjgnJ-0P4oUvxpNMuo,2758
|
|
202
|
+
chromapi/utils/setup_motors.py,sha256=ZJUF-ndtPAf7kYKPMHCLveilrCMnSghBFlj5qVuw83o,7678
|
|
203
|
+
chromapi/utils/sim_server.py,sha256=h_9P4V07MFWko7gR99pjQ3-35w5KM_zNjljn0oBb8uw,5310
|
|
204
|
+
chromapi/web/__init__.py,sha256=0Jj9Nxf0qqdaxWF5_7jzhgb9iazpj3Wqeutrg8a-ujU,125
|
|
205
|
+
chromapi/web/access.py,sha256=rB_7fFovHd_VCHMXf_CFys0622sbUm7lvrQUrc4ovNA,6242
|
|
206
|
+
chromapi/web/app.py,sha256=X_MiS6YYybl1nwm_avcMjcoprqyuwHRfPGbjPZmQLxY,51364
|
|
207
|
+
chromapi/web/camera.py,sha256=BWcqW5z9Zx5KL0LcxolG6sPacZjZnzkz6w9yIxdsbW8,8275
|
|
208
|
+
chromapi/web/static/index.html,sha256=2J_aIIpxkM5Er-M7DSb46pRO_ysDyV4nwa9RDfoPN1A,65935
|
|
209
|
+
chromapi/web/static/logo.png,sha256=ZPjnL_ud0tnuPdoEb5jIIG_nP56R7vfJtuSdteCi9E4,12419
|
|
210
|
+
chromapi/web/static/motherboard_front.png,sha256=bkuvnR9dhilKtV589WeOw30EoAwSJA8tasrYySEW9Zo,115753
|
|
211
|
+
chromapi/web/static/socket.io.min.js,sha256=c-uha8iV_fpFTifsuA3vMe3o2GH5nhdf-TsRDqvsBE8,49993
|
|
212
|
+
chromapi/web/static/fonts/varela-round.woff2,sha256=IESgq_17EW9tCR1tkielcgvUhIUZzTjSdLKjqTVpad0,21808
|
|
213
|
+
chromapi-1.0.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
214
|
+
chromapi-1.0.0.dist-info/licenses/src/chromapi/model/LICENSE,sha256=5mwmnUgZqqs0tJ71IgxN2rZ1byG7UYB2Gk64Vh8re70,20850
|
|
215
|
+
chromapi-1.0.0.dist-info/METADATA,sha256=oJUom-Sg9Q_tlLcyIF5HTs7f4ZXJvoowXL0eR9jse8w,12046
|
|
216
|
+
chromapi-1.0.0.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
217
|
+
chromapi-1.0.0.dist-info/entry_points.txt,sha256=-vUll9LaezrAqqPGB5iaA1rWmbfJKbBj3L-K7S5ou1Q,47
|
|
218
|
+
chromapi-1.0.0.dist-info/top_level.txt,sha256=Vkr6LRbFtNfy2jUXS5Wpk6s7RoOFp6ByJXGTxrITths,9
|
|
219
|
+
chromapi-1.0.0.dist-info/RECORD,,
|