Home

Awesome

<a href="https://107-systems.org/"><img align="right" src="https://raw.githubusercontent.com/107-systems/.github/main/logo/107-systems.png" width="15%"></a> L3X-Z

Spell Check status

This is the digital home of L3X-Z (lɛɡz), a mixed electric/hydraulic hexapod robot.

All software components are built to leverage ROS2 Humble Hawksbill.

All real-time intravehicular communication is provided via Cyphal / CAN using 107-Arduino-Cyphal.

<p align="center"> <a href="https://github.com/107-systems/l3xz"><img src="https://raw.githubusercontent.com/107-systems/.github/main/logo/l3xz-logo-memento-mori-github.png" width="40%"></a> </p>

Video

<p align="center"> <a href="https://107-systems.org/elrob-2022/2022-05-31-ELROB-2022-Alex-02-compressed.mp4"><img src="2022-05-31-ELROB-2022-L3X-Z.jpg" width="40%"></a> </p>

Articles

How-to-build

cd $COLCON_WS/src
git clone https://github.com/107-systems/l3xz
cd $COLCON_WS
source /opt/ros/humble/setup.bash
colcon build --packages-select l3xz

How-to-run

L3X-Z Hexapod Robot

cd $COLCON_WS
. install/setup.bash
ros2 launch l3xz robot.py

Control Station

cd $COLCON_WS
. install/setup.bash
ros2 launch l3xz control.py

Repositories

Host Software
Robot Software
Firmware
Hardware
CAD
"Dragonbeard" pan/tilt color/thermal imaging head

Configuration

Network Configuration ENRICH 23

ComponentIP
L3X-Z Raspberry Pi 4 (Ethernet)192.168.88.4
L3X-Z Pan/Tilt Head192.168.88.5
L3X-Z Raspberry Pi 4 (WiFi)192.168.88.6
L3X-Z Control PC (Ethernet)192.168.88.9
L3X-Z Control PC (WiFi)192.168.88.10
L01S Robot192.168.88.101
L01S Control192.168.88.102
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.88.6
netmask 255.255.255.0
#!/bin/bash

SSID=$(/sbin/iwgetid --raw)

if [ -z "$SSID" ]
then
    echo "`date -Is` WiFi interface is down, trying to reconnect" >> /home/pi/wifi-log.txt
    sudo ifconfig wlan0 down
    sleep 30
    sudo ifconfig wlan0 up
fi

echo "WiFi check finished"

Network Configuration ELROB 22

ComponentIPNotes
MikroTik "Base Station"192.168.88.2 (Bridge-IP)(station bridge, nv2, pre-shared-key, l...)
MikroTik "Robot"192.168.88.1 (Bridge-IP)(bridge, nv2, pre-shared-key, l...)
Robot Rasperry Pi (Ethernet)192.168.88.5
Control PC (Ethernet)192.168.88.3
Note: MikroTik RBMetal5SHPn.

Cyphal Configuration

How-to-config via yakut

Install and configure yakut:

. setup_yakut.sh

Dump all write-able registers into cyphal-config-raw.yaml:

y rl 11,12,13,14,15,16,20,30,40,50,60 | y --yaml rb --only=mp > config/cyphal-config-raw.yaml

Format the YAML file for better human readability via pyyaml:

pip install pyyaml
python -c "import sys,yaml;yaml.dump_all(yaml.load_all(sys.stdin, yaml.Loader), sys.stdout)" < config/cyphal-config-raw.yaml | tee config/cyphal-config.yaml

Edit to file for your desired network configuration and write back:

y rb --file=config/cyphal-config.yaml

Store configuration into persistent storage and restart.

y cmd 11,12,13,14,15,16,20,30,40,50,60 store
y cmd 11,12,13,14,15,16,20,30,40,50,60 restart
l3xz-leg-ctrl-firmware
Port IDDSDL TypeNode IDTypeDescription
1001Uuavcan::si::unit::angle::Scalar_1_011PubLeft/Front Femur Angle Actual / rad
1002Uuavcan::si::unit::angle::Scalar_1_011PubLeft/Front Tibia Angle Actual / rad
1003Uuavcan::primitive::scalar::Bit_1_011PubLeft/Front Tibia Tip Switch
1004Uuavcan::si::unit::angle::Scalar_1_012PubLeft/Middle Femur Angle Actual / rad
1005Uuavcan::si::unit::angle::Scalar_1_012PubLeft/Middle Tibia Angle Actual / rad
1006Uuavcan::primitive::scalar::Bit_1_012PubLeft/Middle Tibia Tip Switch
1007Uuavcan::si::unit::angle::Scalar_1_013PubLeft/Back Femur Angle Actual / rad
1008Uuavcan::si::unit::angle::Scalar_1_013PubLeft/Back Tibia Angle Actual / rad
1009Uuavcan::primitive::scalar::Bit_1_013PubLeft/Back Tibia Tip Switch
1010Uuavcan::si::unit::angle::Scalar_1_014PubRight/Back Femur Angle Actual / rad
1011Uuavcan::si::unit::angle::Scalar_1_014PubRight/Back Tibia Angle Actual / rad
1012Uuavcan::primitive::scalar::Bit_1_014PubRight/Back Tibia Tip Switch
1013Uuavcan::si::unit::angle::Scalar_1_015PubRight/Middle Femur Angle Actual / rad
1014Uuavcan::si::unit::angle::Scalar_1_015PubRight/Middle Tibia Angle Actual / rad
1015Uuavcan::primitive::scalar::Bit_1_015PubRight/Middle Tibia Tip Switch
1016Uuavcan::si::unit::angle::Scalar_1_016PubRight/Front Femur Angle Actual / rad
1017Uuavcan::si::unit::angle::Scalar_1_016PubRight/Front Tibia Angle Actual / rad
1018Uuavcan::primitive::scalar::Bit_1_015PubRight/Front Tibia Tip Switch
l3xz-aux-ctrl-firmware
Port IDDSDL TypeNode IDTypeDescription
2001Uuavcan::primitive::scalar::Bit_1_020PubEmergency Stop
2002Uuavcan::primitive::scalar::Integer8_1_020SubLight Mode
l3xz-radiation-sensor-firmware
Port IDDSDL TypeNode IDTypeDescription
3001Uuavcan::primitive::scalar::Natural16_1_030PubRadiation Tick Count
l3xz-valve-ctrl-firmware
Port IDDSDL TypeNode IDTypeDescription
4001Uuavcan::primitive::array::Natural16_1_040SubServo Pulse Width / us
Zubax Robotics Orel 20
Port IDDSDL TypeNode IDTypeDescription
5001Ureg::udral::service::common::Readiness_0_150SubReadiness
5002Ureg::udral::service::actuator::common::sp::Scalar_0_150SubRPM Setpoint
l3xz-pressure-sensor-firmware
Port IDDSDL TypeNode IDTypeDescription
6001Uuavcan::si::unit::pressure::Scalar_1_060PubHydraulic Circuit #0 Pressure
6002Uuavcan::si::unit::pressure::Scalar_1_060PubHydraulic Circuit #1 Pressure