Ethan’s Status Report for 11/14
This week, I have been relatively productive. The following was done.
- Build second fully functional crawler, calibrated the sensors, and got latest software running on it
- Implemented software for repeater drop mechanism. The repeater tells the robot when it needs to be dropped. Tested software in wean3 and techspark and it seems to be work.
- Implemented lightweight gradient based obstacle detection that takes the heatmap from residual model as an input. Gradient then separates the floor from non floor objects, and non floor objects that are too close to the crawler are flagged as obstacles.
- Gradient based onstacle avoidance is able to work robustly in very dense and visually confusing areas like hh1307. After a very basic obstacle avoidance algorithim is implemented using my obstacle detection, my robot generally did not hit any obstacles in hh1307.
Pheudocode for basic obstacle algorithm
while (true)
while (has_obstacle)
turn_in_place(step)
move_forward(step)
The below screenshot shows how my gradient is able to tell what is the flat ground (shaded blue), and what is not ground and are potential obstacles.

Next week’s tasks:
- fully integrate repeater drop
- Help Ben and Alden with anything they need
Ethan’s Status Report for 11/7
This week, I have been relatively productive. The following was done.
- Tested Repeater Teleop. When I started testing this week, the systems suddenly stopped working. It turned out this was caused by a bug in Reticulum itself where a repeater can send packets+announces to a stale interface rather than the current interface (thanks Claude for investigating and finding this). Another issue was that there was a cap on announce rates in the system, meaning that we stop forwarding announces. I removed that cap.
- Tested Servo dropping mechanism: I was concerned that our solenoid dropping mechanism lacked the strength to drop repeaters. This is a blocking issue because we want to finalize the mechanism before we build the second full crawler, but I need a second full crawler ASAP for me to help Ben with Obstacle Avoidance. Hence, I decided to experiment with servos. A couple key findings.
- The servo has enough strength to drop the repeaters. At 5v, it is able to apply a torque of 1.6kg*cm. Our repeater are less than 500g.
- In my own tests, it is able to lift a box with a 18100 breadboard+some wires using a 3.3v power supply. It drew no more than 300mA during that operation, making it realistic for us to power it off battery. However, 300mA means we probably should not use the periferals on a pi to power this.
- However, one issue is which battery. Integrating the servo might be challenging.
- The motor drive battery: possible but we need a buck. Roboclub has 3.3v bucks, but their maximum input voltage is 11.8V. Our battery can be 13.7v on full charge. I tried to test the 3.3 buck to see if it can operate above its maximum voltage, and burned it when I applied 13.7v to it.
- The pi5 powersystem: my opinion is we do not touch the pi5 power system now that we got it working
- The 3.7v 18650 in the lora board. Possible, but we don’t know if it would cause the lora board to brownout.
I What I fell behind on:
I did not port rebase my repeater changes with Ben’s WIP code. However, since Ben is actively modifying his code, I believe I should only start this task after he reached a stable point
Next Week’s Task
- Building a second and maybe a third full crawler is a priority.
- Help ben with obstacle avoidance and full system integration for odometry + obstacle avoidance
Media
Reticulum + Repeater Teleop outdoors
Network Recovery when Repeater Goes Down
Full Repeater Teleop that Shows Us Switching Repeaters
Ethan’s Status Report for 10/31
This week, I believe I resolved the issues I was experienceing with repeater teleop last week. Currently, the crawler can
- Be remote controlled using by a mac using a chain of 2 repeater
- Crawler switches repeater wifi when 1. wifi strengh goes below 65% threshold or 2. wifi AP is gone (ex. when repeater dies)
Tasks Next Week
- Test repeater teleop
- Right now, I am working on a branch of the crawler code and Ben is working on another branch. I need to rebase the code
AI Citation: Again, AI wrote essentially all our code, and we heavily used AI in our project because we have so many moving parts.
Ethan’s Status Report for 10/24
This week was a relatively productive week. The following was completed
- Buck converter I ordered last week works (tested by Ben). It is able to power the PI even under full load with NEON/SIMD on (gemm4 workload)
- Got the motor running on the robot and controlled by the PI. The encoder works
- Got basic teleop working on the crawler using my phone hotspot
- PID is now avalible on the crawler
- Intergrated teleop to pubsub code of robot and reticulum. Meaning that we are now able to control the crawler using reticulum, and the motor driver suscribes to the central networking node.
- Got repeater teleop sort of working. Though there are issues, such as the crawlers annouce got lost.
Tasks new week
- Fully implement repeater teleop
- Help Ben with his intergration.
Media
Full Motor Test
Teleop_V0
Teleop_V1
Ethan’s Status Report for 10/17
We hit an unexpected bump because we are not able to power the pi5 using our current powertrain. I did the following (much more detail in slack)
- Identified and fixed the issuehind this
- Our boost converter was bad and cannot actually power the pi at high currents. Fixed this by testing new boost converter from roboclub
- Using a single 18650 might not be enough current wise. Tested that 18650 can provide 1.8A, but not sure if we can go over that. We will likely need 4 18650s. Therefore, we should probably use a buck instead and connect the pi to our motor battery. Order the buck with my own money to test.
- Used AI to design benchmarks to stress the pi5 cpu. Found that should draw no more than 2As (drew 1.8A when running gemm4 using NEON/SIMD on all 4 cores).
- This also helped us determine that wire resistance is nontrivial. We have experienced brownouts when the CPU is stressed/high current because the wires drew too much current and therefore dropped too much voltage.
- Since our pi should draw no more than 2A, a powerbank might be enough to power the pi. I bought a 2.4A powerbank and it seems to be able to power the pi reliably and run the gemm4 workload without brownouts or low voltage warnings. This is also cheaper than our buck converter.
Part A:
There are many global factors for our project and our project is intended for a scope beyond Pittsburgh or CMU. Our project is meant to be a testbed to evaluate reticulum’s viability in robotics, which can be considered academic. However our project is also a search and rescue robot whose key feature is a highly flexible network stack, meaning that it could be used with an variety of situations all over the world. Additionally, our important goal is that our project is built using readily accessible parts that are cheap, making this ideal for use by anyone across the world. After all, many institutions cannot afford to deploy robots that are over 10k each, but a $600 robot changes the affordability issue significantly.
What I fell behind on
- Get motor fully set up (encoder), I tried to work on this on saturday, but techspark is closed.
Next Weeks tasks
- Get remote controll working on 1 motor with the pi.
Ethan’s Status Report for 10/10
I spent most of this week working on the design report, so did not get that much work done. My main accomplishment was to get both pi5s set up and test pubsub on the pi5s. Then, I had the 2 pis communicate with one another over pubsub + reticulum using my home wifi.
What I fell behind on
- Get motor fully set up (encoder)
Next Weeks tasks
Get remote controll working on 1 motor with the pi.
Ethan’s Status Report for 10/3
I accomplished the following this week
- finished reticulum V0 software, network can repair itself in about 30s if a router dies
- The current architecture of the router means that the router chain might break if a router dies and rejoins. This is because a router wifi will always be set up before it’s reticulum is configured. Downstream routers send announces immediately when it changes the AP it’s STA connects to, but that annouce will be missed by as reticulum is not yet set up on the router that just went online. This can potentially be solved by having the router send a broadcast message asking everyone on the network to annouce, but the tradeoff is that it costs extra bandwidth
- I believe issue 1 should not impact us much on our MVP demo, so I will shelve it for now.
- Tested mac –(gestalt4_hotspot)–>pizero4_router –(gestalt3_hotspot)–>pizero3_router –(gestalt2_hotspot)–>pizero2_client. If I unplug pizero3_router, the system will automatically reconfigure itself to mac –(gestalt4_hotspot)–>pizero4_router –(gestalt2_hotspot)–>pizero2_client in 30 seconds.
- Decided to use the AI coded pubsub rather than implementing it from scratch
What I fell behind on
- Set Pi5 to run Gestalt repo code + get AP_STA mode set up on Pi5
- Get motor fully set up (encoder)
Next Weeks tasks
- Help Ben with building and integrating first robot chassis.
- Potentially start running slam + IMU on the Pi?
- Potentially give routers LORA support?
AI Citation: Summary: I used AI very extensively it is essentially a work buddy.
Ethan’s Status Report for 9/26
This week was not as productive as last week, the following is accmplished
- Test the basic hello world server on multi hop to see how announces work, one important learning was that transport nodes can automatically forward announces despite not announcing themselves.
- Reticulum software_V0 is almost implemented. This turns out to be more complicated than I expected (specifically bullet 2) It can do the following
- automatically find the best parent network to connect to
- After the network topolgy is changed, it can tell it’s children to reannounce themselves.
What I fell behind on
- Create Basic pubsub framework, but there is currently a debate on wether to reimplement pubsub from scratch, or use the current AI-Coded one that Ben uses in his tests. There are pros and cons of each case, will need to talk to Ben next week to make final decision
- Set Pi5 to run Gestalt repo code + get AP_STA mode set up on Pi5
Next Weeks task
- Finish up router software
- Test router software
- Settle debate over whether I should implement pubsub
- Start some motor work (motors arrived)
AI Citation: Summary: I used AI very extensively it is essentially a work buddy. Here are some of the notable contributions
- I architected what the router software should look like and what to do with announces after topology changes (ex. a router died). I essentially gave it rough phusedocode highlighting the key functionality + design intent, then AI wrote the router software implementation and got it to run on the pi0s. The then reviewed all the code AI generated.
- AI explained/summarized what is currently there is the Gestalt repo
Ethics Question: Part C
This part is probably the least relevant compared to part A and B because the main purpose of this project is to help in disaster scenarios and save lives. The specific need is that rescuers are often extremely short staffed and overextended during times of disaster because there are not enough resources allocated to them (see guardian article). After all, it is not easy to find individuals with the necessary training, and the government must provide them with equipment to protect them from hazard, which is very expensive.
Therefore, an economic argument can be made for this need because the issue with overextension is largely contributed by poor resource distribution to rescuers; our project aims to make search and rescue more efficient and safe, which helps alleviate this bottleneck. First, our robots are able to explore areas for rescuers and therefore reduce part of their burden. Additionally, each crawler is relatively cheap and replaceable. Beforehand, a human rescuer might need to risk his/her life to explore a dangerous area. Our crawlers can be used for the riskiest parts and therefore reduce the time needed for humans rescuers to be in danger.
Ethan’s Status Report for 9/19
This week was quite productive. The flowing was accomplished
- Learned about the high level basics of pubsub
- Got a reliable way to set up AP-STA mode in pi0s (2 scripts)
- Got reticulum to run on AP-STA mode pi0s, and
- reticulum is able to set data either downstream through AP or upstream through STA
- Reticulum is able to detected devices either downstream or upstream in using RNSatus
- Tested the following
- Pi0 has good wifi range (at least 20-30 meters, if not more)
- Reticulum is able to send packets and natively support multi hop
- MacA —(gestalt-3 hotspot)—> pi3 —(gestalt-2)—>pi2, macA can send packets to pi2
- MacA —(gestalt-3 hotspot)—> pi3 —(gestalt-2)—>pi2 —(gestalt-2)—> macB macA can send packets to macB, if macB instead connects to gestalt-3, reticulum will notice and adjust, but probably first doing an announce
- Implemented a basic basic hello world server/client using reticulum API to better understand how announces work
What I fell behind on
- Test the basic hello world server on multi hop to see how announces work
- Read more on pubsub
Next Weeks tasks
- Create script to let router connect automatically to parent router when it turns on. In the MVP, this will be done by by having the router search for the hotspot whose id is 1 more than the id of the router
- Create basic pubsub + protobuf framework
AI Citation: Summary: I used AI very extensively it is essentially a work buddy. Here are some of the notable contributions
- AI did the following (I might have missed something)
- Created scripts (python+shell) to set up AP-STA mode, this is essentially a stream of linux commands that sets up a bridge and disables features such as multicast in our network driver (multicast breaks reticulum for some reason).
- Created a very simple shell script to quickly connect a pi to a network
- AI also helped created the skeleton of the hello world server/client, which I then modified for it so that the user can control when to announce + send data
- AI taught me pubsub + protocol and the advantages of them. I have never encountered these before so I learned a lot.
