instruction
stringlengths
40
29.6k
I'm building a walking robot that will need to know when it moves forward. I'm using on-board intelligence and I plan on using accelerometers, gyros, and magnometers (if needed) to be able to detect if the robot moves forward. The problem is, I dont know how to program an Internal Navigation System or an IMU. What sof...
I'm planning to write an Inverse Kinematics controlled 6 dof virtual robot for Android. I did some research on packages avaliable and couldn't choose the right one which will satisfy my needs on this project. I've seen a work with Eigen in C++, and used it, it was just fine. But since i'm not so experienced in Java, i ...
What are the pros/cons of the different visual odometry options? Stereo Camera Optical Flow SLAM other? Criteria: how well it performs vs other odometry options/sensors (lidar, radar) sensor fidelity computation accuracy precision drift native resilience and repeadability in sensor noise or vehicle speed ease of in...
The answers I received to the question on training a line following robot using reinforcement learning techniques, got me to think on how to train a robot. I believe there are essentially two ways - Train the physical robot. Model the robot and simulate the training. Did I miss something? Approach 2 is definitely the...
Digital compasses (magnetometers) require a hard/soft iron calibration in order to be accurate. This compensates for the magnetic disturbances caused by nearby metal objects -- the robot's chassis. (image from http://diydrones.com) However, digital compasses are also susceptible to the electric fields caused by the r...
I am trying to use a stereo camera for scene reconstruction, but I can usually only obtain sparse point clouds (i.e. over half the image does not have any proper depth information). I realize that stereo processing algorithms rely on the presence of texture in the images and have a few parameters that can be tweaked t...
I have a handful of 31.2oz-in stepper motors (Mouser.com - Applied Motion: HT17-268D), and I was curious if they would be big enough to run a 3D printing/cutting/etching type (think RepRap) of machine. I had in mind to attach them via a simple gear to a screw-type drive to run the tool head back and forth. Maximum b...
In our lab we use LiPo batteries to power our quadrotors. Lately we have been experiencing stability issues when using certain batteries. The batteries seem to charge and balance normally and our battery monitor indicates they are fine even when putting them under load. However when we attempt to fly the quadrotor with...
Whenever I read a text about control (e.g. PID control) it often mentions 'poles' and 'zeros'. What do they mean by that? What physical state does a pole or a zero describe?
We are trying to power this motor with this motor driver , using a 11.1V 2.2Ah lithium-ion polymer battery. (We're in over our heads with this and really need the help) We checked with the company (E-flite) and the motor is definitely DC -- we're a bit confused as to the purpose of three wires, and how we should conne...
I would like to have a better understanding of work in the field of "Navigation Among Movable Obstacles". I started off with Michael Stilman's thesis under James Kuffner, but that has not yet sated my appetite. I am currently trying to simulate a scenario where debris (Tables and Table parts) from a disaster scenario b...
I want to learn robotics and build my first robot. I am looking for a well supported kit that is simple enough and can walk me through, the initial stages of my intellectual pursuit in Robotics. I want to be able to do the basic things first and build a solid foundation in robotics. And then I want to be able to use th...
RS232 is not popular as it used to be and is mainly replaced by USB [wikipedia]. Problems such as mentioned in this question doesn't help its reputation either. In a new system design therefore, one could think of using USB instead of Serial Port for communication. However, it still seems like RS232 is the serial commu...
As an industrial roboticist I spent most of my time working with robots and machines which used brushless DC motors or linear motors, so I have lots of experience tuning PID parameters for those motors. Now I'm moving to doing hobby robotics using stepper motors (I'm building my first RepRap), I wonder what I need to d...
I understand the basic principle of a particle filter and tried to implement one. However, I got hung up on the resampling part. Theoretically speaking, it is quite simple: From the old (and weighted) set of particles, draw a new set of particles with replacement. While doing so, favor those particles that have high w...
What are some good strategies to follow while designing power supply for electrical systems on mobile robots? Such robots typically comprise of systems with microprocessor, microcontroller, DSP, etc units and boards along with immediate peripherals Motor control Analog Sensors(proximity, audio, voltage, etc) Digital ...
Is it possible to use the Matlab's system function to call ROS commands? For example, using system('rostopic pub /cmd_vel geometry.msgs.Twist {....} or system('rospack find ipc_bridge). I'm trying to send some commands to ROS without using something like IPC-Bridge. PS: I know, however, that I need to use IPC-Bridge to...
I'm interested to build Robot from my imagination, and I was looking to purchase a robotic kit. I find the Lego Mindstorm NXT 2.0 really interesting for many reasons : You can plug whatever brick you want, and you can develop in the language you want. I am a developer, and the use of this kind of robotic would be inter...
I was wondering whether something like this is possible: A block of ice(say) needs to be transferred piece by piece from a source to a destination with the help of 5 robots standing in a straight line between the source and destination. The first robot picks up a piece of the block from the source and checks if the nex...
I dont understand integral part of PID controller. Let's assume this pseudocode from Wikipedia: previous_error = 0 integral = 0 start: error = setpoint - measured_value integral = integral + error*dt derivative = (error - previous_error)/dt output = Kp*error + Ki*integral + Kd*derivative previous_error = err...
Robots are somewhat videogenic, and the old saying "show me, don't tell me" is especially applicable. But of course, a video is not a question, so it doesn't fit the Stack Exchange format. Maybe video links would be more suitable in a CodeProject post. It just seems like this board hits the right cross-section of peo...
I am making a 2 wheel drive robot. Suppose I know that my robot is going to weight x kg when finished and I know the diameter of the wheels y (geared motors will be connected directly to the wheels). I can choose from several geared motors and I know the peak torque of each motor and the idling speed. How can I calcula...
I recently got an arduino wifi shield known as "juniper" (I believe it was by cutedigi). I've tried to find code examples, but when I saw code, it was un-commented and very little explained, I could really use a tutorial or some sample code with a good explanation, can anyone help me find a place to start? I found a pi...
For someone interested in robotics but do not know the ABC of robotics or mechanical/electronic engineering .What's a good roadmap for becoming an amateur roboticist . I'm studying theoretical physics so that I have no problems on the physics/math . If the question is too broad and doesn't meet the criteria of posting ...
I'm using an EKF for SLAM and I'm having some problem with the update step. I'm getting a warning that K is singular, rcond evaluates to near eps or NaN. I think I've traced the problem to the inversion of Z. Is there a way to calculate the Kalman Gain without inverting the last term? I'm not 100% positive this is t...
A lot of awesome optics projects like hacking cameras and projectors become possible with CAD lens modelling software1, if we can also easily prototype the lenses we design. What are some materials and additive or subtractive 3D fabrication strategies that can make a clear lens with strong refraction and the ability to...
When computing the Jacobian matrix for solving an Inverse Kinematic analytically, I read from many places that I could use this formula to create each of the columns of a joint in the Jacobian matrix: $$\mathbf{J}_{i}=\frac{\partial \mathbf{e}}{\partial \phi_{i}}=\left[\begin{array}{c}{\left[\mathbf{a}_{i}^{\prime} \ti...
Am trying to find the right ESC for the following two motors http://www.e-fliterc.com/Products/Default.aspx?ProdID=EFLM30180MDFA#quickFeatures http://www.e-fliterc.com/Products/Default.aspx?ProdID=EFLM3032DFA Can't figure out which of the ESC's listed on the site would be best? Are there alternative (cheaper or better?...
OK, not really robotics, but has anyone been able to upload to a Rainboduino v3.0 using the Arduino IDE? I can't seem to figure it out, and there is virutally no documentation online. I followed this blog entry, but got no connection to the board. If anyone can give me some suggestions, I would appreciate it!
What's needed to utilize an IMU such as the ArduIMU+ V3 to be used in an INS. Is there any other hardware needed?
I'm a highschool student studying electronics and for an assessment task on the history of electronics I have decided to focus on the history of robotics. I want to begin with the earliest possible concept of a robot and progress through major developments in robotics to the current day. Where should I begin my researc...
What can an Arduino board such as the Uno really do? Of course simple things like controlling a couple servos is very easy for it. However, I don't think an Uno board would be able to preform real-time 3D SLAM from point cloud data gathered from a Kinect sensor on a mobile robot, right? If the robot had any speed at al...
I'm building a small robot using some cheap Vex Robotics tank treads. However, my choice of picking tank treads is almost purely based on the fact that they seem like more fun than wheels. I don't actually know if they really have much of an advantage or disadvantage when compared to wheels. What are the pros and cons ...
I've noticed that almost all research being done with helicopter robots is done using quadcopters (four propellers). Why is there so little work done using tricopters in comparison? Or a different number of propellers? What about four propellers has made quadcopters the most popular choice?
Lets say I drop a robot into a featureless environment and any magnetic field based sensors (magnetometer/compass) are not allowed. What methods are there of determining where north is? Tracking the sun/stars is an option but not reliable enough when the weather is considered. Can you pick up the rotation of the earth ...
I'm trying to find where additional battery capacity becomes worthless in relation to the added weight in terms of a quadcopter. Currently with a 5500 mAh battery, 11.1V, I can get between 12 minutes and 12:30 flight time out of it. My question, then, is this - within the quads lifting capability of course, is there an...
Do I need a complex system (of gyros, accelerometers etc.) to detect if a robot has moved forward or can I simply use an accelerometer. I'm building a robot that learns to walk and I need to detect displacement for machine learning. Can I use an accelerometer or will I need a complicated/expensive Internal Navigation ...
Typically Mars rovers use wheels and not tracks. I guess Spirit would have better chances getting out of that soft soil should it have tracks. In general, Mars surface structure is not known in advance, so it seems wiser to be prepaired for difficult terrain and so use tracks. Why do Mars rovers typically use wheels an...
What are the pros and cons of each? Which is better maintained? Which allows for more functionality? Which utilizes the hardware more efficiently? Etc.
While experimenting with the OpenCV Machine Learning Library, I tried to make an example to learn the inverse kinematics of a 2D, 2 link arm using decision trees. The forward kinematics code looks like this: const float Link1 = 1; const float Link2 = 2; CvPoint2D32f forwardKinematics(float alpha, float beta) { Cv...
Could you implement a simple neural network on a microprocessor such as the Arduino Uno to be used in machine learning?
We have an optional course in our high-school which is about robotics. We're using the Lego Mindstorms NXT and program it with the original Mindstorms-software. However, we want to advance and use a major programming-language. We have tried NXC and LeJos. Plus, I tried out the Microsoft Robotics Development Studio, but...
I have a manipulator having 4 revolute joints with some movement limitations. So, when I apply inverse kinematics, I'm getting results which are out of limits. Please provide me an algorithm that implements inverse kinematics considering joint limitations.
I want to know if its currently possible for a robot to speak by it self as King Robota does, or is just someone speaking on his behalf? Youtube video
According to Wikipedia's article on SLAM, the original idea came from Randal Smith and Peter Cheeseman (On the Estimation and Representation of Spatial Uncertainty [PDF]) in 1986, and was refined by Hugh F. Durrant-Whyte and J.J. Leonard (Simultaneous map building and localization for an autonomous mobile robot) in 199...
I've got a couple Vex 269 Motors hooked up to an Arduino Duemilanove. These motors run a some Vex Tank Treads. I powered the whole setup with an off-brand 9-volt battery. Everything seems to run great, except that it is only able to run for about 30 seconds worth of motor movement. Then the battery quickly isn't able t...
I've got a couple Vex 269 Motors hooked up to an Arduino Duemilanove. These motors run a some Vex Tank Treads. The two motors are run as servos on the Arduino using the Servo Library. The problem I'm having is that the two tracks don't turn at the same speed when sent the same servo angle. This is clearly due to the fa...
I know this is a broad statement, but when you've got support for both TCP as well as a full fledged computer on board (to integrate/run an arduino), does this essentially allow for anything that would run on a linux box (raspberryPi) to run and operate your robot? I know clock speed as well as the dependency libraries...
What are the stall and free currents of an electric motor? For example, this Vex motor lists its stall and free currents at the bottom of the page. I think I understand the general idea, but a detailed description would be helpful.
I've found that Arduino (Duemilanove) has a current limit of 40mA per pin. Does this include the Vin pin? Or does the Vin pin have some sort of work around in place on the board to allow for higher currents? If this is the limit on the Vin, is there good way of using still using the power supply jack on the board and a...
How do you program an ESC to have a reverse mode? We're looking to control an ESC from a servo board (for a robotics project). Assuming that the input will be between 0 and 255, we're looking for 127 as off, 255 as fully forward and 0 as full reverse, so how do we achieve that?
I'm building an open-source bio-research hardware (ask me how you can help!) and I've got this guy here: My big questions are: Can I get away with all the ground being common? (I've got a 12v and 5v needing to be grounded) Do I need two sets of capacitors? There are 2 wired up to the 12v regulator and 2 wired to the ...
I have a Panda Board ES. I am not able to get it to boot. I sent it back to SVTronics to get it checked and they said that the board is OK; I am the one who is not able to configure it properly. After doing a little research and following all the directions on the Panda Board and Ubuntu website, I am still not able to ...
For this question assume that the following things are unknown: The size and shape of the room The location of the robot The presence of any obstacles Also assume that the following things are constant: The size and shape of the room The number, shape and location of all (if any) obstacles And assume that the robot...
From what I've seen, LiFePO4 batteries seem like one of the top battery choices for robotics applications. However, I've seen people mentioning that you can't use a charger for a different battery to charge these, but I haven't seen why. If I were to build my own setup to charge LiFePO4 batteries what would it specific...
I have heard a lot of claims that manually turning an NXT motor by hand can potentially damage it. I was wondering whether this was at least partially true, and whether there is any evidence to confirm or refute this idea. I know that some projects (e.g. etch-a-sketch) use the built-in rotation sensor to measure how mu...
I have built a robot from a wheelchair that has worked very well thus far. It is now time for me to take the next step. I need to implement a permanent power circuit with proper protection. The lowest level of protection I can think of is a fuse, but I would like to take a step further (current/voltage/direction/switc...
I am working with students (9th & 10th grade) on robotics and wanted to get a good book which covers basic mechanisms. Does anyone have any recommendations. Searching Google or Amazon yields many results, however, I thought the community might have a standard book to use.
I recently purchased a 3-axis accelerometer from Amazon, and can't seem to find how it works. I've been looking for quite a while now, and haven't found any real clues. The x, y, and z values always seem to return the same values. They change when I tilt or move the accelerometer, but revert to about 120 for each readi...
I am trying to calibrate a MEMS accelerometer. I was able to calibrate it for the current axis which is parallel to gravity and shows correctly, 1g. But the other two axes which should be 0.00g are showing +-0.02g instead. So, e.g., when the accelerometer's x axis is parallel to gravity, it should show (1g, 0g, 0g) an...
The optimal sampling-based motion planning algorithm $\text{RRT}^*$ (described in this paper) has been shown to yield collision-free paths which converge to the optimal path as planning time increases. However, as far as I can see, the optimality proofs and experiments have assumed that the path cost metric is Euclidea...
I can control a relay from an Android smartphone using Arduino and Bluetooth as seen here. However, it seems too costly to be using Arduino and a Bluetooth receiver for driving a switch. As long as Bluetooth is a radio frequency, is it possible to make a simple Bluetooth receiver which can output 1 or 0 to drive a rela...
I'm a long time Java developer who is starting to learn on the Lego Mindstorms NXT 2.0. Are there any limitations to using the Java API? Which language is the most robust on the platform? I found a post, Which programming language should I use with the NXT? which mentions many of the alternatives. The answer is helpful...
As I see there is a huge price gap between the two \$223 vs \$99 (at amazon). My intention is to use one of those from Ubuntu linux to perform depth sensing, navigation etc. and naturally I prefer the cheaper. However I am not sure if I miss some important point while betting on the Kinect for Xbox version. As it see...
I was wondering what options are there in terms of lightweight (< 5 lbs) robotic arms. I see Robai Cyton Gamma 300, and CrustCrawler AX18 look like interesting options. What lightweight arms do people use/like?
Is there an operating system for the Raspberry Pi that is specifically made for running robotics applications? Or an operating system whose purpose is to optimized just to run a few specific programs? I've been working with an Arduino for a while now. As far as efficiency goes, it makes sense to me to just upload a spe...
Is there a way to check if a task, function or variable exists in Not eXactly C? I know that in PHP you can use isset() to check if a variable exists and function_exists() to do the same for a function, but is there a way to do that in NXC? I am specifically interested in checking whether a task exists or it is alive.
I'm currently working on a line-following robot which uses three sensors to follow a black line. The sensors are pretty much in line and right next to each other. Right now, I'm doing a simple line follow: if on the line go forward, otherwise turn left or right to regain the line. This means that the robot is wiggling ...
Mars rovers are typically very slow. Curiosity, for example, has average speed of about 30 meters per hour. Why is it designed so slow? Is it because of some specific power restrictions or for other reasons? What is the top reason why it is so slow?
I have an LM2576 circuit plus an adjuster to adjust the output voltage, for controlling motor speed in a line follower robot. The circuit works great when adjusted to give out low voltages, but when I adjust it to higher voltages for my motors to go faster, it works great for 1-2 minutes, then suddenly cuts down the po...
I want to learn robotics and really interested in making a robot based on Kinect sensor. I see so many projects like this one, and just wondering how it works on top level. I downloaded Kinect SDK and did some basic tutorials, but I just don't think that Microsoft SDK is the library to use for real robotics projects. A...
I'm building a motion control platform with 3 DoF: 1 axis of rotation (theta) and 2 cartesian (x,y). In most applications, like wrist actuation, you have an X-Y stage with a rotating servo as the stage's payload. This configuration works well since little of the power and data wiring needs to transit to the non-linear ...
When using an EKF for SLAM, I often see the motion and measurement models being described as having some noise term. This makes sense to me if you're doing a simulation, where you need to add noise to a simulated measurement to make it stochastic. But what about when using real robot data? Is the noise already in t...
Is there anything different between a iRobot Roomba and the Create? I want go start building my own turtlebot and playing with ROS but with the cost of all the parts I'm going to have to do it piece by piece. It's pretty easy to find cheap used Roombas.
The interesting Kilobot project from Harvard for investigating multi-robot behavior with masses of small dumb robots has been made open hardware for a year now. However I cannot find so much activity about robot creation and movies about results. Is it too hard to create the robots, the programmer, the charger or isn'...
I'm a software engineer who volunteers with a non-profit that introduces young girls to technology. We have recently been talking about methods of introducing these children to the world of robotics, and I am curious what types of low-cost options we have. One very appealing idea would be to have an online simulator, o...
I recently asked a question about the juniper WiFi shield, and am now working with wifly from spark fun. I've been using an updated version of their experimental library, and have been attempting to set up a webserver. Unfortunately, when I attempt to connect through a web browser, I get an error saying that the page s...
I was working on a project to make a bedside night light out of a stuffed butterfly or bird. I was making a mechanism to make the wings flap with a servo motor and some small gears. The servo motor was very loud as it moved. And this was whether or not the servo was moving large amounts, small amounts, fast or slow. I...
I'm currently building a robot with four legs (quadruped), 3 DOF (Degrees of Freedom) and Its been suggested here that I use a simulator to do the learning on a computer and then upload the algorithms to the robot. I'm using an Arduino Uno for the robot and what software could I use to simulate the learning and then be...
Often when I need to perform model fitting I find myself looking for a decent C++ library to do this. There is the RANSAC implementation in MRPT, but I was wondering if there are alternatives available. To give an example for the type of problems I would like to solve: For a set $A$ of (approx 500) 3D point pairs $(a, ...
How do we know that an object is contained inside another object or is just lying on top of it? Lets take an example of a cup-plate-spoon. The cup is lying on top of the plate. But the spoon is inside the cup. How do we distinguish between the 2 situations? What are the criteria to decide whether A is contained inside...
There is a lot of background here, scroll to the bottom for the question I am trying out the map joining algorithm described in How Far is SLAM From a Linear Least Squares Problem; specifically, formula (36). The code I have written seems to always take the values of the second map for landmark positions. My question...
I am working on a quadrotor. I know its position -- $a$, where I would like to go -- target position $b$, and from that I calculate a vector $c$ -- a unit vector that will take me to my target: c = b - a c = normalize(c) Since a quadrotor can move in any direction without rotation, what I have tried to do is rotate...
Have you ever seen one those video games that has headset/goggles you stand in and look around the virtual scene with? I'm building one of those, and I'm trying to design a simple controller. I need the output of the controller to emulate a mouse input. So if you look to the left, it's as if you were moving the mouse t...
When you've created a map with a SLAM implementation and you have some groundtruth data, what is the best way to determine the accuracy of that map? My first thought is to use the Euclidean distance between the map and groundtruth. Is there some other measure that would be better? I'm wondering if it's also possible...
I'm building a hobby 6-DOF robotic arm and am wondering what the best way is to communicate between the processors (3-4 AVRs, 18 inches max separation). I'd like to have the control loop run on the computer, which sends commands to the microprocessors via an Atmega32u4 USB-to-??? bridge. Some ideas I'm considering: RS...
I've got a tread-driven robot, with low precision wheel encoders for tracking distance and an electronic compass for determining heading. The compass has significant (> 1 second) lag when the robot turns quickly, e.g. after reaching a waypoint — pivoting in place to point to its new heading. What are ways for dealin...
I've seen this question, which asks about determining the process noise for an EKF. I don't see anything there about pre-recorded data sets. My thought on how to determine the noise parameters, assuming ground truth is available, would be to run the data several times with the EKF and minimize the mean square error,...
I'm trying to power 7-12 servos, and I was under the impression that each one would need about an amp, but in looking around for an appropriate BEC to supply them, I notice that most seem to output around 1-3.5 amps. They won't all be running at once, but often, say 4 will be drawing enough juice to move. Obviously, I'...
I'm trying to program advanced functions in RobotC but I'm not too sure I'm doing it right. I want to specify the motor port I'm using, but I assigned names to all the motors. Funny thing though, they don't exactly work the same as regular variables. For instance, motor[port7]'s alternate name is light_blue. #pragma co...
I would like a high torque motor (37 oz-in @ 5760 rpm) for souping up a Scorbot 3 I bought. I really need it to have an encoder to count the number of revolutions and to allow high start-up torque. So far, I'm having difficulty finding a suitable motor. The closest I've found are: Revolver S Stubby (still not ready fo...
I'm familiar with the idea of the uncanny valley theory in human-robot interaction, where robots with almost human appearance are perceived as creepy. I also know that there have been research studies done to support this theory using MRI scans. The effect is an important consideration when designing robotic systems t...
I got the following homework question: What are the general differences between robots with Ackermann steering and standard bicycles or tricycles concerning the kinematics? But, I don't see what differences there should be, because a car-like robot (with 2 fixed rear wheels and 2 dependent adjustable front wheels) ca...
I am most familiar with SLAM maps that are point clouds, usually in the form of a vector like $<x,y,\theta,f_{1x},f_{1y},...,f_{nx},f_{ny}>$. I also understand how to create a map like this using an EKF. Today I came across a .graph file format, which as you would expect consists of vertices and edges in the format: V...
I'm using my own code to create a quadcopter robot. The hardware part is done but I need to balance the copter. The original video demonstrating the problem was shared via dropbox and is no longer available. I have tried to play with the speed of each motor to get it balanced. It didn't go. I actually have a gyro an...
I would like to design a robotic arm to hold a weight X at length Y (in my case I want to hold X=2.5 lbs at Y = 4 inches). Starting out simply, I would like try building an arm with a gripper plus one servo joint. [Servo Joint] ----- Y ------ [Gripper] When designing an arm, would I want to say that the gripper has ...
I am trying to build a semi-analog timer. Something like those old egg timers that you rotate the face of. I want a knob that I can turn that can be read by a microcontroller, and I also want the microcontroller to be able to position the knob. I'd like to implement "stops" by letting the microcontroller push the knob ...
The fact is that the more I search the less I find autonomous (real) robots in use. The companion robots are all toys with limited useless functionality. Whenever there is a natural disaster you don’t see operational search and rescue robots in the news. Even military robots in service are all remotely controlled machi...
I am looking for a good embedded PC to run ROS on. I recently came across a couple of little machines using new very multi-core processors, such as the Epiphany and the XMOS. Since the one thing that ROS really seems to want is cores, would ROS be able to take advantage of all of these cores? Or are they all just too f...
I was wondering, do we have real nano bots, like the ones in the movies? I think we have bots which can move through the blood vessels, am I right?