Behrooz Tahanzadeh

Architect/Software Developer

FELFEL POS kiosk in use

FELFEL POS APPLICATION

As one of the critical components of the FELFEL operation loop, the development of FELFEL POS has been a prominent and continuous effort. Prior hardware and software enhancements led to the 2023 iteration of this IoT device's software, which included remodeling our inventory representation and a complete rewrite of our logistics-related backend APIs and frontend UI.

Jetpack Compose: The 2023 version of FELFEL POS embraced Jetpack Compose to modernize our Android application UI. Leveraging the team's prior experience with React, the transition was smooth and accelerated learning. This shift streamlined cross-platform logic between React and Compose, enabling faster and more maintainable UI development. Tools for converting Figma designs to Jetpack Compose further enhanced design efficiency, reducing manual effort.

GraphQL Type Safety: Adopting GraphQL brought type safety to our APIs, ensuring stronger guarantees during development. We achieved a robust, predictable data layer by eliminating null issues and generating types directly from the GraphQL schema. The Apollo type generator simplified integration into Kotlin and minimized runtime errors.

Configuration Improvement: A hierarchical configuration system was introduced using Firebase Realtime Database, allowing real-time updates to configuration values. This system enabled targeted releases for specific devices, providing flexibility for early testing, quick experimentation, and instant rollout of changes.

Diagnostics Page: A dedicated supervisor page was implemented to facilitate hardware configuration, diagnostics, and troubleshooting. This included testing signal strength, which is crucial during installation and troubleshooting.

Offline Capability: FELFEL POS operates fully offline for extended periods, which is essential for edge computing in disconnected environments. Following the repository pattern, it uses HTTP to handle cache misses and Firestore DB for efficient real-time synchronization, ensuring consistent and up-to-date data availability. We utilized Change Data Capture (CDC) with Azure SQL Database to track changes and periodically reflect all updates into Firestore DB.

POS start screenPOS cart screen
3
my.felfel.ch shopmy.felfel.ch on mobile

MY.FELFEL
CUSTOMER PORTAL

Together with Apps With Love company, we fully re-designed and re-developed our customer-facing portal, MY.FELFEL.CH. This was a crucial project for FELFEL since, alongside technological and visual improvements we introduced many new features in this project, including Delivery options, extended payment options, Gifting, and a collection of business owners' functionalities.

Multilingual Website: As a Swiss company, all functionalities' translations were an essential part of the design. We developed a solution based on React Context to inject text strings in the UI using the Loco service.

Promoting Stateless Components With Storybook: Given the limited time we had and avoiding parallel work, we integrated Storybook into developing different components. This approach also leveraged a stateless React component, making it easier to test and naturally separating control logic and rendering procedures.

Storybook component library
4
my.felfel.ch loginFELFEL main office view
5
Warehouse terminal tablet

FELFEL WAREHOUSE (COOL-CELL)
WEB APPLICATION

One of my main contributions to FELFEL's software stack was developing our warehouse management application. Based on my experience in hardware development, we integrated all the peripherals with this application.

Scanning barcode with camera or scanner: Throughout the operation of FELFEL, barcode scanning plays an important role. Developing a generic React component that can detect Barcodes using the ZXing library and connecting with external scanners was my first task.

Interfacing MiPick Pick-By-Light System: Distribution of products in FELFEL is done with the aid of the MiPick system. To do so, different agents, including two tablets at each lane and a PC running

the proxy software to communicate with the MiPick displays, have to be synchronized. Firebase Realtime Database provides persistent and seamless synchronization.

Zebra Printers: Defining a template structure for generating ZPL code and integrating it with a web-based solution has been a noticeable improvement over our previous setup. Our warehouse application provides UI for printing barcodes used in different stages of our logistic process.

Warehouse peripherals diagram
  1. 1MiPick Buttons
  2. 2MiPick Contrller Box
  3. 3Network Router
  1. 4Cool Cell Proxy PC
  2. 5Terminal Tablet
  3. 6Barcode Scanner
