Skip to content

Commit

Permalink
Added v7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
ddetommaso committed Jan 17, 2024
1 parent c5ad642 commit 70d9bbe
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 45 deletions.
4 changes: 2 additions & 2 deletions build.env
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ DOCKYMAN_VER=v1.1
REPOSITORY=iitschri
PROFILE=development

VERSION=v7.4-ng
VERSION=v7.5-ng

ICUB_DISTRO=v2022.02.0-ubuntu20.04
PYICUB_BASE_DOCKER_SRC=${REPOSITORY}/robotology-superbuild-docker:${ICUB_DISTRO}
PYICUB_BASE_NAME=${REPOSITORY}/pyicub-docker:${VERSION}
PYICUB_VERSION=v7.4-distro_v2022.02.0-ubuntu20.04
PYICUB_VERSION=v7.5-distro_v2022.02.0-ubuntu20.04
PYICUB_FRONTEND_VERSION=v8.0-ng
PYICUB_FRONTEND_BASE_NAME=${REPOSITORY}/pyicub-frontend-docker:${PYICUB_FRONTEND_VERSION}

Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:

pyicub-frontend:
image: ${PYICUB_FRONTEND_BASE_NAME}
container_name: pyicub-frontend.${VERSION}
container_name: pyicub-frontend.${PYICUB_FRONTEND_VERSION}

profiles: ["restapi"]

Expand Down
1 change: 1 addition & 0 deletions pyicub.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ICUB_HOST=icub-head
ICUB_IP=10.0.0.2
ICUBSRV_HOST=icubsrv
ICUBSRV_IP=10.0.0.1
ICUBSRV_PORT=10000
ICUB_APPS=/workdir/apps

# YARP configuration
Expand Down
2 changes: 1 addition & 1 deletion scripts/initContainer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ echo "DOCKYMAN -> Running inizialization script (docker container)"

source ${ROBOTOLOGY_SUPERBUILD_INSTALL_DIR}/share/robotology-superbuild/setup.sh

YARP_FORWARD_LOG_ENABLE=0 yarpserver --write --ip $ICUBSRV_IP &
YARP_FORWARD_LOG_ENABLE=0 yarpserver --write --ip $ICUBSRV_IP --socket $ICUBSRV_PORT &
sleep 1

if ! $ICUB_SIMULATION ; then
Expand Down
17 changes: 3 additions & 14 deletions workdir/apps/applications/icub/icub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@

<module>
<name>yarpview</name>
<parameters>--name /face --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>faceLandmarks</name>
<parameters>--name /rightcamview --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

Expand Down Expand Up @@ -92,14 +87,8 @@
</connection>

<connection>
<from>/faceLandmarks/image:o</from>
<to>/face</to>
<protocol>udp</protocol>
</connection>

<connection>
<output>/icub/camcalib/right/out</output>
<input>/faceLandmarks/image:i</input>
<from>/icub/camcalib/right/out</from>
<to>/rightcamview</to>
<protocol>udp</protocol>
</connection>

Expand Down
31 changes: 31 additions & 0 deletions workdir/apps/applications/icub/vision.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<application>
<name>iCub Vision</name>

<authors>
<author email="[email protected]">Davide De Tommaso</author>
</authors>

<module>
<name>faceLandmarks</name>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>yarpview</name>
<parameters>--name /face --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<connection>
<from>/faceLandmarks/image:o</from>
<to>/face</to>
<protocol>udp</protocol>
</connection>

<connection>
<output>/icub/camcalib/right/out</output>
<input>/faceLandmarks/image:i</input>
<protocol>udp</protocol>
</connection>

</application>
2 changes: 1 addition & 1 deletion workdir/apps/applications/icubSim/icub-sim-demos.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<application>
<name>iCub Demos sim</name>
<name>iCubSim Demos</name>

<authors>
<author email="[email protected]">Davide De Tommaso</author>
Expand Down
34 changes: 8 additions & 26 deletions workdir/apps/applications/icubSim/icub-sim.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<application>
<name>iCub Simulation</name>
<name>iCubSim</name>

<module>
<name>yarplogger</name>
Expand Down Expand Up @@ -47,23 +47,11 @@
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>yarpdev</name>
<environment>YARP_FORWARD_LOG_ENABLE=1</environment>
<parameters>--device opencv_grabber</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>yarpview</name>
<parameters>--name /face --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>faceLandmarks</name>
<node>$ENV{ICUBSRV_HOST}</node>
</module>
<module>
<name>yarpview</name>
<parameters>--name /rightcamview --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<connection>
<from>/face/eyelids</from>
Expand Down Expand Up @@ -96,14 +84,8 @@
</connection>

<connection>
<from>/faceLandmarks/image:o</from>
<to>/face</to>
<protocol>udp</protocol>
</connection>

<connection>
<output>/grabber</output>
<input>/faceLandmarks/image:i</input>
<from>/icubSim/cam/right</from>
<to>/rightcamview</to>
<protocol>udp</protocol>
</connection>

Expand Down
38 changes: 38 additions & 0 deletions workdir/apps/applications/icubSim/vision.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<application>
<name>iCubSim Vision</name>

<authors>
<author email="[email protected]">Davide De Tommaso</author>
</authors>

<module>
<name>yarpdev</name>
<environment>YARP_FORWARD_LOG_ENABLE=1</environment>
<parameters>--device opencv_grabber</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>faceLandmarks</name>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<module>
<name>yarpview</name>
<parameters>--name /face --x 0 --y 0 --p 50 --w 320 --h 240</parameters>
<node>$ENV{ICUBSRV_HOST}</node>
</module>

<connection>
<from>/faceLandmarks/image:o</from>
<to>/face</to>
<protocol>udp</protocol>
</connection>

<connection>
<output>/grabber</output>
<input>/faceLandmarks/image:i</input>
<protocol>udp</protocol>
</connection>

</application>

0 comments on commit 70d9bbe

Please sign in to comment.