instruction
stringlengths
40
29.6k
Imagine programming a 3 wheel soccer robot. What type of controller would you use for spinning it? P? PID? The goal for this controller is that it should make the robot stand in a defined angle ( 0 degree ) and turn back if rotated by hand or other robot. I use stepper motors for my robot and not servos so I need to i...
I've got some hobby servos (Power HD 1501MGs) and I'd like to be able to control them (via an Arduino) so they will either go to the angle I set, or put them in a 'free running' mode, where the load will take them wherever it goes. Is this even possible, or am I just going to end up stripping the gears? My first though...
http://www.oricomtech.com/projects/leg-time.htm lists three gaits: the tripod wave, and ripple. Can these be improved, or can their relative pros and cons be altered, and are there other gaits worth considering?
I am looking for a starting point for my project, preferably using popular systems (ones there is a lot of support for). I have an Arduino Uno, a Raspberry Pi, and a lot of willpower :) Anyone here built a project using the systems above? Observation: I'd like to start with a simple line-following vehicle and build up ...
I'm trying to implement a nearest-neighbor structure for use in an RRT motion planner. In order to do better than a linear brute-force nearest-neighbor search, I'd like to implement something like a kd-tree. However, it seems like the classical implementation of the kd-tree assumes that each dimension of the space can ...
My company will soon be starting a brand new robotics project, and we are still trying to decide whether we should design and code a robotics software platform from scratch, or if there are any good existing ones. It would be very useful if there was a software platform which was commonly used among both academics and ...
What is the best software (despite the price) for designing the circuits and PCB boards for robots? I mean having lots of components, different designing methods, best accuracy, ... I myself use the Altium Designer which I think answers my needs, but maybe there are better ones in the market i don't know about!
Most often tuning the Kalman filter noise matrices is done by trial and error or domain knowledge. Are there more principled ways for tuning all the Kalman filter parameters?
I'm working with a Wild Thumper 6 wheel chasis that is designed for use with an RC controller. However I'd like to have a mapping to a keyboard for control as well. Can you suggest a set of keys and behaviors that you've used to deal with the continuous value control normally offered by a joystick or pair of joysticks?...
What is the best option to use for the shooting system of a soccer robot? I have already implemented a solenoid-based system for shooting and it works perfectly. However, I'd like some other methods to check if they are better than mine.
I am beginning work on a larger scale, 250-350 lbs wheeled robot and looking to use both optical and other means of object avoidance. I am concerned with a robot this large causing issues with running into things, including people as it has a top speed of 15mph and that would cause issues with safety. I am starting out...
There are many sites which explain briefly this problem and even propose combinations. I however would like a much more detailed explanation. What is going to give my quad the most agility? Do I need bigger motors/props in a heavy quad to achieve the same level of agility than in a lighter quad? EDIT: Here is what I ha...
I want to localize a mobile robot equipped with a 2D laser scanner in a known indoor environment. The map is a 2D occupancy grid, but is not perfect. What algorithms are appropriate for mobile robot localization?
As in the title, I'd like to implement gesture recognition on my robot and I'm looking for the pros and cons between the Kinect and the Xtion - and also if there are any other sensible options available. I'm thinking of the following, but open to other suggestions: Accuracy Price Driver quality Power draw
I'm looking to potentially build an autonomous robot that will frequently venture off road, and remain autonomous for up to 6 hours at a time. I've found limited information however about the best tyre tread for this purpose, what could be most suitable? I'm especially looking for a tread pattern that won't need regula...
Is there a good, popular and reliable algorithm I can use by taking input from a gyroscope and using this to control two independant wheels to keep such a balanced robot reliably upright? I'm looking for an algorithm that will let me use it to drive a robot around as well as keep it upright when stationary. The ability...
I'm looking to potentially build an underwater glider, a type of submarine that's slow but can operate on extremely low power draw. However, in order for it to work effectively I've found several sources hinting that the dimensions of the components, especially the wings, are critical to its success. However, I've foun...
I'm looking to build an underwater glider robot that will need to remain autonomous for long periods of time, perhaps even months. Power draw should be minimal, and I'm thinking of including some form of charging device (such as a solar charger) however I'd also like the battery capacity to be large enough so I don't h...
It's common for components on some types of robots to experience large environmental stresses, one key one being vibration. Is this something I need to worry about with typical electronics and other sensitive components, or not really? If it is, then how do I secure such components? I've heard of two main philosophies...
Obviously GPS is the most obvious and accessible technology for obtaining a locational "fix" for a robot at any particular time. However, while it's great sometimes, in other locations and situations it's not as accurate as I'd like, so I'm investigating whether there's a relatively easy way to improve on this accuracy...
Ultrasound sensors are incredibly cheap these days which makes them a popular choice for many hobbyist robotic applications, and I'd like to use a bunch of them (say 10) around a robot with an algorithm to build a rough map of an area (as the robot explores it.) I'm not interested in dealing with moving objects at this...
Hobby servos are generally not sufficient for real robotics for a number of reasons: Quality, precision, range of motion, torque, etc. Meanwhile, industrial servos, such as ABB, Emerson, GE, etc, are generally both heavy and expensive, and not suitable for small-humanoid scale actuation. Similarly, building your own se...
What characteristics can I look for which could be reliable early warning signs that a DC motor on my robot, say one used for the drive, could be failing? I'm looking for an answer that deals in terms of sensors rather than manual inspection, so a circuit could be constructed to warn of a potential failure before it ha...
With two wheeled robot like this one, I have managed to stabilize it while keeping it stationary. This was done using a digital feedback control system by reading the position of the wheels to determine position, and the natural back electromotive force from the wheel motors was used in the feedback loop to determine v...
I'm part of a FIRST Robotics team, and we're looking into using Mecanum wheels for our robot. What are the advantages and disadvantages of using Mecanum wheel versus regular ones? From looking through Google, it looks like Mecanum wheels give more mobility but don't have as much traction. Are there any other advantages...
I've got this driver: http://www.pololu.com/catalog/product/1182 ... a A4988 stepper motor driver carrier I'm attempting to control a connection between the RESET and SLEEP pins with logic ( code ) running on my Arduino. The motor runs perfectly when these two pins are connected however I'd like to control when the st...
For a robotic gripper arm we are designing for factory floor use on very small components, we propose to use electrically activated Shape Memory Alloy (SMA) wire harnesses for actuation. The device being designed is akin to Pick & Place machines used for circuit assembly, but moves over an aircraft-hanger sized work s...
Design goal is to have a mobile robot that operates on 3 large casters, essentially 2 to 4 inch diameter steel ball bearings, that are motorized. No other mechanism would touch the surface. The robot should thus be able to move in any XY direction on a flat surface, with steering being achieved by varying the speed and...
Many robots and other mechanical devices produce the signature whirring noise as they move, some produce less. What makes the difference? What restrictions a silence requirement places on a robot?
I am looking for a servo drive to control a brushless DC motor, with at least 10A, 30V rating. However, I want to know if any exist which take sinusoidal hall sensor signals directly. I already know there are servo drives taking hall sensor pulses (with 6 different phases), but that is trapezoidal control. Note: a serv...
I would be very interested to ask for a list of repos of free open code, applicable to 8-bit avr-s and having relation to robotics - object avoidance, process controllers, battery management, etc. This would be of huge help for me, preventing me from wasting weeks and months to invent the wheel.
I have a number of interrupt service routines on an AVR. These include interrupts for USART serial communication, timers, and SPI communication. For all of these, I use circular queues (using a start and end pointer, without boundary checking). Some problems start to occur if the AVR starts to get overloaded. The circu...
If you have used connectors for signal wiring for any length of time, you may find that they are unreliable. Specifically, I find these to be unreliable when used for a long time, with a number of disconnections and re-connections: This is due to the loss of springy-ness of the crimped metal end on the wire, which cau...
What is a suitable model for two-wheeled robots? That is, what equations of motion describe the dynamics of a two-wheeled robot. Model of varying fidelity are welcome. This includes non-linear models, as well as linearized models.
Emergency stops are obviously a good idea on most robots, how should they be wired? What systems should be killed immediately, and what should stay working?
Range sensors (for example sonar, infrared, and lidar) are notoriously noisy. How can I characterize the noise characteristics to include these in a probabilistic localization sensor model?
In graph-based planning (say, A*), states are connected to their neighbors. How should one decide whether to connect to the 4 neighbors or the 8 neighbors? What are the pros and cons of each approach?
I am attempting to upload a custom firmware to a Lego Mindstorms NXT and am having issues. First of all, I'm attempting to use nxtOSEK, which would let me run C++ programs on it. The problem is, everytime I put it into firmware update mode, the download doesn't seem to actually occur. What I mean by this is that, acco...
When designing a standard 4 or 6 wheel robot, is it better to have the weight distributed primarily in the center of the robot, or over the wheels, or is there no difference? Specifically, which weight distribution will make the robot less likely to tip over?
Edit: I don't know why, but this question seems to be confusing many people. I am aware of when/where/why/how to use real-time. I am interested in knowing whether people who have a real-time task would actually care enough to implement it in real-time or not. There's no need to mention why real-time operations are impo...
I Have an ATmega16 mc which is master on the i2c and a ATMega8 mc which is slave on the i2c. I have connected the two mcs' sda and scl ports to each other alongside a pullup resistor. Now I want to read a register from the ATMega8 using the ATMega16. The problem is that I don't want to assign all the variables manuall...
A beginning graduate student in robotics asked me the areas of mathematics that he should brush up on (prerequisites) to begin a masters research program in robotics. What are some good materials/books that are indispensable for a research student? Which ones should we suggest in order that the student develops a solid...
What kind of sensors and algorithms are the mobile robots of Kiva Systems equipped with?
I have a motor which drives a string connected to a load cell. I would like to implement a closed loop controller to control the load applied by the motor to the string. How do I go about determining the required loop frequency in order to create a stable control system? Is it something like the Nyquist frequency, whe...
For the 3d printer RepRap Prusa there are several rails (smooth rods) that guide the printer head on the different axises. The printer head uses several linear bearings to glide along the rails. There isn't any specification on what kind of material would be best suited for this purpose with the linear bearings. My fi...
I am not sure if this has been tried before but I am trying to use Kinect and detect gestures made by the Nao robot. I have made a Kinect application, a gesture based picture viewer and it detects humans fine(Obviously it does!) What I wanted to try was (lazy as I am), to see if I could use some (say, voice) command to...
Whenever building an aquatic bot, we always have to take care to prevent leakages, for obvious reasons. Now, holes for wires can be made watertight easily--but what about motors? We can easily seal the casing in place (and fill in any holes in the casing), but the part where the axle meets the casing is still left unpr...
Often we use microcontrollers to do things in our robots, but need to make some calculations in decimal. Using floating point variables is very slow, because a software floating point library is automatically included (unless you have a high-end microcontroller). Therefore, we generally use fixed point arithmetic. When...
At our lab, we have a several "Kurt" type robots (about the size of a Pioneer, six wheels, differential drive). The built-in gyroscopes are by now really outdated; the main problem is that the gyroscopes have a large drift that increases as the gyro heats up (the error is up to 3°/s). We mainly use the IMU (inertial me...
Tuning controller gains can be difficult, what general strategies work well to get a stable system that converges to the right solution?
Using an IMU a robot can estimate its current position relative to its starting position, but this incurs error over time. GPS is especially useful for providing position information not biased by local error accumulation. But GPS cannot be used indoors, and even outdoors it can be spotty. So what are some methods or s...
I have a time-series of force data of robots interacting with environment objects with various textures. I would like to develop models of various textures using the time-series data to classify textures into smooth, rough, moderate, etc. categories. For this purpose, will Hidden Markov Models be sufficient or should i...
I have a joint actuated by an antagonistic pair of Pneumatic Muscles. There are two valves per muscle, one to fill and one to empty each muscle. The joint has an angle sensor, and each muscle also contain an air pressure sensor. What is a suitable control algorithm set up? A PID controller controlling the valve orifi...
Robotics has always been one of those engineering fields which has promised so much, but is taking a long time to deliver all the things that people imagine. When someone asks: "How long before we have [X] type of robots?" Are there any resources we can call upon to try to calculate a rough answer. These resources migh...
Most of the linear actuators I've seen are nonuniform and/or slow. Those using a cam or crankshaft-like mechanism (and nearly anything hydraulic/pneumatic) cannot be moved at a constant speed without some programming. Those using a screw-like mechanism are uniform, but slow. Aside from a rack and pinion/rope wound aro...
In SLAM frontends which use the Iterative Closest Point (ICP) algorithm for identifying the association between two matching point clouds, how can you determine if the algorithm is stuck in a local minimum and returns a wrong result? The problem is defined as matching two pointclouds which are both samples of some arb...
I have a simple servo system that uses a PID controller implemented in an MCU to perform the feedback. However, the properties of the system change dynamically, and so the PID parameters can never be tuned for all circumstances. My robot is a light weight arm with back-drivable electric motors, similar to this one: Th...
Smart phones these days typically come with a gyroscope, accelerometer, compass, camera, and GPS sensor all on board. They also usually have a connection to the internet with Wifi and mobile data networks. I've seen many cases of using a phone as a remote control for a robot, but to me, it seems like the phone itself i...
I'd like to start making robots and tinkering with microcontrollers. Where do I start, and what do I need? I'd like to make my own robots. I'm comfortable with programming (assembly and C) so I've got that part covered, but my electronics/circuits knowledge is a little weak. I have no idea what material to start with a...
In my application, my robot has the following physical setup: Differential drive mechanics with feedback (wheel encoders) Commercially available webcam mounted with a known transform to the base of the robot (RGB, no depth) The robot will be navigating through a structured, indoor type environment (think office, home...
In ROS, I cannot get [ERROR] logs to print in red when I use python. How can I make them appear in red instead of black? For example, the following Python: rospy.logerr("No analog input received.") produces this output in black: [ERROR] [WallTime: 135601422.876123] No analog input received. whereas the following C...
Can ROS run on a Raspberry Pi? ROS is resigned to run on a network of machines, with different machines, even different cores on the same machine doing different jobs. Can one of those machines be a Raspberry Pi? I am considering using an R-Pi as the EtherCAT master on a mobile robot, communicating with the main PC ove...
With a 600 mm (2 foot) motor-to-motor quadcopter, what frequency does my output-sense-calculate-output update loop need to stay stable? I'm estimating a total takeoff weight of very roughly 2 pounds ( 0.9 kg ), which I expect to be mostly motors and batteries.
I've seen 3 approaches to mounting batteries on a multicopter: All the batteries rigidly mounted near the center of the airframe All the batteries in a bag hanging under the center of the airframe Each rotor has its share of the batteries rigidly mounted near/under it. (For example, a quadcopter with 1/4 of all the ba...
A common scenario is to have a PC that sends commands to a microcontroller via RS232. My PC program is sending commands (each of which are composed of multiple bytes) as fast as it can to a small robot. The microcontroller on the robot is a Parallax Propellor. I have noticed that if I don't process bytes quickly enou...
I would really like a six-axis force/torque sensor for my robot, but I just can't afford one. I was thinking about making one of my own. I have experience using strain gauges, but I can't work out how to arrange them so as to create a six-axis force/torque sensor. Is this something I could feasibly make myself? How do...
I have a robot that uses brushed motors in its servo system. These are Maxon 3W motors, with 131:1 planetary gearboxes. The motors are controlled by a PIC microcontroller, running a 1kHz PID controller. The servos are for a low speed high torque application. There is significant backlash between the sensor and the moto...
I'm really new to robotics, however I am a programmer familiar with several different languages. I don't have a ton of money to spend and I was wondering what is a really good starter kit. My criteria is for the kit to be inexpensive and powerful, in that its functionality is extensible -- something that would allow t...
I want to use an RF beacon to localize my quadcopter for autolanding, when GPS is not precise enough, for example, when my driveway is only 10 feet wide, and the GPS is only showing 20-30 ft. accuracy (with a proverbial lake of lava on either side). The quadcopter would use the GPS to fly to the rough location until it...
I have seen waveforms for driving a brushless motor. I guess this is the waveform used for the simpler block commutation. But if I want to do sinusoidal waveforms, what does the PWM signal look like now? Is there a need to carefully synchronise the edges on the three phases?
Do mobile and/or autonomous robots become more or less effective the bigger they get? For example, a bigger robot has bigger batteries, and thus bigger motors, whereas a smaller robot has the exact opposite, making it need less energy, but also have smaller motors. Is there any known theorem that models this?
I've seen many motors having capacitors attached in parallel in bots. Apparently, this is for the "safety" of the motor. As I understand it, all these will do is smoothen any fluctuations--and I doubt that fluctuations can have any adverse effects on a motor. Apparently these protect the motor if the shaft is being slo...
I have two Unmanned Aerial Vehicles (planes) which work well. They can fly to various waypoints automatically using GPS. Now I would like them to fly together in formation. I would like them to fly side-by-side fairly close. This is too close to reliably use GPS to guarantee that they keep the correct relative position...
Some years ago, there where some projects that provided hardware and software to perform modifications on standard hobby servos to convert them to digital servos, with all the advantages that come with it. OpenServo is a little outdated, and does not seem to be worked on anymore, and there is no hardware to buy. Spar...
I am designing an unmanned aerial vehicle, which will include several types of sensors: 3-axis accelerometer 3-axis gyroscope 3-axis magnetometer horizon sensor GPS downward facing ultrasound. A friend of mine told me that I will need to put all of this sensor data through a Kalman filter, but I don't understand w...
I wish to build a robotic arm that can lift a useful amount of weight (such as 3-6 kg on an arm that can extend to approx 1.25 meters). What actuators are available to accomplish this? The main factors and design points are: Not Expensive 5 to 6 DOF to be mounted on a yet to be designed mobile platform battery powered...
As somebody who is spending the majority of his time programming in JavaScript, what's the best route to get into small-robotics without needing to deviate too much from my current language focus? Are there any project kits or tools that make use of the JavaScript language that might make the field more approachable fo...
The forward kinematics of a robot arm can be solved easily. We can represent each joint using Denavit–Hartenberg transformation matrices. For example, if the $i^{th}$ joint is a linear actuator, it may have the transformation matrix: $T_i = \left[\begin{matrix} 1&0&0&0\\ 0&1&0&0\\ 0&0&1&d_i\\ 0&0&0&1 \end{matrix} \righ...
What's the best kind of spline that can be used for generating trajectory that can be adapted during execution time? The use case is having a differential drive which has to move towards a point (x,y,theta) without stopping during the movement (e.g. no, turn toward the goal, straight move to the goal position, turn to ...
I've been doing a lot of reading lately about Subsumption Architecture and there are a few different ways people seem to advocate. For instance some people use a global "flag" variable to have a task take control. Others use the endTimeSlice() and allow the arbiter to really choose. And I think this is correct. I hav...
I have built a few simple X/Y/Z CNC machines. I've learned about G-Code, motor control, firmware and open loop systems. I see machines like rovers, big dog and factory arms that seem incredibly complex by comparison, yet they don't seem that magical any more. What are the important skills to pick up from working wi...
Is anyone able to help me out getting IPC-bridge working on my ubuntu lucid installation (with matlab 2012a)? I'm not being able to finish the last step on here (Compiling the messages folders): https://alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge#Installation I'm able to rosmake the ipc_bridge_ro...
I'm building a 4 legged robot (quadruped) with 3 Degrees of freedom per leg. The goal of my project is to make this robot able to learn how to walk. What learning algorithms will I need to implement for it to work? I'm using an Arduino Uno for the microcontroller.
We are using a Koro robot for our PC based automation solution. But sometimes the robot is getting the command but refuses to respond. Then I get a serial communication timeout error. The error is happening for a random type of commands and it is also not happening all the time making the troubleshooting difficult. I d...
I have a platform with two tracks and two motors. Each one uses an electronic speed control with "double tap to reverse". Each ESC takes an input pulse train frequency from at 1500 neutral +/-700. I'm interested in learning if there are algorithms or a list of commands I can use to control how such platform executes ma...
I am thinking of developing a tendon driven robot manipulator for an industrial application that requires a high level of reliability. However, I am aware that tendons in a robot are prone to wear and tear, and failure. How can I go about selecting a suitable tendon material (steel, kevlar, spectra, etc.) and use it ap...
Is there a taxonomy of errors that are common in robotics? Things that come to mind but I don't have names for are: Getting stuck in a stable infinite loop Going into an unstable feedback loop (A balancing robot overcompensating more with each correction) An inability to generalize between tasks (Pick up a bowl vs pic...
Given a six-axis articulated robot arm holding a tool at its end-effector, if I have a desired tool position and tool orientation, there will be exactly 1 solution to the inverse kinematics equation for the robot to reach that position. (or rather up to 16 different solutions, depending on range of the joints) But i...
I am interested in learning more about subsumption architecture. I have read a number of books that talk about the idea but none of them go into great detail. I have also read a fair number of Dr. Brooks papers on the topic however he hasn't published much on the topic in recent years. Is this still an active area of r...
I am looking for a way to restrict a robot's range of motion, using complex constraints such as not tearing of a cable attached to the robot. Take an articulated 6-axis robot arm as shown below, with attached cable (red), fixed at points X (before axis A4) and Y (after axis A6). The cable will limit the range of movem...
Currently I have a tricycle style robot that uses an extended kalman filter in order to track 6 state variables. The inputs to the system are a steer encoder, a distance encoder, and a rotating laser that returns bearing only information to known landmarks. Currently both encoders are located on the main wheel (The one...
I am considering programming a line following robot using reinforcement learning algorithms. The question I am pondering over is how can I get the algorithm to learn navigating through any arbitrary path? Having followed the Sutton & Barto Book for reinforcement learning, I did solve an exercise problem involving a rac...
Are inverse kinematics and reinforcement learning techniques contending techniques to solve the same problem viz. movement of robotic manipulators or arm? By a glance through the wikipedia article, it appears that inverse kinematics seems to attempt to achieve a solution as opposed to reinforcement learning which atte...
I want to build a robot arm that'll be approximately 1.25 meter long and will be able to lift up to 2 kilograms. It'll have 6 dof and it is an expensive project. And most importantly, i am the only programmer in this brand new robotics facility of ours. :) The robot that i want to build will be led by Inverse Kinematic...
My team and I are setting up an outdoor robot that has encoders, a commercial-grade IMU, and GPS sensor. The robot has a basic tank drive, so the encoders sufficiently supply ticks from the left and right wheels. The IMU gives roll, pitch, yaw, and linear accelerations in x, y, and z. We could later add other IMUs, whi...
I have been using the Cyberglove to control a humanoid robot hand, but found it disappointing as it doesn't measure the posture of the human hand very accurately. I have been wondering about the possibility of using Inertial Measurement Units (IMUs) mounted on the fingers to track position and measure posture. But I'm...
I am aware of the legislation's in Nevada, but what is happening with the technology currently. When is it expected to be commercialized ?
I have never used an accelerometer before, but I am aware that they come with I2C, SPI and analog outputs. If I choose to use an I2c or SPI, device, will I accumulate errors due to communication time? Is the fast sampling of an analog signal likely to get me a more accurate deduced position than using am I2C? Will this...
I have not bought any parts yet, but I am making my own quadcopter. I have done the research and know all about the parts that I need, but many guides are sponsored and cost thousand(s) of euros/dollars while not explaining things entirely clearly. Firstly, I have found this flight control board. Would I need another m...
I apologize if this question may sound a little vague. I am working on a robotics project that will contain 27 servos of various sizes and I am having trouble figuring out how they should be powered. I was hoping to use several (3-6) 5 W 18650 battery boxes to power them, but the smallest motors would use 2.5 W each, s...