Compare commits

..

14 Commits

36 changed files with 5050 additions and 112 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 313 KiB

Binary file not shown.

View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<model>
<name>Lewis_Crawler</name>
<version>1.0</version>
<sdf version="1.7">model.sdf</sdf>
<author>
<name>Joe Sedutto</name>
<email>kenwood364@gmail.com</email>
</author>
<description></description>
</model>

View File

@ -0,0 +1,109 @@
<?xml version='1.0'?>
<sdf version='1.7'>
<model name='Lewis_Crawler'>
<link name='chassis'>
<pose>-0.1524 -0.1 0.0508 0 0 0</pose>
<visual name='visual'>
<pose>0 0 0 0 0 0</pose>
<geometry>
<mesh>
<uri>/home/joe/git/lewis-crawler/Simulation/Meshes/LCFrame.dae</uri>
<scale>1 1 1</scale>
</mesh>
</geometry>
<material>
<lighting>1</lighting>
<script>
<uri>file://media/materials/scripts/gazebo.material</uri>
<name>Gazebo/Grey</name>
</script>
<shader type='pixel' />
</material>
<transparency>0</transparency>
<cast_shadows>1</cast_shadows>
</visual>
<collision name='collision'>
<laser_retro>0</laser_retro>
<max_contacts>10</max_contacts>
<pose>0 0 0 0 -0 0</pose>
<geometry>
<mesh>
<uri>/home/joe/git/lewis-crawler/Simulation/Meshes/LCFrame.dae</uri>
<scale>1 1 1</scale>
</mesh>
</geometry>
</collision>
</link>
<link name="port_wheel">
<pose>0.1524 0 0.1016 0 1.5707 0</pose>
<collision name="collision">
<geometry>
<cylinder>
<radius>.1</radius>
<length>.05</length>
</cylinder>
</geometry>
</collision>
<visual name="visual">
<geometry>
<cylinder>
<radius>.1</radius>
<length>.05</length>
</cylinder>
</geometry>
</visual>
</link>
<link name="starboard_wheel">
<pose>-0.1524 0 0.1016 0 1.5707 0</pose>
<collision name="collision">
<geometry>
<cylinder>
<radius>.1</radius>
<length>.05</length>
</cylinder>
</geometry>
</collision>
<visual name="visual">
<geometry>
<cylinder>
<radius>.1</radius>
<length>.05</length>
</cylinder>
</geometry>
</visual>
</link>
<joint type="port_wheel" name="port_wheel_axle">
<pose>0 0 -0.03 0 0 0</pose>
<child>left_wheel</child>
<parent>chassis</parent>
<axis>
<xyz>0 1 0</xyz>
</axis>
</joint>
<joint type="starboard_wheel" name="starboard_wheel_axle">
<pose>0 0 0.03 0 0 0</pose>
<child>right_wheel</child>
<parent>chassis</parent>
<axis>
<xyz>0 1 0</xyz>
</axis>
</joint>
<static>0</static>
<allow_auto_disable>1</allow_auto_disable>
</model>
</sdf>

View File

