<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.stereopi.com/app.php/feed/topic/1252" />

	<title>StereoPi Forum</title>
	<subtitle>StereoPi Forum</subtitle>
	<link href="https://forum.stereopi.com/index.php" />
	<updated>2021-11-09T14:04:52+00:00</updated>

	<author><name><![CDATA[StereoPi Forum]]></name></author>
	<id>https://forum.stereopi.com/app.php/feed/topic/1252</id>

		<entry>
		<author><name><![CDATA[alexandrialeer]]></name></author>
		<updated>2021-11-09T14:04:52+00:00</updated>

		<published>2021-11-09T14:04:52+00:00</published>
		<id>https://forum.stereopi.com/viewtopic.php?p=2940#p2940</id>
		<link href="https://forum.stereopi.com/viewtopic.php?p=2940#p2940"/>
		<title type="html"><![CDATA[Validation of a pressure sensor shoe sole using two StereoPi boards]]></title>

		
		<content type="html" xml:base="https://forum.stereopi.com/viewtopic.php?p=2940#p2940"><![CDATA[
Hello!<br><br>For my project work at the university, I have used the as described in the blog post <br>described in the blog post. It works very well so far, I use the synchronisation of the boards via the GPIOs. The camera system is supposed to record the gait cycle of a human being in order to compare the data of a pressure sensor shoe sole with the camera images. However, the given c-programme only triggers a photo. My goal is to take several pictures per second to map the gait cycle well. If I change the arguments in the raspistill command as follows:<br><div class="codebox"><p>Code: </p><pre><code>execl("/usr/bin/raspistill","/usr/bin/raspistill", "-s", "-t","1000","-tl","0", "-3d", "sbs", "w", "5184", "-h","1944","-o", pattern, NULL);</code></pre></div> <br><br>and then run de c file, 3fps is recorded.<br>Unfortunately, the problem arises that I can no longer trigger the cameras in the terminal, although -Photo STDIN !\n"- is printed, no new photos are triggered, the same problem when triggering the photos using the Python file for synchronisation.<br><br>I guess it's because of the GPIOs, but I don't know enough about them to modify the script accordingly.<br>I also replaced the raspistill command with the raspivid command, with the aim of recording synchronised videos. But the same problems occur. <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_rolleyes.gif" width="15" height="17" alt=":roll:" title="Rolling Eyes"> <br><br>Maybe someone who knows the system better can help me. Thanks in advance <img class="smilies" src="https://forum.stereopi.com/images/smilies/icon_e_wink.gif" width="15" height="17" alt=";)" title="Wink"> <br><br>The c-code as file here: <a href="https://stereopi.com/sites/default/files/sync_two_stereopi/stereopi_sync.c" class="postlink">https://stereopi.com/sites/default/file ... opi_sync.c</a><br>The py-code  as file here:<div class="codebox"><p>Code: </p><pre><code>#!/usr/bin/env python3# Import librariesimport RPi.GPIO as GPIO# Configpin_notation = GPIO.BCMtrigger_pin = 4# SetupGPIO.setmode(pin_notation)GPIO.setup(trigger_pin, GPIO.IN)# Trigger pin GPIO.setup(trigger_pin, GPIO.OUT) GPIO.output(trigger_pin, GPIO.LOW) GPIO.setup(trigger_pin, GPIO.IN) # Cleanup at exit GPIO.cleanup()</code></pre></div><p>Statistics: Posted by <a href="https://forum.stereopi.com/memberlist.php?mode=viewprofile&amp;u=956">alexandrialeer</a> — Tue Nov 09, 2021 2:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
