robotics

How do I reliably classify colours as red, yellow, or "other" colours in OpenCV?

How do I reliably classify colours as red, yellow, or "other" colours in OpenCV? Question: I have an input image from which I extracted the circles for a robotics project, and then got the average colour within those circles. The circles can either have a red or yellow colour as that is how I painted …

Total answers: 1

How to activate motors with python3

How to activate motors with python3 Question: I am thinking of a way to pack my bag for work in the morning, but I’m trying to automate it with python3, raspberry pi and motors, but I don’t know how to program something to make them work. Does anyone know how to do this? I think …

Total answers: 1

How can I parse "package://" in a URDF file path?

How can I parse "package://" in a URDF file path? Question: I have a robot URDF that points to mesh files using "package://". <geometry> <mesh filename="package://a1_rw/meshes/hip.dae" scale="1 1 1"/> </geometry> I would like to use urdfpy to parse this URDF. However, it is unable to interpret the meaning of "package://". import os from urdfpy import …

Total answers: 1

Best programming aids for a quadriplegic programmer

Best programming aids for a quadriplegic programmer Question: Before you jump to conclusions, yes, this is programming related. It covers a situation that comes under the heading of, “There, but for the grace of God, go you or I.” This is brand new territory for me so I’m asking for some serious help here. A …

Total answers: 7