@ -0,0 +1,106 @@
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1">
<asset>
<contributor/>
<created>2022-03-11T12:26:21.628371</created>
<modified>2022-03-11T12:26:21.628375</modified>
<unit name="meter" meter="1.0"/>
<up_axis>Z_UP</up_axis>
</asset>
<library_effects>
<effect id="effect_Body" name="effect_Body">
<profile_COMMON>
<technique sid="common">
<phong>
<emission>
<color>0.0 0.0 0.0 1.0</color>
</emission>
<ambient>
<color>0.0 0.0 0.0 1.0</color>
</ambient>
<diffuse>
<color>0.800000011920929 0.800000011920929 0.800000011920929 1.0</color>
</diffuse>
<specular>
<color>1 1 1 1.0</color>
</specular>
<shininess>
<float>0.0</float>
</shininess>
<reflective>
<color>0.0 0.0 0.0 1.0</color>
</reflective>
<reflectivity>
<float>0.0</float>
</reflectivity>
<transparent>
<color>0.0 0.0 0.0 1.0</color>
</transparent>
<transparency>
<float>1.0</float>
</transparency>
</phong>
</technique>
<extra>
<technique profile="GOOGLEEARTH">
<double_sided>0</double_sided>
</technique>
</extra>
</profile_COMMON>
</effect>
</library_effects>
<library_geometries>
<geometry id="geometry0" name="Body">
<mesh>
<source id="cubeverts-array0">
<float_array count="273" id="cubeverts-array0-array">0 0 0 0 0.0254 -4.3e-17 0.0254 0.0254 -3.7e-17 0.3048 0 0 0.2794 0.0254 -3.7e-17 0.3048 0.0254 -4.3e-17 0 1.28e-16 0.1651 0 0.0254 0.1651 -1.5e-17 0.0254 0.1397 -3e-18 0.0254 0.0254 0.3048 0.0254 0.0254 0.3048 0.0254 0.1397 0.3048 1.28e-16 0.1651 0.3048 0.0254 0.1651 0.0254 1.09e-16 0.1397 0.0254 2e-17 0.0254 0.2794 1.09e-16 0.1397 0.2794 2e-17 0.0254 0 0.5842 -1.258e-15 0.0254 0.5842 -9.98e-16 0.0254 0.0254 0.0254 0.2794 0.0254 0.0254 0.3048 0.5842 -1.258e-15 0.2794 0.5842 -9.98e-16 0.2794 0.0254 0.1651 0.1778 0.0254 0.1651 0.0254 0.0254 0.1651 0 0.5842 0.1397 -3.1e-17 0.1778 0.1397 0 0.5842 0.1651 -6e-18 0.1778 0.0254 0 0.5842 0.0254 0.3048 0.5842 0.0254 0.3048 0.1778 0.0254 0.3048 0.1778 0.1397 0.3048 0.5842 0.1397 0.3048 0.5842 0.1651 0.2794 0.0254 0.1397 0.0254 0.0254 0.1397 0.0254 0.5842 0.0254 0 0.6096 -1.176e-15 0.3048 0.6096 -1.176e-15 0.2794 0.5842 0.0254 0.2794 0.127 0.1651 0.2794 0.5842 0.1651 0.1778 0.127 0.1651 0.1778 0.0254 0.15875 0.2794 0.0254 0.15875 0.0254 0.5842 0.1651 0.0254 0.5842 0.1397 0.00635 0.1778 0.1397 0.00635 0.0254 0.1397 0 0.6096 0.1651 0 0.6096 0.1397 0.00635 0.1778 0.0254 0.00635 0.0254 0.0254 0.29845 0.1778 0.0254 0.29845 0.0254 0.0254 0.3048 0.6096 0.1397 0.3048 0.6096 0.1651 0.29845 0.1778 0.1397 0.2794 0.5842 0.1397 0.29845 0.0254 0.1397 0.0254 0.6096 0.0254 0.0254 0.6096 0.1397 0.2794 0.6096 0.0254 0.2794 0.6096 0.1397 0.2794 0.127 0.15875 0.2751267 0.6096 0.1651 0.02967325 0.6096 0.1651 0.1778 0.127 0.15875 0.1778 0.127 0.15875 0.2794 0.127 0.15875 0.1030465 0.7802151 0.1397 0.1524 0.8619303 0.1651 0.1524 0.8619303 0.1397 0.2017535 0.7802151 0.1397 0.02967325 0.6096 0.1397 0.1327197 0.7802151 0.1397 0.2751267 0.6096 0.1397 0.1720803 0.7802151 0.1397 0.1524 0.8128 0.1651 0.1016 0.7802151 0.1397 0.2032 0.7802151 0.1397 0.2032 0.8945151 0.1397 0.1016 0.8945151 0.1397 0.1524 0.8128 0.1397 0.1016 0.7802151 0.13335 0.2032 0.7802151 0.13335 0.1016 0.8945151 0.13335 0.2032 0.8945151 0.13335</float_array>
<technique_common>
<accessor count="91" source="#cubeverts-array0-array" stride="3">
<param type="float" name="X"/>
<param type="float" name="Y"/>
<param type="float" name="Z"/>
</accessor>
</technique_common>
</source>
<source id="cubenormals-array0">
<float_array count="594" id="cubenormals-array0-array">2.362205e-16 -1.692914e-15 -1 -2.362205e-16 -1.692913e-15 -1 -0 -1.456693e-15 -1 0 -1.456693e-15 -1 -1 0 5.90551e-16 -1 -1.312335e-17 -1.049869e-16 -1 -1.999504e-31 -1.181102e-16 -1 -5.905512e-16 4.578471e-31 1 -0 0 1 0 0 1 -0 0 1 0 0 2.725684e-17 -1 7.752877e-16 8.748921e-18 -1 7.786527e-16 0 -1 7.480312e-16 0 -1 7.480312e-16 0 -1 7.874015e-16 -8.748847e-18 -1 7.786527e-16 -2.725685e-17 -1 7.752877e-16 0 -1 7.874016e-16 2.362205e-16 -2.174302e-15 -1 1.023622e-14 -1.719757e-15 -1 0 1 0 0 1 0 -2.362206e-16 -2.174302e-15 -1 -1.023622e-14 -1.719757e-15 -1 0 -0 1 -0 0 1 0 0 1 0 0 1 0 0 1 -1 7.627952e-17 0 -1 -1.049869e-16 5.905509e-16 -1 0 1.220472e-15 -1 -1.968504e-17 -2.187227e-16 -1 -1.049869e-16 -1.049869e-16 -1 1.476378e-17 0 -1 -1.968504e-17 -1.181102e-16 -1 -5.136147e-31 -2.362205e-16 1 0 0 1 -0 0 1 -0 0 1 0 0 1 0 0 1 0 0 1 0 0 1 0 0 -0 0 -1 0 0 -1 -1 0 0 -1 0 0 0 0 1 0 0 1 1 0 0 1 -0 0 1 -0 0 1 -0 0 1.023622e-14 3.228349e-15 -1 0 -7.007887e-15 -1 -0 -7.007887e-15 -1 -1.023622e-14 3.228349e-15 -1 -1 0 0 -1 0 0 0 0 1 0 0 1 0 -0 1 -0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 0 1 0 0 0 1 -0 0 1 -0 0 -1 0 0 -1 0 0 -1 0 -0 -1 -1 0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0 0 1 0 0 1 -0 0 -0 1 0 0 1 0 0 1 0 -0 1 -0 0 1 0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 1 0 0 1 -0 0 1 -0 0 -0 1 0 0 1 0 0 0 -1 0 0 -1 0 0 -1 0 0 -1 0 1 0 0 1 0 0 1 0 0 1 0 -0 -1 0 0 -1 0 0 1 0 0 1 0 0 1 0 -0 1 0 0 1 0 0 1 0 -1 0 0 -1 0 0 -1 0 0 -1 0 0 0 0 1 0 -0 1 -0 0 1 0 -0 1 0 0 1 0 0 1 -1 0 0 -1 0 0 -0 1 0 0 1 0 0 0 -1 0 0 -1 1 -0 0 1 0 0 1 0 0 1 -0 0 0 -1 0 0 -1 0 -0.85599 0.5169924 0 -0.85599 0.5169924 0 -0.85599 0.5169924 0 -1 0 0 -1 0 0 0 -1 0 0 -1 0 0.8559899 0.5169926 0 0.85599 0.5169923 0 0.85599 0.5169924 5.217055e-07 0 0 1 -0 0 1 0 0 -1 0 0 -1 0 0 -1 1 -0 0 1 0 0 -1 0 0 -1 0 0 0 0 -1 0 0 -1 0 0 -1 -0 -1 0 0 -1 0 -0 0 1 0 0 1 0 0 1 0 0 1 0 1 0 0 1 0 0 0 1 0 0 1 -0 0 1 -0 0 1 0 0 1 -0 -0 -1 0 0 -1 -0 0 -1 0 0 -1 0.85599 -0.5169924 0 0.8559901 -0.5169923 0 0.85599 -0.5169924 1.214709e-07 -0 -1 0 -0 -1 0 0 -1 0 0 -1 0 -0 -1 -0 -0 -1 -0 -0.8559899 -0.5169927 0 -0.85599 -0.5169923 -0 -0.85599 -0.5169924 -3.239225e-07 -1 0 0 -1 0 0 0 1 0 -0 1 0 1 0 0 1 0 0 0 0 1 0 0 -1 0 0 -1</float_array>
<technique_common>
<accessor count="198" source="#cubenormals-array0-array" stride="3">
<param type="float" name="X"/>
<param type="float" name="Y"/>
<param type="float" name="Z"/>
</accessor>
</technique_common>
</source>
<vertices id="cubeverts-array0-vertices">
<input semantic="POSITION" source="#cubeverts-array0"/>
</vertices>
<triangles count="198" material="ref_Body">
<input offset="0" semantic="VERTEX" source="#cubeverts-array0-vertices"/>
<input offset="1" semantic="NORMAL" source="#cubenormals-array0"/>
<p>0 0 1 0 2 0 3 1 4 1 5 1 3 2 0 2 2 2 3 3 2 3 4 3 6 4 7 4 8 4 0 5 8 5 9 5 0 6 9 6 1 6 0 7 6 7 8 7 3 8 5 8 10 8 11 9 3 9 10 9 12 10 11 10 13 10 12 11 3 11 11 11 0 12 14 12 6 12 15 13 14 13 0 13 16 14 12 14 6 14 16 15 6 15 14 15 17 16 15 16 0 16 3 17 16 17 17 17 3 18 12 18 16 18 3 19 17 19 0 19 2 20 1 20 18 20 2 21 18 21 19 21 20 22 4 22 2 22 21 23 4 23 20 23 5 24 4 24 22 24 22 25 4 25 23 25 12 26 13 26 24 26 25 27 12 27 24 27 6 28 25 28 26 28 6 29 26 29 7 29 6 30 12 30 25 30 27 31 28 31 29 31 8 32 7 32 28 32 7 33 29 33 28 33 30 34 9 34 28 34 9 35 8 35 28 35 30 36 31 36 18 36 1 37 9 37 30 37 18 38 1 38 30 38 32 39 33 39 22 39 10 40 5 40 33 40 5 41 22 41 33 41 34 42 10 42 33 42 34 43 11 43 10 43 34 44 35 44 36 44 13 45 11 45 34 45 36 46 13 46 34 46 37 47 14 47 38 47 16 48 14 48 37 48 17 49 16 49 37 49 17 50 37 50 21 50 15 51 17 51 21 51 15 52 21 52 20 52 14 53 15 53 20 53 14 54 20 54 38 54 2 55 19 55 39 55 20 56 2 56 39 56 19 57 18 57 40 57 23 58 40 58 41 58 23 59 19 59 40 59 22 60 23 60 41 60 23 61 4 61 42 61 4 62 21 62 42 62 43 63 36 63 44 63 24 64 13 64 43 64 13 65 36 65 43 65 45 66 25 66 43 66 43 67 25 67 24 67 25 68 46 68 26 68 26 69 46 69 38 69 47 70 37 70 46 70 37 71 38 71 46 71 7 72 26 72 29 72 29 73 26 73 48 73 49 74 50 74 27 74 50 75 28 75 27 75 38 76 51 76 50 76 49 77 38 77 50 77 27 78 29 78 52 78 27 79 52 79 53 79 31 80 53 80 40 80 31 81 27 81 53 81 18 82 31 82 40 82 30 83 50 83 54 83 30 84 28 84 50 84 54 85 39 85 31 85 30 86 54 86 31 86 55 87 20 87 54 87 20 88 39 88 54 88 42 89 56 89 32 89 56 90 33 90 32 90 21 91 57 91 56 91 42 92 21 92 56 92 32 93 22 93 41 93 58 94 32 94 41 94 35 95 58 95 59 95 35 96 32 96 58 96 36 97 35 97 59 97 60 98 34 98 56 98 56 99 34 99 33 99 60 100 61 100 35 100 34 101 60 101 35 101 62 102 37 102 60 102 37 103 61 103 60 103 62 104 57 104 37 104 37 105 57 105 21 105 38 106 20 106 51 106 51 107 20 107 55 107 42 108 39 108 19 108 23 109 42 109 19 109 53 110 63 110 40 110 64 111 63 111 53 111 58 112 65 112 66 112 63 113 65 113 40 113 58 114 41 114 65 114 65 115 41 115 40 115 67 116 43 116 44 116 67 117 44 117 61 117 37 118 47 118 67 118 61 119 37 119 67 119 44 120 36 120 59 120 44 121 59 121 68 121 69 122 44 122 68 122 48 123 69 123 52 123 48 124 44 124 69 124 29 125 48 125 52 125 25 126 70 126 46 126 25 127 45 127 70 127 45 128 43 128 70 128 70 129 43 129 67 129 47 130 71 130 72 130 46 131 71 131 47 131 26 132 38 132 48 132 48 133 38 133 49 133 51 134 55 134 54 134 51 135 54 135 50 135 31 136 49 136 27 136 39 137 49 137 31 137 52 138 73 138 53 138 73 139 74 139 75 139 52 140 74 140 73 140 62 141 60 141 57 141 57 142 60 142 56 142 42 143 35 143 61 143 32 144 35 144 42 144 74 145 76 145 75 145 76 146 59 146 58 146 74 147 59 147 76 147 39 148 42 148 63 148 63 149 42 149 65 149 77 150 73 150 78 150 64 151 73 151 77 151 53 152 73 152 64 152 49 153 39 153 64 153 64 154 39 154 63 154 42 155 66 155 65 155 42 156 61 156 66 156 66 157 76 157 58 157 79 158 80 158 76 158 79 159 76 159 66 159 44 160 48 160 49 160 61 161 44 161 49 161 81 162 59 162 74 162 81 163 68 163 59 163 81 164 52 164 69 164 74 165 52 165 81 165 68 166 79 166 69 166 69 167 79 167 77 167 75 168 82 168 73 168 75 169 76 169 83 169 75 170 83 170 84 170 85 171 75 171 84 171 85 172 82 172 75 172 66 173 61 173 79 173 61 174 77 174 79 174 77 175 49 175 64 175 61 176 49 176 77 176 78 177 69 177 77 177 81 178 78 178 86 178 81 179 69 179 78 179 73 180 82 180 87 180 78 181 73 181 87 181 88 182 80 182 78 182 88 183 78 183 87 183 76 184 80 184 88 184 83 185 76 185 88 185 80 186 81 186 86 186 68 187 80 187 79 187 68 188 81 188 80 188 87 189 85 189 89 189 82 190 85 190 87 190 89 191 84 191 90 191 85 192 84 192 89 192 84 193 83 193 88 193 84 194 88 194 90 194 86 195 78 195 80 195 87 196 89 196 88 196 88 197 89 197 90 197</p>
</triangles>
</mesh>
</geometry>
</library_geometries>
<library_materials>
<material id="mat_Body" name="Body">
<instance_effect url="#effect_Body"/>
</material>
</library_materials>
<library_visual_scenes>
<visual_scene id="myscene">
<node id="node0" name="node0">
<instance_geometry url="#geometry0">
<bind_material>
<technique_common>
<instance_material symbol="ref_Body" target="#mat_Body"/>
</technique_common>
</bind_material>
</instance_geometry>
</node>
</visual_scene>
</library_visual_scenes>
<scene>
<instance_visual_scene url="#myscene"/>
</scene>
</COLLADA>

