instruction
stringlengths
40
28.9k
Good day, I am currently implementing a single loop PID controller using angle setpoints as inputs. I was trying out a different approach for the D part of the PID controller. What bought this about is that when I was able to reach a 200Hz (0.00419ms) loop rate, when adding a D gain, the quadcopter seems to dampen the...
I am using 2 identical DC motors and a castor wheel. The motors are connected to L293D motor driver and are controlled by RPi. The robot is not going straight. It veers off to the right. I am running both the motors at 100% PWM. What I tried to correct the error: I adjusted the PWM of the wheel going faster to 99%, b...
I am controlling a robot via usb from an Android phone running the robot's code. This phone has a poor battery and I need to extend its life with a USB charger (can't change phones). How can I charge an android phone via usb, while maintaining a USB connection to the robot? I can solder wires together if needed, or can...
I have a computer-vision application I made to localize a robot in a room; the software has been in use for a while and is working fine. When I calibrated the camera and got the intrinsics and lens distortion coefficients there was a lens protector on the lens, mounted on the robot's lid. If I take off the robot's lid ...
I understand that to be able to define point in 3D space, you need three degrees of freedom (DOFs). To additionally define an orientation in 3D space, you need 6 DOFs. This is intuitive to me when each of these DOFs defines the position or orientation along one axis or an orthogonal X-Y-Z system. However, consider a ro...
The target is in the shape of a U where the horizontal segment is 20 inches, and the two vertical segments are 14 inches. We are using a camera to image the target, and then using vision processing to isolate the target from the rest of the image. We know the vertical field of view, and the horizontal field of view of ...
So I have multi-rotor with a basic PID controller, that keeps its axis stable through the gyroscope. However, the multi rotor, does not keep its height or position. So I would like to use an accelerometer for keeping its rough position (auto level). I want to use both the gyro and accelerometer, but how would the accel...
I have bought an STM iNEMO evaluation board in order to monitor the inclination of a separate magnetic sensor array as it moves in a linear scan outside of a (non-magnetic) stainless steel pipe. I want to measure the inclination of the sensor along the scan and ensure that it does not change. The problem I have found i...
Can someone please share the typical cost of material to 3D print an object like a raspberry pi case? Thank you.
My understanding of walking robots (e.g. https://www.youtube.com/watch?v=xJlkBBdyBYI) is that they use a gyroscope to determine the current orientation of the robot, or each joint of the robot. This is because if you just put encoders on each joint, the cumulative error over the entire robot will be too large to mainta...
Hello I'm trying to figure out how modular arm joints are designed and what kind of bearings/shafts are used for a modular-type robotic arm. Take "UR arm" for example. I believe those 'T-shaped pipes' include both a drive and bearing system. And as you can see from second image, it can be detached easily. So I think it...
I am looking at this page that describes various characteristics of gyroscopes and accelerometers. Close to the end (where they speak about IMUs), the names of the items have something like this: 9 degrees of freedom 6 degrees of freedom Can anyone explain what does this mean?
I have a PR2 robot in an environment, which can be seen on the GUI of OpenRAVE. Now, how can I load a PUMA robot arm in the same environment?
I want to switch from usercontrol to autonomous. When I have the program running for 120 seconds, how come it wont automatically switch in autonomous mode? Thanks! #pragma config(Motor, port1, driveBR, tmotorVex393, openLoop) #pragma config(Motor, port2, driveFR, tmotorVex393, openLoop...
I have a small POM bevel gear with these dimensions: It has a 6mm hole for the shaft and a M4 hole for the set screw. Suppose this bevel gear is meshed with a 45T bevel gear and give a max. output torque of 0.4kg/cm. How should the design of the 6mm shaft be? Should the diameter be precisely 6mm? Should it be flattene...
I am a programmer for my school's FRC robotics team and have received the request from our hardware/driving department to limit the speed at which the robot's motors can accelerate given a joystick input telling it to increase the speed of the motor. For example, when the robot first starts up and the driver decides to...
For the last few months I have been playing with ROS on an nVidia Jetson TK1 development board. Up until this point, it has mostly been playing with the GPIO header, an Arduino Uno, a couple physical contact sensors, and a few custom motor and servo boards that I slapped together. But lately I've been eyeing an old 700...
My small robot has two motors controlled by an L293D and that is controlled via a Raspberry Pi. They will both go forwards but only one will go backwards. I've tried different motors and tried different sockets in the breadboard, no luck. Either the L293D's chip is broken (but then it wouldn't go forwards) or I've wir...
I am working on a remote control project that involves using Node.js and Socket.io to transmit joystick data from a webpage to my BeagleBone Black. However, I am somewhat disappointed with the BeagleBone - it seems like what should be such simple tasks such as connecting to Wi-Fi can be quite tricky... My question is: ...
I want to find the equations of motion of an RRRR robot.I have studied about it a bit but I am having some confusion. Here, in one of the lectures I found online, it describes an Inertia matrix of a link as $\bf{I}_i$ which is computed by $\tilde{\bf{I}}_i$ also described below? In conclusion, the kinetic energy of a...
I'm looking at the assembly of a tail rotor that should look like this original image I wonder if the "tail output shaft stopper" (circled in red) is meant to be a bearing or just a piece of metal stopper: My reading is that, since it's held by 2 set screws, the whole part should rotate with the rod. While rotating, ...
I've looked everywhere I can think of to find this information, but haven't come across anything. Does anyone know what kind of screws I can use to replace the ones on top of my Roomba 530? I realize that the Create 2 is technically a 600 series, but I would expect they were the same. I'd like to replace the screws on...
I have FPV camera which outputs analog video (RCA, PAL). I want to capture video and do image processing, therefore I need some way to convert the analog video to digital. Can some one recommend me how to do it? Is there advice or a shield which can assist? Please note: I want to convert the frames with minimum latenc...
Scenario I have 2 roaming robots, each in different rooms of a house, and both robots are connected to the house wifi. Each robot only has access to the equipment on itself. Question How can the robots be aware of each other's exact position using only their own equipment and the house wifi? EDIT: Additional Info Right...
As far as I know, a hardware real-time robot control system requires a specific computing unit to solve the kinematics and dynamics of a robot such as interval zero RTX, which assigns CPU cores exclusively for the calculation, or a DSP board, which does exactly the same calculation. This configuration makes sure that e...
Good day, I am working on an autonomous flight controller for a quadcopter ('X' configuration) using only angles as inputs for the setpoints used in a single loop PID controller running at 200Hz (PID Implementation is Here: Quadcopter PID Controller: Derivative on Measurement / Removing the Derivative Kick). For now I ...
I'm building an inverted pendulum to be controlled by DC motors, but I've run across a conundrum. Personal life experience tells me that it's better to have a lower center of mass to maintain balance. On the other hand, the greater the moment of inertia (e.g. the higher the center of mass), the easier it is to mainta...
I want to implement my own pose graph SLAM following [1]. Since my vehicle is moving in 3D-space i represent my pose using a 3D-translation vector and a quaternion for orientation. [1] tells me that it's necessary to adapt their algorithm 1 by using manifolds to project the poses into euclidean space. I also studied th...
To plot any curve or a function on a paper we need points of that curve, so to draw a curve, I will store a set of points in the processor and use motors, markers and other mechanism to draw straight lines attaching these points and these points are so close to each other that the resultant will look an actual curve. S...
I am currently reviewing a path accuracy algorithm. The measured data are points in the 7 dimensional joint space (the robot under test is a 7 axes Robot, but this is not of importance for the question). As far as I know path accuracy is measured and assessed in configuration (3 D) space. Therefore I am wondering if a...
I've been working on Humanoid Robot, and I face the problem of finding the Center of Mass of the Robot which will help in balancing the biped. Although COM has a very simple definition, I'm unable to find a simple solution to my problem. My view: I have already solved the Forward and Inverse Kinematics of the Robot wit...
I want to get telemetry data in my Raspberry Pi that will be connected to a CC3D board either via USB cable or Serial communication. How can I get the data? I plan to have wifi communication between the Pi and my Laptop. Also OPLink modems will be used both in the Pi and the CC3D for the telemetry. Does anyone have a p...
I am working on a robotics application that involves moving objects (e.g. books) between several (around 10) stacks. To measure the performance, I'd like to be able to measure which book is located on each of the stacks. The order is not important I just want to know if a book is on one of the stacks. The stacks are s...
I'm currently a robotics hobbyist and am full fledged in Arduino and I have used the Raspberry Pi to make some robots and PCs. Currently, I am thinking of making my own Raspberry Pi, from scratch, on a breadboard or a PCB or something. I surfed the web quite a bit and I did not get the answer I was hoping for. By makin...
Suppose I have a DC motor with an arm connected to it (arm length = 10cm, arm weight = 0), motor speed 10rpm. If I connect a 1Kg weight to the very end of that arm, how much torque is needed for the motor to do a complete 360° spin, provided the motor is placed horizontally and the arm is vertical? Is there an simple e...
I'm willing to make my first robot, and I'd like to make one similar to the Sphero. I know I have to add 2 motors in it, and make it work as a hamster ball, but I don't understand how I can make it rotate on the x axis aswell and not only on the y axis, if we assume that the y one is in front of the robot and the x one...
This is not really a problem but something strange is going on. When Create2 is connected to a PC via the USB original connector lead, when you start-up the computer the Create2 is activated by the Baud Rate Change (BRC) pulling to ground. If I understand correctly, normal behaviour. My Create2 is connected to a XBEE v...
I'm developing a robotic hand, and decided to place motors inside joints (as in picture) and I'm stuck with finding a stepper motor that can fit there. Approximate size of motor body is radius - 10mm, length - 10 mm. Any suggestions?
Given a pose $x_i = (t_i, q_i)$ with translation vector $t_i$ and rotation quaternion $q_i$ and a transform between poses $x_i$ and $x_j$ as $z_{ij} = (t_{ij}, q_{ij})$ I want to compute the error function $e(x_i, x_j) = e_{ij}$, which has to be minimized like this to yield the optimal poses $X^* = \{ x_i \}$: $$X^* = ...
Could someone help me understand the logic behind choosing a particular state space vector for an EKF? Context: Say there is a 4 wheeled robot that operates only in 2D. It is equipped with an inertial unit (a/g/m) and wheel encoders (I understand that these alone might not satisfy accuracy constraints, but consider thi...
I have a robot with 3 rotational joints that I am trying to simulate in a program I am creating. So I have 4 frames, one base frame, and each joint has a frame. I have 3 transformation functions to go from frame 1 or 2 or 3 to frame 0. By using the transformation matrix, I want to know how much each frame has been rota...
With DC motors, it is common to put a freewheel diode and/or a capacitor in order to protect the equipment as the motor can induce current into the system. I plan to use this board to control a 24V DC motor with a Arduino-like microcontroler. In an example in their documentation, they don't put such protection, so I wa...
I need to know if the iRobot Create 2 can be controlled with a NI myRIO that has been programmed through LabVIEW. The goal is to program an autonomous robot for real-time tracking using a Kinect sensor.
What is an intuitive understanding for homotopy? At what stage is homotopy (I understand it as stretching or bending of path) in a planning algorithm? Is homotopy involved, for example, while implementing an algorithm like RRT?
I'm trying to work a car that's being controlled by an Arduino. I'm using the following chassis: New 2WD car chassis DC gear motor, wheels easy assembly and expansion and an L298N motor driver. The problem is that it's hard to make the car go straight. Giving the same PWM value to the motors still makes them spin in di...
What? Put together here a list of books (like the one for C/C++ on StackOverflow) that are spiritually similar to Sebastian Thrun's Probabilistic Robotics for robotic manipulation and mechanics. Why? Thrun's book is a wonderful resource for implementable algorithms while also dealing with the mathematics/theory behind ...
I am working on a 6DOF robot arm project and I have one big question. When I first derived the inverse kinematics (IK) algorithm after decoupling (spherical wrist), I could easily get the equations based on nominal DH values, where alpha are either 0 or 90 degrees and there are many zeros in $a_i$ and $d_i$. However, a...
In catia .stl format is available only for part file not for assembly file. Please help how to import asembly in simmechanics .CATProduct to .stl Or Is there any other way to do?
Context: I have an IMU(a/g/m) + Wheel Odometry measurement data that I'm trying to fuse in order to localize a 2D (ackermann drive) robot. The state vector X = [x y yaw]. I'm using the odometry data to propagate the state through time (no control input). The update step includes the measurement vector Z = [x_odo y_odo ...
I am programming a robot to drive over variable terrain obstacles autonomously. The variable terrain could potentially knock the robot off of its initial heading, but I would like to design an autonomous sequence to correct for any change in direction. I am using a very accurate sensor with compass and yaw. What is the...
I have a robot arm in an environment. How can I check for collision between this robot arm and the environment?
Good day, I had been recently reading up more on PID controllers and stumbled upon something called integral wind up. I am currently working on an autonomous quadcopter concentrating at the moment on PID tuning. I noticed that even with the setpoint of zero degrees reached in this video, the quadcopter would still occa...
Context: I am working with the SFU Mountain Dataset [http://autonomylab.org/sfu-mountain-dataset/] The UGV image - via the SFU Mountain Dataset website: I have used the following state update equations (Husky A200 - differential drive) State Update - from Prob. Robotics, Thrun et. al [x' y' theta'] represent the state...
What kind of sensor I can use to identify which fruit it is (like mango or apple). Moreover, is there any sensor to identify different varieties of apples or mangoes.
I am trying to make custom parts that fit directly onto a servo. Doing this has proved more difficult than I've expected so far. I was hoping to avoid incorporating the provided servo horns into the 3D printed part, so I've been trying this method out. Below are images of my current test - a 3D printed attachment to th...
I've recently come across the concept of using information gain (or mutual information criteria) as a metric for minimizing entropy on a map to aid in robotic exploration. I have somewhat of a basic question about it. A lot of papers that talk about minimizing entropy consider an example case of something like a laser...
Prediction of new landmarks are commonly expressed as: Xm = Xr + r*cos(phi + theta_r), Ym = Yr + r*sin(phi + theta_r) However this is only true for point landmarks. What if I am extracting line feature?
I've read some papers for controlling nonlinear systems (e.g. nonlinear pendulum). There are several approaches for targeting nonlinear systems. The most common ones are feedback linearizaing, backstepping, and sliding mode controllers. In my case, I've done the theoretical and practical parts of controlling nonlinear...
The goal is to have a non-invasive flow meter that I can clamp over hydraulic lines. As a student of hydraulics, I ended up looking and poking around for a good way to make an ultrasonic flow sensor with Arduino and possibly the hc-sr04. Not married to either idea. So, I admit, I know nothing, but is it possible to do...
I have created a robot model in solidworks and exported in solidworks to urdf plug-in. When exporting the co-ordinates of the model is misaligned which is causing problem while using in ROS. As you could see in picture the Z-axis is horizontal in assembly whereas vertical in solidworks. How to align these co-ordinates...
I am trying to implement the Vector Field Histogram as described by Borenstein, Koren, 1991 in Python 2.7 using the SciPy stack. I have already been able to calculate the polar histogram, as described in the paper, as well as the smoothing function to eliminate noise. This variable is stored in a numpy array, named sel...
I've hacked a rc helicopter, and I am able to control it by running a program on my computer. I am interested in writing algorithms that will stabilize the helicopter. For instance, the helicopter is hovering, and then if it is shoved off balance it can return to its previous position in a stable state. Any help on an ...
My iRobot Create is playing a tune about every 30 seconds and continuously flashing a red light when I attempt to charge it. What is the issue?
I am working with a sampling based planning library. When I looked into the implementation, I found for kinematic car a SE2 state space(x, y, yaw), for dynamic car a SE2 compound state space (space allowing composition of state spaces), for blimp and quadrotor a SE3 compound state space was used. I could understand the...
I have to program an autonomous bot (using an ATmega2560). It has a 4-digit seven segment display attached to it. I have to make the bot traverse through arena while continuously displaying the time in seconds on the seven segment display. I can't use the code to display on seven segment display in my main() function. ...
I have a few robotic manipulators from NakkaNippon Electric and I'm trying to communicate with them using RS232 without success. The robot model are microrobots 88-4 or 88-5. I'm sending commands via COM port, but I can't received anything from the box. I'm using a USB-to-DB9 converter (FTDI) with a DB9-DB25 cable. On ...
I'm trying to determine the wind flow diagram around a quadcopter when it is in action. I looked up on internet but couldn't find any reliable source. By wind flow diagram, what I mean is when my quadcopter is in mid-air, hovering at some fixed position, how the air is moving around it? All the directions are needed to...
Is there a way to charge a Li-Po battery using solar panels to increase the flight time of a quadcopter during its flight?
I am working on the Baxter robot where I have a first arm configuration and a bunch of other arm configurations, where I want to find the closest arm configuration to the first among the many other arm configurations. The trick here is that the end effector location/orientation is the exact same for all the arm configu...
Background: I'm using the L3GD20H MEMS gyroscope with an Arduino through a library (Pololu L3G) that in turn relies on interrupt-driven I2C (Wire.h); I'd like to be able to handle each new reading from the sensor to update the calculated angle in the background using the data ready line (DRDY). Currently, I poll the ST...
I need some help here because I can't figure how the Unscented Kalman Filter works. I've searched for examples but all of them are too hard to understand. Please someone can explain how it works step by step with a trivial example like position estimation, sensor fusion or something else?
I am not sure if this is the best place to ask this question, but hopefully someone here can give me some advice. I have a device hooked up to a data acquisition system that can provide sync out signal and record sync in signals. I need to synchronize my recordings with this device to a video feed. I am having trouble ...
I have been working with KUKA LBR iiwa 7 R800 robot, with the KUKA's IDE, which is the 'Sunrise.Workbench'. Since it does not have any virtual platform to verify the code (simulate), it's been quite difficult, as I need to test each code by deploying to the robot. Can anyone suggest if there is any simulation software ...
The MATLAB Compiler SDK allows to create a wrapper for a MATLAB function which can be accessed by Java software. Based on my understanding, KUKA's Sunrise.Workbench IDE uses most of the standard Java functions. I was trying to read the package generated using the MATLAB Compiler SDK (the new version of MATLAB Builder ...
Has anyone ever run into a case where a fresh install of ROS cannot run its tutorial packages? I am running ROS Indigo on an nVidia Jetson TK1, using the nVidia-supplied Ubuntu image. I just did a fresh install, Ubuntu and ROS, just to keep things clean for this project. I am building a kind of 'demo-bot' for some stud...
I am designing a new mechanism similar to robot arm. It would be a 6 or 7 axis with arms but not the same with traditional articulated arms. As a result, new DH matrix,and inverse kinematics involve. I would like to consult the robot professionals in this forum that do you suggest any simulation tool of this mechanism?...
Good day, I am currently creating an autonomous quadcopter using a cascading PID controller specifically a P-PID controller using angle as setpoints for the outer loop and angular velocities for the inner loop. I have just finished tuning the Roll PID last week with only +-5 degrees of error however it is very stable a...
I recently bought a set of escs, brushless outrunner motors and propellers. I'm trying to perform a calibration on the esc, but I can't find how I can do that without using components other than the arduino uno itself. The setup I've managed to make is the one shown in the picture. The escs are a mystery, as there is n...
I am working on a micro dispensing system, using syringe pump. The design involves a syringe on top to be moved by stepper motor. There would be one liquid reservoir form which the syringe would pull liquid from, and push it to eject liquid from other end. When we pull the syringe, the liquid is sucked into the syring...
I want to build a low cost robot, running ROS for educational purposes. It can be a simple line follower using raspberry pi and an IR sensor. Is it overambitious as a beginner project? How difficult is it to make ROS run on custom hardware? P.S. I am newbie in both robotics and programming and I am more interested in b...
I started to use ROS hydro (Robot Operating System) on ubuntu, using the simulator "Gazebo" and roscpp library, in order to program some robots. In case of pick up and place known objects by robots, what are the topics of object perception for pr2 in ROS??
Some questions about this, my friends and I argued with this problem. Are operational space and joint space dependent on each other? I know that $x_e$ (end effector's pos.) and $q$ (joint var.) can be expressed by an equation with non-linear function $k$: $x_e = k(q)$ But I don't think that it tells us operational spac...
I started to use ROS hydro (Robot Operating System) and roscpp. I tested some examples to move the gripper of pr2 in Gazebo (especially the code in : http://wiki.ros.org/pr2_gripper_sensor_action/Tutorials/Grab%20and%20Release%20an%20Object%20Using%20pr2_gripper_sensor_action ) with catkin package. I launch : roslaunc...
I have to know where a multi-rotor is, in a rectangular room, via 6 lasers, 2 on each axis. The problem is like this: Inputs : Room : square => 10 meters by 10 meters 6 positions of the lasers : Fixed on the frame 6 orientations of the lasers : Fixed on the frame The 6 measurements of the lasers The quaternion from t...
UPDATE I have aded 50 bounty for this question on the StackOverflow I am trying to implement object tracking from the camera(just one camera, no Z info). Camera has 720*1280 resolution, but I usually rescale it to 360*640 for faster processing. This tracking is done from the robots camera and I want a system which ...
What action cost should be used to get a smooth path? Like we use distance traversed to get the shortest path. Will the cost to get a smooth path will be something related to rate of change of slope of the path?
I'm a CS student and I need to give a 30-minute lecture about 1-2 papers describing 1-2 algorithms for any of the main problems in Robotics (navigation, coverage, patrolling, etc.). I have no background in Robotics specifically, but I did take classes such as Algorithms and AI (including some basic AI algorithms such a...
Let's say I have a 6-DOF flying camera and I want to make it move through a circular tube autonomously and let's suppose that the camera and the system that makes it fly are considered to be just a point in space. Which feature of the image I get from the camera can I use to move the camera appropriately, that is to ge...
For my robotics project I would like to utilise readily available mobile phone 'power banks' to simplify the power system for my robot. However, such power banks output 5V, great for the logic systems but not for the motors. I was wondering if I could wire the outputs of two power banks in series and get 10V or is thi...
I have built an R/C Lawnmower. I call it the Honey Badger, because it tears stuff up (that's a good thing). Well, I used used batteries to get the project going and now it's long past time to get the Honey Badger going again. The Honey Badger is built on an electric wheelchair frame, and originally used wheelchair de...
I'm seeing a behavior in my RoboClaw 2x7 that I can't explain. I've been trying to manually tune the velocity PID settings (I don't have a windows box so I can't use Ionmc's tuning tool) by using command 28 to set the velocity PID gains, then command 55 to verify that they're set correctly, then 35 to spin the wheel a...
I am trying to use a quaternions for robotics and there is one thing I don't understand about it. Most likely because I don't understand how to define position with quaternions and how to define rotation with quaternions if there is any difference.. Please watch my "understanding steps" and correct if I am wrong somewh...
I am new working with robotic arms but I am having trouble finding the correct servo for the base of the arm. It is a 2 link robot - each link weighs 1.2 kg and is 40 cm long. I have a gripper of 10 centimeters. The servo in the gripper can hold a max of 4kg. The whole robotic arm, including the maximum load it will c...
I was reading these papers on visual inertial odometry from IROS 15: Semi-Direct EKF-based Monocular Visual-Inertial Odometry Robust Visual Inertial Odometry Using a Direct EKF-Based Approach I would appreciate if someone could explain how semi-direct and direct methods vary exactly? As far as I understand, direct met...
Good day, I would like to ask how is it possible to use an ultrasonic sensor for altitude hold in a quadcopter if the sampling rate of the Ultrasonic sensor (HC-SR04) is only 20Hz before incurring any errors through polling when I had tested it. I have seen this sensor being implemented on other projects however I coul...
I am working on a project with the Create 2. Just recently I have run into a problem with the battery state. The Create 2 has been charging all night so its clean light shows green. However, when I unplug it and press the clean button, it shows red and will not consistently run commands from my Arduino that I have hook...
I have a chance to develop a user interface program that lets the user control a KUKA robot from a computer. I know how to program stuff with the KUKA utilities, like OrangeEdit, but I don't know how to do what I want to do. I don't even know what's the "best" language to talk to the robot. My idea is to control the ro...
I am trying to understand the effect of drift in Simultaneous Localization and Mapping (SLAM). My understanding is that drift occurs because the robot tracks its position relative to a set of landmarks it is storing, but each landmark has a small error in its location. Therefore, an accumulation of these small errors o...
With introduction of incremental sampling algorithms, like PRM and RRT planning in higher dimensional spaces in reasonable computation time has become possible though it is PSPACE-hard. But why is a quadrotor motion planning problem still difficult even with simplified quadrotor model? I was solving a dynamic car prob...
Reading this paper on visual odometry, where they have used a bearing vector to parameterize the features. I am having a hard time understanding what the state propagation equation for the bearing vector term means : The vector N is not mentioned in the equations, so its not very clear what it does. Would really appre...