6
ITECH Research Pavilion 2016/17

ITECH RESEARCH
PAVILION 2016/17

Done by more than 30 researchers, ITECH Research Pavilion 2016/17 demonstrates a new architectural expression by combining a variety of expertise. The development of fabrication agents and the communication between themselves and users was an aspect of this project I contributed the most.

The concept of the fabrication process is based on the collaboration between strong and precise, yet stationary machines with limited reach and mobile, long-range machines with limited precision. In the specific experimental set-up, two stationary industrial robotic arms with the strength and precision necessary for fibre winding work are placed at the extremities of the structure, while an autonomous, long range but less precise fibre transportation system is utilized to pass the fibre from one side to the other, in this case a custom-built UAV.

Drone Development

The use of quadcopter as an autonomous transportation system was one of the key features of our research pavilion. Our task (as drone team) was to develop the required hardware and software for this machine.

Localization was done using an up-looking camera and ceiling mounted A.R. markers fused with internal high-frequency pose estimation of Pixhawk (flight controller). We developed a ROS package which was capable of calculating the coordination of the drone, based on predefined markers and calculated transformation from each marker.

A developed control ROS package running on the onboard computer was responsible for commanding different maneuvers. Moreover, a Grasshopper solution running on offboard computer was responsible for defining the flight checkpoints (tolerances, next link, ...) and send them over WebSocket by using Bengesht plugin.

Fabrication setup diagram
  1. 1UAV (Quadcopter)
  2. 2Pneumatic Gripper x2
  3. 3I.R. Camera x2
  1. 4Industrial Robotic Arm x2
  2. 5Landing Platform
  3. 6Tension Mechanism
7
KUKA effector exchangeKUKA effector alignment
KUKA robot winding fibres

KUKA Robot Programming

Two KUKA industrial robotic arms were programmed in KRC4 language (low-level), which made finding a flexible software architecture a crucial part of this task.

The outcome of this research was a scalable architecture in which we could invoke different modules and pass parameters in real-time over the network. This customized structure of the KRC4 code made it easy to maintain and easy to introduce new functionalities, which were an essential part of our work-flow in the research pavilion.

In this system, a developed ROS package (KUKA_IO) was responsible for establishing the RSI communication between ROS master and KUKA robots.

Effector Exchange Procedure

One of the most dynamic implemented behavior of KUKA robots was the process of aligning the gripper with the unpredictable position of drone and grabbing the effector. To do so, mounted I.R. Cameras on KUKA robots were able to capture the position of two I.R. LEDs on the drone. These points (black dots) were passed over ROS to Grasshopper, which compared them with calibrated position (green dots) and calculated the correction angle and translation toward the grabbing position.

It should be mentioned that this process was initially developed by Benedikt Wannemacher and Hans Jakob Wagner.

8
Fabrication control roomDashboard web application

Communication System

The number of agents involved and their coordination was adding to the complexity of this fabrication process in which the distributed architecture of ROS showed its real power for robotic application.

This ecosystem consisted of a number of native ROS-based software and non-native ones such as Grasshopper and Web applications which were able to seamlessly communicate with the server over RosBridge.

Bengesht W.S. component

Websocket function functionality of Bengesht plugin was introduced during Research Pavilion development allowing a seamless communication between Grasshopper and ROS.

Web Applications

WebSocket API created the opportunity to bring web application into fabrication control software clusters. Task_IO was the main software coordinating different functionalities. The software was able to publish a set of parameters to a specific topic in a sequential manner. Moreover, Dashboard_IO allowed users to control KUKA robots and their grippers and Tension mechanism out of predefined sequence which was a crucial part debugging process.

Vocal communication

Use of text-to-speech technology showed an unexpected success for creating and intuitive way to inform users about different agents status.

9
Drones assembling smart units