View File

@ -1,12 +0,0 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
Pillow = "*"
[dev-packages]
[requires]
python_version = "3.9"

View File

@ -1,68 +0,0 @@
{
"_meta": {
"hash": {
"sha256": "a2ebd6d3c633cc5dec90d7752d4757fc614d58ce4dc35d0d5796ce6b9148c5f4"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.9"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.org/simple",
"verify_ssl": true
}
]
},
"default": {
"pillow": {
"hashes": [
"sha256:066f3999cb3b070a95c3652712cffa1a748cd02d60ad7b4e485c3748a04d9d76",
"sha256:0a0956fdc5defc34462bb1c765ee88d933239f9a94bc37d132004775241a7585",
"sha256:0b052a619a8bfcf26bd8b3f48f45283f9e977890263e4571f2393ed8898d331b",
"sha256:1394a6ad5abc838c5cd8a92c5a07535648cdf6d09e8e2d6df916dfa9ea86ead8",
"sha256:1bc723b434fbc4ab50bb68e11e93ce5fb69866ad621e3c2c9bdb0cd70e345f55",
"sha256:244cf3b97802c34c41905d22810846802a3329ddcb93ccc432870243211c79fc",
"sha256:25a49dc2e2f74e65efaa32b153527fc5ac98508d502fa46e74fa4fd678ed6645",
"sha256:2e4440b8f00f504ee4b53fe30f4e381aae30b0568193be305256b1462216feff",
"sha256:3862b7256046fcd950618ed22d1d60b842e3a40a48236a5498746f21189afbbc",
"sha256:3eb1ce5f65908556c2d8685a8f0a6e989d887ec4057326f6c22b24e8a172c66b",
"sha256:3f97cfb1e5a392d75dd8b9fd274d205404729923840ca94ca45a0af57e13dbe6",
"sha256:493cb4e415f44cd601fcec11c99836f707bb714ab03f5ed46ac25713baf0ff20",
"sha256:4acc0985ddf39d1bc969a9220b51d94ed51695d455c228d8ac29fcdb25810e6e",
"sha256:5503c86916d27c2e101b7f71c2ae2cddba01a2cf55b8395b0255fd33fa4d1f1a",
"sha256:5b7bb9de00197fb4261825c15551adf7605cf14a80badf1761d61e59da347779",
"sha256:5e9ac5f66616b87d4da618a20ab0a38324dbe88d8a39b55be8964eb520021e02",
"sha256:620582db2a85b2df5f8a82ddeb52116560d7e5e6b055095f04ad828d1b0baa39",
"sha256:62cc1afda735a8d109007164714e73771b499768b9bb5afcbbee9d0ff374b43f",
"sha256:70ad9e5c6cb9b8487280a02c0ad8a51581dcbbe8484ce058477692a27c151c0a",
"sha256:72b9e656e340447f827885b8d7a15fc8c4e68d410dc2297ef6787eec0f0ea409",
"sha256:72cbcfd54df6caf85cc35264c77ede902452d6df41166010262374155947460c",
"sha256:792e5c12376594bfcb986ebf3855aa4b7c225754e9a9521298e460e92fb4a488",
"sha256:7b7017b61bbcdd7f6363aeceb881e23c46583739cb69a3ab39cb384f6ec82e5b",
"sha256:81f8d5c81e483a9442d72d182e1fb6dcb9723f289a57e8030811bac9ea3fef8d",
"sha256:82aafa8d5eb68c8463b6e9baeb4f19043bb31fefc03eb7b216b51e6a9981ae09",
"sha256:84c471a734240653a0ec91dec0996696eea227eafe72a33bd06c92697728046b",
"sha256:8c803ac3c28bbc53763e6825746f05cc407b20e4a69d0122e526a582e3b5e153",
"sha256:93ce9e955cc95959df98505e4608ad98281fff037350d8c2671c9aa86bcf10a9",
"sha256:9a3e5ddc44c14042f0844b8cf7d2cd455f6cc80fd7f5eefbe657292cf601d9ad",
"sha256:a4901622493f88b1a29bd30ec1a2f683782e57c3c16a2dbc7f2595ba01f639df",
"sha256:a5a4532a12314149d8b4e4ad8ff09dde7427731fcfa5917ff16d0291f13609df",
"sha256:b8831cb7332eda5dc89b21a7bce7ef6ad305548820595033a4b03cf3091235ed",
"sha256:b8e2f83c56e141920c39464b852de3719dfbfb6e3c99a2d8da0edf4fb33176ed",
"sha256:c70e94281588ef053ae8998039610dbd71bc509e4acbc77ab59d7d2937b10698",
"sha256:c8a17b5d948f4ceeceb66384727dde11b240736fddeda54ca740b9b8b1556b29",
"sha256:d82cdb63100ef5eedb8391732375e6d05993b765f72cb34311fab92103314649",
"sha256:d89363f02658e253dbd171f7c3716a5d340a24ee82d38aab9183f7fdf0cdca49",
"sha256:d99ec152570e4196772e7a8e4ba5320d2d27bf22fdf11743dd882936ed64305b",
"sha256:ddc4d832a0f0b4c52fff973a0d44b6c99839a9d016fe4e6a1cb8f3eea96479c2",
"sha256:e3dacecfbeec9a33e932f00c6cd7996e62f53ad46fbe677577394aaa90ee419a",
"sha256:eb9fc393f3c61f9054e1ed26e6fe912c7321af2f41ff49d3f83d05bacf22cc78"
],
"index": "pypi",
"version": "==8.4.0"
}
},
"develop": {}
}

View File

@ -1 +0,0 @@
Pillow

View File

@ -1,31 +0,0 @@
import time
import subprocess
from PIL import Image, ImageDraw, ImageFont
fnt = ImageFont.truetype('/usr/share/fonts/noto/NotoSans-Regular.ttf', 40)
my_ffmpeg_process = subprocess.Popen("ffmpeg -y -i pipe: -r 30 -pix_fmt yuv420p video.webm".split(), stdin=subprocess.PIPE)
for i in range(100):
img = Image.new('RGB', (1280, 720), color=(73, 109, 137))
d = ImageDraw.Draw(img)
d.text((10, 10), str(i), font=fnt, fill=(255, 255, 0))
img.save(my_ffmpeg_process.stdin, format='png')
print(i)
for i in range(100):
img = Image.new('RGB', (1280, 720), color=(73, 109, 137))
d = ImageDraw.Draw(img)
d.text((10, 10), str("Done with python!"), font=fnt, fill=(255, 255, 0))
img.save(my_ffmpeg_process.stdin, format='png')
print(i)
#time.sleep(1)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB