<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Christian Fritz on Medium]]></title>
        <description><![CDATA[Stories by Christian Fritz on Medium]]></description>
        <link>https://medium.com/@chfritz?source=rss-e20e17e866d2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*J0Rl6b6_vL49EhlvGlKatA.png</url>
            <title>Stories by Christian Fritz on Medium</title>
            <link>https://medium.com/@chfritz?source=rss-e20e17e866d2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 23:37:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chfritz/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[A Full-stack Platform for Robotic Applications]]></title>
            <link>https://chfritz.medium.com/a-full-stack-platform-for-robotic-applications-94ad1f93b25a?source=rss-e20e17e866d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/94ad1f93b25a</guid>
            <category><![CDATA[robotics]]></category>
            <dc:creator><![CDATA[Christian Fritz]]></dc:creator>
            <pubDate>Fri, 05 Feb 2021 22:47:22 GMT</pubDate>
            <atom:updated>2021-02-08T19:33:09.321Z</atom:updated>
            <content:encoded><![CDATA[<p>Robotics is hard. And creating, operating, and scaling a robotics business is even harder. Not only is your agility in testing market fit handicapped by the fact that your product involves hardware that isn’t easily changed; you also realize quickly that “everything” in Murphy’s Law means <em>everything</em>, and hardware failures, which require an engineer to fly somewhere to fix a robot, are only a small part of that.</p><p>And then there is software. For your fleet of robots to function and for you and your team to deploy, operate, and maintain it, a lot of software is required. ROS, the Robot Operating System, is great because it provides a platform for the robotic needs and a lot of packages one can use to get started quickly. But there is so much more! We all appreciate a robot that stays localized and navigates gracefully. Achieving this 99.9% reliably is no small feast and can take many years of tuning. But an application that is of value to a customer requires a lot more and so does the operation of a large fleet of robots. Robotic applications need to integrate with infrastructure, other software systems, and also expose user interfaces for a variety of user-types. Consider the example of a delivery robot operating in a hospital. It needs to ride elevators, open automated doors, and provide graphical interfaces for various users, including delivery senders and receivers, by-standers, supervisors and administrators, and remote field operators. Some of these UIs need to be on a display on the robot itself, others available via dashboards in the cloud, and yet others are meant to be used via mobile devices.</p><p>The following figure lists some of the software capabilities that robotics and other autonomous vehicle companies need in order to operate large fleets of robots. Like many people in the industry, we have seen and felt these needs first-hand and as a result have developed those capabilities, sometimes multiple times for multiple companies ourselves.</p><figure><img alt="List of capabilities." src="https://cdn-images-1.medium.com/max/1024/1*vjZmBkgRLLhz5XoaR2okpw.png" /><figcaption>Deploying and operating a fleet of robots requires a lot of software.</figcaption></figure><p>Only a small fraction of these are capabilities for the robot itself. The vast majority span multiple systems. For instance, the ability for a robot to ride elevators typically requires software running on an on-prem server, software running in the cloud, and application logic on the robot. The on-prem server, which is physically connected to the elevator controller, needs to receive requests from the robot (e.g., call elevator to Floor 3) and translate them into requests to the elevator controller. It also needs to provide status information back to the robot (e.g., current floor is <em>Lobby</em>, doors are <em>open</em>). The robot needs to know which elevators connect which floors, how to call them, how to maneuver in and out of each car, how to behave when the elevator appears too full to enter, etc. Finally the cloud software needs to provide a GUI for defining elevators on maps, indicating which map belongs to which floor, and of course a lot of status and health information about these elevators that will allow the remote field operations team to detect and analyze problems — you’d be surprised how often elevators fail without people noticing!</p><p>Neither ROS nor any other software platform we know of addresses this breadth of needs across multiple systems, and as a result, the above capabilities do not exist as commercial-off-the-shelf or open-source modules that robotics companies can use. Instead, each robotics startup independently recreates these capabilities in house, reinventing the wheel over and over again, both in terms of the platform and infrastructure as well as the capabilities themselves.</p><p>Another thing that is striking about the above list is that very few of these capabilities provide differentiation for the companies who build and use them. Many of these are just table-stakes (e.g., map editing) or are tools only used internally for efficient operation of the fleet (e.g., health monitoring), making it even more unnecessary for companies to implement them in isolation without sharing. Money spent on building and maintaining these takes away from their ability to execute on their core competencies.</p><p>If this feels like the pre-ROS era when every new robotics project began by creating their own robotics framework, then that’s because it is. There’s gotta be a better way.</p><h3>A Platform with Capabilities</h3><p>We believe the best approach to address this need is to design and build an open, full-stack platform for robotics applications and a repository of commonly needed capabilities that runs on top of that. Capabilities can be distributed via packages whose components may span the entire stack including robot, on-prem servers, cloud, and user-interfaces, as opposed to just one of these systems as is the case today. We also envision the platform to explicitly support several time-frames, including development time, test-, build-, various stages of run-time, and post-hoc analysis. Logically continuing on the design principles of ROS, the platform extends ROS’ data abstractions and communication modalities to all of these systems. It provides selective data synchronization, on-demand data fetching, and remote procedure calls across systems. It includes a front-end framework for creating reusable UIs components. A company using a package can hence quickly add new elements to their <em>existing</em> UIs, providing access to the capabilities the package provides. That last piece is important: companies don’t like switching-costs, and users don’t want to use separate UIs for separate tasks either. To address this, packages on the platform provide reusable web components that can be easily embedded in existing web applications, or native UI components for Android, iOS, or desktop operating systems. For those who want to get started even more quickly, the platform includes a ready-to-go default UI that is auto-populated by all the UI components installed by packages.</p><figure><img alt="Screenshot of a teleop application." src="https://cdn-images-1.medium.com/max/428/1*lwb1UPtcjC8KXj3HOyZR8w.jpeg" /><figcaption>Screenshot of a simple remote-teleop UI with low-latency video streaming built from components provided by packages.</figcaption></figure><p>As an example, consider a remote-tele-operation package. On the client side this package provides a soft-joystick UI component that can be used on a smartphone or other touch-enabled device to accurately control linear and angular velocities of the robot. The package also provides a video display component that shows a live-stream of the robot’s camera(s). On the robot, this package contains two components: one that receives velocity commands from the soft-joystick via the platform-provided data layer, performs liveness and safety checks, and sends motor commands. A second component opens a video stream from the robot’s camera(s), processes the video to reduce resolution and color depth, and compresses the stream for sending it to all subscribed clients via the cloud. All along this chain the package ensures that low-latency requirements are met. Because when you are remotely joy-sticking a robot that is half-way around the world, connected to the Internet over a sometimes flaky LTE connection, you want to be certain that what you see is as close to real-time as possible. Otherwise, the control commands you send may have unintended consequences:</p><figure><img alt="An illustration depicting a robot falling down stairs." src="https://cdn-images-1.medium.com/max/600/1*-WBm9TqPrMsoyNkaMd9i_g.png" /><figcaption>Certain types of failures in robotics, such as falling down stairs, can be catastrophic and even lethal and hence must be avoided at all cost.</figcaption></figure><p>Given this package, other companies can add a simple but very effective remote-teleop capability to their robotic application in less than an hour, rather than the several weeks or months it would take to re-create it from scratch.</p><p>The following image depicts the conceptual architecture we envision. In addition to the elements already mentioned, i.e., the on-robot agent, on-prem software, cloud instance, UI framework, and communication layer, the platform also provides a package manager for easy installation or packages. Packages can contain components for any subset of the four systems: it is this feature that sets this architecture apart. The ability to bundle components that work together across the various systems is what enables developers to provide complete robotic capabilities, not just pieces of it. Such full-stack capabilities provide value to the end-user of the robot in the moment they are installed. No coding required.</p><figure><img alt="An architectural diagram of the platform we describe." src="https://cdn-images-1.medium.com/max/1024/1*XyXUAzJXMZUASiskv-nfWw.png" /><figcaption>Platform architecture including full-stack packages that can be installed at run-time.</figcaption></figure><p>Above we described the software components required across the various systems in order to enable robots to ride elevators. As can be seen from the diagram, these components, independent from the system they need to be installed on, can all be bundled and installed as one package, hence providing a complete capability, the ability to ride elevators, with one click in the package manager UI. The package manager ensures that the included components are installed on their respective systems (robot, on-prem, cloud, and front-end UIs), the data layer will ensure that they can communicate as necessary, and the included UI components will let your team start configuring elevators and floors right away. Within hours, not months, will your robots be able to provide services across multiple floors of a building.</p><p>Another example of a capability every robotics company needs is Health Monitoring. Each and every system involved in your operation can fail in many, surprising ways and when they do, your customer’s workflows may be disrupted. But part of the robotics-as-a-service business model that most robotics companies follow is a service level agreement, implicit or explicit, that guarantees smooth operation of your robotic fleet. It is therefore essential to monitor your fleet, anticipate issues before they happen, and resolve any issues that still occur as quickly as possible. For that, companies need to monitor several vital signs of their robots, on-prem equipment, and cloud instances, aggregate them, check them against thresholds, and alert their operations teams when necessary. Getting this right is not easy though: many of the connected systems have limited bandwidth to the cloud, predicting problems from the observable vitals is not trivial, and alerting often fails to be effective when there are too many false positives. Companies we spoke with could save money from automated anomaly detection, but are stretched too thin to develop it themselves. The platform we describe provides many of the pieces required for someone to develop a very good health monitoring capability, and a mechanism for distributing this capability to the companies that need it.</p><h4>An Open Repository of Capabilities</h4><p>Oftentimes, the real impact of a platform is not a result of the breadths of its features, but of the ecosystem that develops on top of it. Hence, we believe that the platform needs to come with an online repository where developers can offer their packages, each implementing a different capability or feature. Other companies can then use these packages to develop or enhance their robotic fleet with very little effort and robotic know-how. The repository serves more than just the distribution of packages. It also provides a way to vet packages and developers. Following the lead of <a href="https://docs.npmjs.com/searching-for-and-choosing-packages-to-download#package-search-rank-criteria">other successful repositories</a>, we envision it to provide additional information about each package, including how many robots are currently using it, how actively it is being maintained, and what users say about it.</p><h3>Benefits</h3><p>By defining and developing a full-stack platform like this, a common ground is created on which the robotics community can develop new capabilities and applications that are reusable across multiple robotics use-cases and industries. An ecosystem that grows on top of this platform, offering a wide variety of packages, will allow robotics companies to stop reinventing the wheel and spending their scarce resources on developing table-stake capabilities like robot health monitoring. Instead they can focus on creating intellectual property and features that create real differentiation in their respective markets, e.g., new algorithms for identifying grasping-points for a fruit-picking robot, or hazard prediction for self-driving cars . And the math works out: rather than 40 robotics companies all hiring engineers to build and maintain the same software capability, one company can develop and maintain such capability once very well and license it to other companies for a monthly fee. This is more cost effective for everyone as it avoids duplicate-work by highly-paid engineers and also increases quality.</p><p>In addition, the platform democratizes robotics even further. It lowers the bar for applying robotics to the automation needs of ever more companies, including those without robotics expertise. For the robotics industry this is significant, because one of the biggest challenges for robotics startups today is the identification and validation of market fit. This task of finding a match between what is possible and what is necessary is facilitated when the agility of experimenting with robotic solutions is increased. And that’s exactly what a platform with an active developer community does. There are already a number of vendors that sell platform robots on which new use-cases can be developed. Using existing ROS packages one can quickly create maps for these robots and make them navigate on these maps without bumping into things or getting lost. But that is not enough. To fully address the automation needs in question, it currently still requires robotics software engineers to turn a robot with such basic skill into an end-to-end application that integrates with infrastructure, implements the required business logic, and can be controlled and interacted with by end-users.</p><p>There is plenty of precedence of platforms like this dramatically accelerating innovation, with ROS in robotics, deep learning frameworks like PyTorch, TensorFlow, and Keras in machine learning, and SDKs for iOS and Android being just a few examples. In all these cases, the platform facilitated match-making between developers and end-users, which established a fluid exchange of ideas for new, innovative use-cases that no one had previously anticipated. We believe that an application platform like this will have a similar impact on robotic automation.</p><p>The platform we describe doesn’t yet exist. And just creating it is not enough. The success of a platform follows the same dynamics as a marketplace: it has an inherent network effect, where the network is a bipartite graph. On the one side are developers and capabilities, on the other are robotics companies, enterprises requiring automation, and their use-cases. As more and more capabilities exist on this platform, more and more companies with automation needs will be inclined to address their use-cases via this platform. This increase in demand in turn will encourage more developers to participate, and so on. However, for this dynamic to happen and in order to overcome the initial chicken-and-egg problem, a great degree of openness and community outreach is required. Publishing this post is our first step towards that. The second step is to build an essential set of capabilities that will help corral users and developers around this platform, and seed an ecosystem. For that, please raise your hand if there are specific capabilities you would like to see on this platform, you want to help build the platform and capabilities, or both!</p><p><a href="https://docs.google.com/forms/d/e/1FAIpQLSfVLWK92bj_zVy2P1RD1uRtRmmDAuTO3uBOds8k9Sf2g-oCbg/viewform?usp=sf_link">Click here to get in touch.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94ad1f93b25a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Being Critical Is Essential: The Horizon Effect]]></title>
            <link>https://medium.com/what-managers-can-learn-from-computer-science-and/why-being-critical-is-essential-the-horizon-effect-f3dc9ed7582c?source=rss-e20e17e866d2------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3dc9ed7582c</guid>
            <dc:creator><![CDATA[Christian Fritz]]></dc:creator>
            <pubDate>Sat, 18 Jan 2014 22:33:31 GMT</pubDate>
            <atom:updated>2014-01-18T22:33:31.949Z</atom:updated>
            <content:encoded><![CDATA[<h4>There are situations where things seem to be going well and you can pretend to yourself and those around you that you are doing well for quite a bit longer even though utter failure is unavoidable. This is one aspect of “failing fast”: ask the hard questions first!</h4><p>In many cases of decision making, it is impractical to plan ahead for every step along the way to ones goal. This is particularly true when there is a lot of uncertainty about the future, as for instance caused by adversarial actors. In these cases, where the space of possibilities that would need to be considered exceeds one’s ability to process them all, the common approach in AI is to use <em>heuristic evaluations</em> of some future situations that seem reachable — they are on the <em>horizon</em>—, and then decide based on those evaluations which strategy to follow in the short-term. The <em>sub-goal</em> is then simply to reach that point on the horizon. As one is getting closer to it, one can start planning beyond that point.</p><p>The same kind of inability to project into the future accurately, of course, happens in real-world management, too. One example is when higher-up managers evaluate their reports: Short of being able to <em>measure</em> whether a report is advancing the organization towards its goals, a manager might be inclined to evaluate a report based on the strategy the report has articulated for reaching those goals, and/or based on some metric of progress — we will see in a second that this progress may well be into a dead-end, but I’m getting ahead of myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*mdcicH4XuROGUiN8llgEwQ.png" /><figcaption>“The horizon effect. With Black to move, the black bishop is surely doomed. But Black can forestall that event by checking the white king with its pawns, forcing the king to capture the pawns. This pushes the inevitable loss of the bishop over the horizon, and thus the pawn sacriﬁces are seen by the search algorithm as good moves rather than bad ones.” [1]</figcaption></figure><p>This is where the <em>horizon effect</em> comes in. It describes a problem of using a horizon that is too short. Either because of one’s inability to predict the future far enough, or because one is too busy to think hard about it. Furthermore it illustrates that “too short” really depends on the situation. This figure is a textbook example of the horizon problem, described in terms of chess.</p><p>The Black bishop cannot be saved. But a computer playing with too short of a search horizon will not recognize this and will hence unnecessarily sacrifice the three pawns, because it will result in a situation where the bishop is still alive (doomed or not). The heuristic evaluation of the situation is hence much higher than one where the bishop is lost. The shortsighted player does not reason about the fact that the bishop is lost in the long-term, which would allow it to realize that it should not sacrifice the pawns as well — he’d be loosing the bishop <em>and</em> the pawns—but rather give up the bishop already. Clearly, the shorter the horizon, the more likely this effect will cause trouble.</p><p>In management the horizon effect offers decision makers the comfort that comes from delay of unavoidable disaster. This comfort comes at the expense of wasting time and resources, of course. Good examples of this include start-ups that try to build the perfect product, without doing any market validation up-front, instead of, e.g., following the lean approach. In that mode, you can set SMART goals, a feature road-map, and milestones, and even do some of those fashionable agile sprints so that everyone around you thinks you know what the heck you are doing. All along then you can check off items on these lists and feel like you are making <em>measurable</em> progress. An uneducated board member might even fall for it. However, if what you are building is useless and nobody will ever be interested to pay money for it in any shape or form, then this is not actually progress. At least not towards your goals: you are just going down a rat hole. The reason for that is that you are just not trying hard enough to fail, i.e., you are not trying hard enough to find the right questions to ask yourself — or, in this case, your prospective customers.</p><p>Another example is in C-level management, and also politics where the horizon is set by the next election. In these cases you may succeed at convincing those around you that you are doing things right as long as there is <em>a</em> direction that you can go in for long enough, so as to give the impression of progress.</p><p>Overcoming the horizon effect is not easy, but there are things one can do. For instance, you should always try to look at a problem from various different perspectives — in the chess example one could try a different heuristic for comparison, or try to project into the future with lower accuracy but farther. But the main thing is always the same: try to be objective and THINK.</p><h4>References</h4><p>[<a href="http://aima.cs.berkeley.edu/">1</a>] Stuart J. Russell, Peter Norvig: <a href="http://www.amazon.com/gp/product/0136042597/ref=as_li_tf_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0136042597&amp;linkCode=as2&amp;tag=bib0d-20">Artificial Intelligence — A Modern Approach (3. internat. ed.)</a>. Pearson Education 2010, ISBN 978-0-13-207148-2, pp. I-XVIII, 1-1132</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3dc9ed7582c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/what-managers-can-learn-from-computer-science-and/why-being-critical-is-essential-the-horizon-effect-f3dc9ed7582c">Why Being Critical Is Essential: The Horizon Effect</a> was originally published in <a href="https://medium.com/what-managers-can-learn-from-computer-science-and">What Managers Can Learn from Computer Science and AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>