CYBER-PHYSICAL
MACRO MATTER

Our final ITECH thesis project explores a new paradigm of using robots in architecture by merging the line between the builders and building material. This can open new possibilities for adaptive construction methods and behaviorally programmed reconfigurable architecture.

The cyber-physical material structure is comprised of smart digital units built from lightweight carbon fiber filament with integrated electronics for communication and sensing, which operate alongside a collection of autonomous aerial vehicles ‘builders’.

Communication Setup

A multi-layer communication network is developed to establish communication between different agents. The messaging method of each layer is chosen based on hardware limitations and possible communication protocols.

The communication between units happens over I2C consists of two wires. Theses low-level messages at higher levels are sent to a server computer over serial communication. From that point, the messages are dispatched to other agents over higher-level protocols such as WebSocket and UDP based on client requirements.

Mobile app controlling the units
10
Smart unit anatomyUnit fabrication

Unit Design

The physical units (digital material) is a six faces polyhedron space frame made of carbon fiber. This design is the result of different agents' limitations and capabilities.

CFRP (Carbon fiber reinforced polymer) skeleton provides a very high ratio of covered area to weight. The size and uplift force of the builder determines The weight and size of each unit. The design of embedded electronics and their in-between connections determined The number of units sides. The internal structure was based on structural analysis and winding procedure and requirements.

The fabrication process needed us to work with advanced fabrication techniques such as CNC milling, 3D printing, and carbon-fiber production.

11
Hexacopter builder in flight
Drone partsFlight control interface

Drone Development:

The aerial builder robot was hexacopter designed to fit the requirements of the proposed system by taking the unit in size and payload into close considerations. The mounted gripper matched the geometry of the material and introduced positioning flexibility to counteract possible imprecision of the unit geometry inherent to a winding fabrication process.

Positioning:

HTC Vive tracking system was utilized as an external positioning system. Thanks to this system, we were able to calculate the velocity and acceleration of drones in each frame. To detect the position of each unit, a positioning system based on IR Camera and 4 IR LED on each unit was developed.

Control System:

Our customized PID controller was capable of calculating the velocity vectors and the output channel values for the radio transmitter. Later, an Arduino board was responsible for generating the correct PPM signal and sending through a transmitter to the drone. This approach allowed us to coordinate flight behavior with the other agents in this system.

12
Installation at Ars Electronica Center

Cyber Physical Macro Matter at Ars Electronica Center

Our thesis project has been displayed at Ars Electronica center in Linz, Austria as part of “Creative Robotic 2018” exhibition. This exhibition presents a collection of projects in which robotic systems are being used outside of the industrial realm.

Consisted of four columns and 50 smart units, this installation shows the architectural potential of such a system in larger scale.

13
Flectofold demonstrator at Schloss Rosenstein

FLECTOFOLD DEMOSTRATOR
AT SCHLOSS ROSENSTEIN

Flectofold is a compliant façade shading system. In this bio-inspired material system, the mechanical hinges have been replaced by a simplified curved-line folding geometry with distinct flexible hinge-zones.

Baubionik exhibition at Schloss Rosenstein/ Stuttgart was an opportunity to display the advancement of Flectofold on a proto-architecture scale.

Designed and fabricated by researcher Saman Saffarian, this demonstrator depicted the possibilities of using this shading device in real-world architecture.

The control system enables the driving of modules in an individual or synchronized fashion, based on active user input or pre-programmed sequences.

My Contribution:

The multi-layer control system (software and hardware) starting from Festo pressure valves to high-level user interface was the area I had the chance to contribute the most.

The user interface consisted of a server-side software responsible for communication with embedded software and a client-side web application to change control-modes and visualize the current state of each panel.

The embedded software running on Arduino board was responsible for conversion from high-level commands coming from server software to low-level one-byte data and send them over SPI protocol to the targeted digital potentiometer.

Each digital potentiometer was designated to one Flectofold which was able to output a range of voltage indicating the goal pressure of Festo pressure valves.

Control system diagram
14
Flectofold panels in the exhibition hall
15
Milling the control boardSoldering the control board

Hardware Design & Fabrication

Digital pressure regulators (Festo VPPE) were used in this project to control the amount of pressure in each integrated pneumatic cushion. These valves can be controlled precisely by applying an electrical voltage which will be mapped to targeted pressure. Based on our experiment we realized a digital potentiometer can be used to generate a stable regulated current. These components can be controlled over SPI protocol.

The final step was to produce a board consist of 36 digital pot and an Arduino [Mega] board. The Arduino board was programmed to dispatch incoming command over serial to the targeted digital pot by activating its slave select pin.

Communication & Interface Development

To show the controllability of this system, I created a web-based interface. This web application was connected over WebSocket to the main control software running on a RaspberryPi. This software was able to filter invalid inputs, apply control logic, generate a binary command and dispatch them over serial to the Arduino board.

This software was the result of my experience with ROS and KUKA sunrise programming. Written in Java, this software was consisted of nodes and topics inspired by ROS (publisher/ subscriber pattern). this package was capable serialize/deserialize any Java object to/from JSON Objects and make the web-socket communication possible.

16
Pneumatic control board
17
Bengesht Grasshopper components

BENGESHT PLUG-IN
FOR GRASSHOPPER

Bengesht is an open-source assembly for Grasshopper, which represents some of the milestones in my study/career as computational design enthusiasm.

Muqarnas/Geometrical functionalities

The curves related components of Bengesht are initially created to simplify the process of modeling Muqarnas.

As a teaching assistant in the “Measurement & Recordings of Historic Buildings” course, I was encouraged to work on simplifying the modeling process of decorations in traditional Iranian architecture. Observing the steps taken by my students, I broke down the process of modeling Muqarnas geometry into individual pieces, and their collection created the first version of Bengesht assembly.

HTTP Server/Web interfaces for Grasshopper

To make the communication between web applications and Grasshopper possible, I developed HTTP server components. Web applications can pass parameters to a Grasshopper script as running an HTTP server. Later, the Grasshopper solution sends back the result of the calculation as an HTTP response.

WebSocket/Grasshopper as a ROS node

These components of Bengesht can handle a communication (send/receive) with a server over the WebSocket protocol. Using these modules, Grasshopper can be plugged into a ROS based network of parallel processes. RosBridge is a ROS package which serves as a WebSocket server on the ROS side.

Use of Bengesht to com-munication with drone inResearch Pavilion 2016-17©ICD/ITKE, University ofStuttgart

Drone flight controlled through Bengesht
18
A. Bot robot with Android phone

A. BOT PROJECT
ANDROID AND ARDUINO

A. Bot is an autonomous robot that we developed during our Behavior-Robotic seminar. In this project, we explored how we can use and Android phone as our onboard computer. Being portable, compact, and robust with several onboard sensors made Android devices interesting for me.

In the first step, We developed Arduino Bridge which is a generic communication application between an Android device and an Arduino board. Having a

bidirectional UDP connection we were able to read/ write data from/to the Arduino board remotely over the network.

A.Bot project was formed on top of the Arduino Bridge to explore how we can integrate embedded Android phone sensors to autonomously control robots. In this case, we used ArToolkit for localization, and the robot was able to navigation itself toward a destination.

Communication with RVIS

RViz and terminal output
19
LbrLy visual programming editor

BLOCLY FOR
PROGRAMMING KUKA IIWA

Developed at MZ Motion Design, LbrLy (name of the web application) is an educational visual programming application for online control of a Kuka iiwa. User can compose a program by connecting visual blocks and execute it instantly on the robot. Blockly framework is the foundation of these blocks.

Users without any programming background can easily experience different motion commands with advanced parameters such as impedance mode and

error handling. At the same time, they can read the generated Java code of these blocks which helps them learn and experiment with the Java syntax.

Moreover, the bidirectional communication between the robot controller and the web application allows real-time monitoring of joint positions and torque value. The programming blocks can read these real-time data enabling users to create complicated and responsive procedures.

KUKA iiwa picking bottles
20
TS3 configurator

TS3 CONFIGURATOR
WEB APPLICATION

“The new Timber Structures 3.0 technology (TS3) bonds timber components made of solid wood, glulam, or cross-laminated timber on the front side. This means that point-supported, multi-axis load-bearing panels or tiled slabs can be created in any shape and size.” (source: ts3 website)

As a frontend designer and developer at Design-to-Production, I had the chance to work on creating a web interface for displaying specifications of TS3 technology. Users can specify the column span and the load requirements, and the application will

output the required slab thickness. The interface is capable of drawing a plan, section, and FEM analysis of that specific TS3 slab.

React for Frontend

Different react and page events had to be taken care of to achieve a performative generation of SVG drawings and animations. The illustrations are adapting to their container sizes instead of being scaled. As a result, the text size will stay readable even on small screens.

Dynamical Generated SVGand Canvas Images

FEM gradient and slab section drawings

RFEM exporter, HTML Canvas:

The FEM deformation gradients are drawn dynamically based on their canvas size. An application, written in C#, converts the FEM models into a JSON file, which will later use to draw the analysis onto an HTML canvas.

Using the COM API of Dlubal RFEM, This application is capable of cycling through a set of RFEM files, run the calculation if required, and export the resulted mesh into the JSON format.

21
nextoffice.ir home page

NEXT OFFICE
OFFICIAL WEBSITE

Next studio is a well-known architecture office based in Tehran/Iran led by Dr. Alireza Taghaboni. In 2014 I started working there as an architect. Later I got involved with the design and development of their new official website. Being familiar with the office workflow and projects, I tried to create a website that reflects their work in the best way. The idea was to develop a documentation and automation system instead of just a place for showcasing projects.

Responsive Design: The adjustment of the templates for smaller screens (smartphones, …) was an ongoing process parallel to the main template. As an example, the projects’ archive page serves an optimized version of images for the smaller screens. Moreover, This adjustment influences the whole user interaction method. Touch gestures are implemented into templated such as the gallery page.

Responsive templates ona vertical screen

Mobile menuMobile projectMobile gallery
22
Project detail pageProjects map
23
Garden of Harmony installation

GARDEN OF HARMONY,
AN INTERACTIVE INSTALLATION

As a Unity programmer at MZ Motion Design, I had the privilege to work on content creation for “Garden of Harmony” project. This interactive installation is a permanent show at International Changi Airport.

The show consisted of ten different views of a magical forest in which the creatures were reacting to users inputs. The show consisted of three parts:

  • •The first part was displaying a daytime state with sun rays, tropical trees, and glowing particles.
  • •As the visitors started to interact, this state would slowly transition into a night time with glowing and the magical plants.
  • •The further stimulation by the users was triggering the last part of the show in which the cameras were panning up, and an exciting animation would be displayed. This part was the only pre-rendered video in of the show.

Accompanied by interactive soundtracks, this show provides an immersive experience for the visitors.

My Contribution

I was mainly responsible for modeling the and scripting of the forest scenes under the supervision of Mr. Marcos Zevallos.

To make the transition between day and night mode possible, I designed a simple mechanism in which different properties of components could be connected to a globally controlled value. The outcome was a smooth and controllable transition by changing the lights, post-processing effects, wind, and particles.

The most challenging aspect was to develop tree shaders which were capable of transitioning between multiple textures.

Moreover, I had the chance to work on the virtual version of the event room, in which clients could experience the outcome by wearing HTC VIVE gears.

Visitors interacting with the installation
24

Thank you

Find out more about my projects at:

B-TZ.COM
25