instruction
stringlengths
40
28.9k
In lecture 5.5 Bouncing ball, slide 26, Coursera's Control of Mobile Robot course, how are the state space equations formed in "Equations of motion in-between bounces"? Why is [0 -g] added? And how is the state space equation for bounces formed? P.S. The ball released from a height h.
I wanted to know what is the mathematical representation of 2D coordinate space with orientation in the same plane. 2D coordinate space is represented as $R^{2}$, how do I include orientation in the same? or is it included in it?
I am writing a simple script for universal robots UR10 robotic arm. I am trying to find a way to to see if the tool current position is outside of a 3D bounding box. the 3D bounding box is defined in the coordinate system of the tool. (y is up, x right, z backwards). The get_actual_tcp_pose() function returns the tool...
I have an old 980 that I want to turn into a Create. Is this possible? I've seen some posts that seem to indicate that it is, and I'm wondering if there are any more up to date instructions on how to do this. I'm strong on the programming side, but not so much on the hardware side. Any help would be appreciated.
Suppose I have two cameras $C_1$ and $C_2$ arranged in a stereo configuration. Let us assume that the camera is free of distortion with ideal intrinsics and that the camera extrinsics $R$ and $t$ are known. Let $C_1$ be the reference for the extrinsics of the system (i.e $R$ and $t$ are defined w.r.t to $C_1$). The tw...
Is it possible to perform stereo-calibration with cameras having variable focus? and if so, how is it done basically?
I have been wondering does MIT cheetah purely only use electrical active compliance on it's robot or did they use a Series elastic actuator since they have this webbing tendon?
I'm working on a robotic arm which uses 3x MG995 servo motors, 3x potentiometers (10k), and 1 Arduino Uno. I uploaded the code to the Arduino but the servo won't stop. I want to control it with the rotation of the potentiometer knob. In other words, as I rotate the knob on the potentiometer the servo should rotate by ...
I have a decoupled mechatronic system with two motors. I want for each motor to give a s-curve path as reference. You can see in the image below the position path, velocity and acceleration. All information that I have are extracted from these plots. The way I have designed the system, the position is given as the ref...
I'm very new to Robotics, so please bear with my ignorance about the subject. That said, I'm trying to use Open Motion Planning Library (OMPL) to set up the configuration space for a robotic arm modeled after the human arm. In my model, the shoulder has 3 DOFs for translation and 3 DOFs for rotation. The elbow has only...
The EV3 brick turned off by itself (the battery is not low), we restarted it and the file finder was empty, all our files are not there right now. Have they disappeared from the brick forever or is there a way to restore them(without re-downloading)? This has never happened before, what are some of the reasons this mi...
I am struggling with this problem for days. I really hope that someone could give me a hint what the problem is. The robot consists of 5 axes. The first axis rotates around the z-axis and other 4 axes rotate around the y-axis. And the solver basically works. Here is what I have done so far: I calculate the manipulabi...
I am using 12 towerpro SG90 servos. What battery should I use for powering 12 servos for my arduino uno? Can i use the 12v battery, plug it in to 12v dc jack of arduino and tap the 5v output of arduino uno to power all the 12 servos? Is it enough to supply exact power for each servo? Planning to use 5v powerbank, 12v b...
I have a robotic arm consist of three joints (servomotor for each joint), as shown in the figure below: Notes: Each servomotor rotates around 180 degrees. The angles of the theta2 and theta3 represent 90 degrees in the figure above. I found the forward kinematics by using the parameters of DH convention, as shown in ...
I'm thinking about how a quadcopter flight controller works, and I usually see that each motor speed is determined by a formula like: speed_motor_1 = throttle + pitch_pid + roll_pid + yaw_pid This looks fine, but one thing I was considering is throttle -> thrust is not so straightforward. For instance, a quadcopter in...
The length of the link is 50 cm and the arm moves 180 degrees. Can anyone help me? Out of the cosine theorem, $d = \ell \sqrt{2\left(\ell-cos\right)}$, I calculated the distance traveled by a linear axis and the rotation arc through the rotation connection. The circumfence is $2\pi R$. And $d$, for my drawing is $d=...
I am in the midst of designing a humanoid robot, and I am very new at this technical stuff, but I have found servo motors which are capable of producing 500 kg.cm. Now I am looking at making a raspberry pi cluster for controlling the robot, running different python scripts on each cluster node. I imagine one raspberry ...
I am studying the book "B. Sicilliano -Robotics. Modelling, Planning and Control" chapter 11, Input/output linearization topic. Where does the formula for theta in 11.75 come from? In the case of the unicycle, consider the following outputs: $ y_1 = x + b cos θ; $ $ y_2 = y + b sin θ $ with $ b \neq 0 $. They represent...
I have got an electronic speed controller as pictured in the first image. What kind of contacts are those on the left? The second image is a closeup. edit to clarify question I am asking how to physically connect these contacts. Are these pins or plugs? Are they for soldering? If yes what is the advantage over just sol...
I have found the inverse kinematics of a spherical wrist. The wrist is not attached to any other type of arm, it is the sole controller. Based on this IK solution, how can I generate a path plan for my robot? As far as I understand, its motion is restricted to a spherical surface. I have seen examples for path planni...
So I have an Adafruit pca9685 controlling an HSB-9380TH servo and a MG-996R servo. I recently began learning about building robot so I apologize if these questions seem dumb. I literally spent a days trying to google for answers. I have two 3.7V lithium ion batteries in series connected directly to the V+ and GND PCB t...
With the Meccano toy it is possible to construct a variety of useful machines. For example a knitting machine, a loom or a steam engine. What these machines have in common is, that they are doing productive work, running fully autonomous and doesn't need a microcontroller or software. On to other hand, robotics are mar...
As far as I understand the joint encoders output the angle and the wheel encoders output speed. Is that accurate? In either case, how do the differences affect the kinematic calculations, as in path planning, trajectory tracking and motion control?
Say, we are dealing with an odometric localization problem. In the below example, $(x_k, y_k), (x_l, y_l)$ are cartesian coordinates of the sensor and the landmark respectively. Then the output equation is: $z_k = atan2(y_k − y_l, x_k − x_l)$ Is the following the correct way of linearizing this equation? $H_{k+1} = (\f...
i had search over google and found out more or less some sensor that i could use like sonar, gyroscope, accelerometer,magnetometer and gps and 2d lidar (which is less expensive, around $300) i have cost budget so i couldnt go for those expensive devices. im new to robotic. thus i want to ask for some recommendation. i...
So I am fairly new to robotics however I do have some background with the python coding language. Recently I set myself the task of learning some basics for robotics just to increase my knowledge base. My question is about micro-controllers and specifically if I need to buy a certain type of microcontroller to be able ...
How do I create something like a class and have instances of it in ABB RAPID language?
I would appreciate if someone could assist me in compiling webots source for Python 3.6 to allow me and others to use TensorFlow with it. I already tried but apparently there is something not mentioned about a missing step. Thanks Link: https://github.com/omichel/webots/issues/105
I would like to control a system which orientation I measure with as quaternion based EKF in one degree of freedom. Obviously the simplest thing would be to convert the quaternion estimate to euler angles and take one of these. Unfortunately these euler angles are not stable. The other option I was thinking about was t...
I am trying to compare the performance of an IMU in motion against an optical tracking system. The IMU has an accelerometer and a gyroscope and gives output in the local IMU coordinate frames. The optical tracking system outputs the position and orientation in the global coordinate frame. The IMU is moving. I need help...
To expand on this, I have a down-facing camera using the whycon ROS node on Ubuntu 16.04 Kinetic on a quad-core computer with 640x480@60fps MJPG video. I'm also using the usb_cam node to publish the image_raw. I've noticed that the overall CPU consumption would already be above 90% for all 4 cores whenever I try to run...
When working with a FastSlam2.0 algorithm, ICP Scan Matching is supposed to give more accurate measurements than odometry. The problem is, that given some noisy measurements from the laser scanner, when the robot is stationary, or doing relative small movements, the dispersion from the ICP scan matching is greater than...
Pretty much as the title says. Why isn't it possible to build motors as microscopically and simply as they're built in humans? Why can't we recreate electronic nerves and muscles?
I have been trying to understand an implementation of monoSLAM 1. But my question is generic to EKF based single camera SLAM. My Jacobian calculation leads to complex and lengthy expressions while the c++ implementation [3] seems to have done it very easily with what they call 'projection Jacobian' and its inverse. I d...
I'm planning a robot vehicle and plan to get one or more motors that have encoders built in. How many encoders do I need I really need in order to gather solidly accurate information about speed and distance? I'll get four if it makes a difference but I'm having trouble seeing much benefit beyond one. Would averagi...
Am faced with a situation where my robot needs to feel breeze blowing by over its artificial skin. While there exist many types of tactile sensors, nothing seems to fit the bill. I might abandon the idea altogether but just wanted to know for the sake of know how if there exist sensors to do this sort of thing. Given s...
I have 2 motors (JGA25-370) with hall-sensor encodes. They emit about 90-100 interrupts every 100ms, so 1000 a second. Which means I have an interrupt happening every 1ms. The motors are driven by PCA9685 PWM board and L298N H-Bridge driver. It's all being operated from Raspberry Pi using a program written in Rust. It ...
I have an nvidia xavier with gpio running linux. It should work very similarly to raspberry pis. I need to connect a bunch of pressure sensors, thermistor, potentiometers, and vibration sensors to my robot. I expect to have over 100 analog sensors that I need to read from so I can control my servo motors accordingly. I...
I'm having troubles implementing a UKF during the calculation of $\overline{\mu_t}$, specifically in this step: $$\overline{\mu_t} = \sum_{i=0}^{2n}w_m^{[i]}\chi_t^{*[i]}$$ My problem I'm facing is that $\overline{\mu_t}$ seems to not be close to the values of the sigma points at all, and I have no idea why. My state i...
So this thread is similiar to this one: IRobot Create 2: Powering Up after Sleep All except I am trying to do this on an RPi. I have followed these intstruction: https://www.irobotweb.com/-/media/MainSite/PDFs/About/STEM/Create/RaspberryPi_Tutorial.pdf I have put together the little RPi top that uses the buffering chip...
I have a headset that provides 3 axis gyroscope readings. I wish to find out movement of head for e.g. if a person is nodding left to right etc. But the headset give me values in angular velocity for each axis. How can i process these values to get head movement in real time?
I'm trying to control a Nema 17 stepper motor with a L298N H-Bridge. My wiring is as below (except I'm using a ESP8266 not a YUN, and I have a mains 12V supply rather than batteries). This is consistent with other tutorials I have found online. #include <Stepper.h> const int stepsPerRevolution = 400; // change this...
Lets say the robot has 4Dof and the operator gives (x,y,z,roll,pitch,yaw ) as control input( rank(J) < dim(task) ). Now the robot is overwhelmed and will probably show some jerky movement. But can someone please explain in a mathematical way why a robot with 4 Dof cannot perform a task of 6 dim. ?
In the control theory the term “system identification” is used quite often. A typical sentence in a robotics oriented paper is that the author is trying to “build a model of a plant with matlab”. The idea is, that the model can predict future states of the system and is able to estimate the temperature. The plant is th...
I have been working on a self balancing robot and there are quite a few parameters and one of them is loop execution time (t_loop henceforth). To my understanding, the smaller t_loop, the better it is for the control algorithm. But, since the motors also need to be given sufficient time to react, we cannot make it very...
This is my school project. I would like arducopter to connect to Raspberry Pi but I do not know how to do it. Please help me!
I am modifying an implementation of SLAM with single camera, MonoSLAM [1]. Instead of image patches, I want to use features points (ORB) to track landmarks. MonoSLAM uses a EKF framework. So for every feature tracked, I have a covariance matrix which defines the uncertainty of the measurement in current camera frame. ...
i have read a spec. about gear motor and it shows that Stall: 9-13 Nm torque 25A max Per my understanding Stall torque is the maximum torque that can be applied to the shaft and cause the motor to stop rotating. So i wonder why it appears a range from 9-13Nm. As defination that i found, i think we only need t...
The first examples for passive dynamics were introduced by Ted McGeer in the early 1990s. The main principle of so called underactuated robotics is, that not all joints in the system can be controlled with motors directly, but some variables are free. A good example is a sailboat in the wind, or a one-leg robot who han...
I am implementing the explicit complementary filter(see below) with a 9DOF MEMS sensors (accelerometer, magnetometer and gyroscope) for attitude estimation. Currently, the gyro and accel update rates are at ~1kHz and I am running my filter at 100Hz. The magnetometer refresh rate is running at ~20hz. The constraints are...
I am working on a calibration algorithm where the motion is related to the observability of the parameters that I am calibrating. Let's say we have a 6 dof trajectory and wants to quantify its motion to see how dynamically it has moved. (e.g, to see if it is covering a wide angle in rpy space.) For example to quantify ...
How do I know how many counts per revolution I need for an encoder for my application? I need to be able to accurately capture a 1000 Hz signal on an input side running from 1-133 rev/sec (60-8000 RPM) and a 1000 Hz signal on an output side with gear ratio 1:100, so speeds are .01-1.33 rev/sec (.6 - 80 RPM). Here is th...
I'm learning ROS and I have found an expression that I don't understand. I'm reading the book "Mastering ROS for Robotics Programming - Second Edition", and on a controller to move a robot using keyboard said: differential_teleop_key already has its own built in velocity smoother You can find differential_teleop_key ...
newbie here. after my research, i couldnt find anything that could found what i wanted to search for my project(following robot for indoor location). without gps, bluetooth only, could i get the exact position of the mobile phone im pairing with? here some of my research: bluetooth_study this project use only bluetoot...
Before a motion controller for a robot can be created, a step before is needed, called “system identification”. The aim is to create a prediction model which can say, what will happen if a certain movement of the robot is executed. For example, a wheeled robot which is designed upon the steering principle will change i...
I'm trying to figure out an easy lazy susan setup. This is for video production, I want to be able to put an object on the platter and get a smooth consistent turn in order to shoot the object spinning. What would be the best way/parts to put this together? Thanks
I need to construct a Mobile robots preferably circular type of diameter 30 cm, it will be carrying a payload of 5kg. What will be optimal thickness the baseplate considering the material as aluminium? How to calculate these kind of these kind of problems
Thank you for any input in advance! Also I am not totally sure this is the right place for this question. If not then I apologize but couldn't think of a better place to post it. I am working on a project that requires several small motors communicating with a phone / raspberry pi / camera in order to perform functio...
I am a complete newbie to robotics, so please excuse me if this is a simple question. I bought this robot starter kit and need help understanding which features are associated to which GPIO pins: Here are the schematics: Schematics Is this information sufficient for me to know what feature is mapped to the GPIO pins ...
I've currently built a quadrotor with standard PID controllers for attitude, angular rates, and position control. I now want to implement obstacle avoidance and path planning using A*. I have a stereo sensor that outputs depth maps, however I am not sure how to use depth maps to translate into the path planner. Do I h...
When using the Yaskawa Smart Pendant SDK API (Java client), it is possible to set multi-byte I/O values via: controller.setOutputGroups(outNum, 2, value16bits); controller.setOutputGroups(outNum, 4, value32bits); However, sometimes the byte ordering is wrong. Depending on the product vendor or if using Ethernet/IP or...
I'm trying to find some youtube videos which are showing robot arms with some malfunction in it. The problem is, that the keyword is unclear. Should i search for “unstable”, “tremble”, “jerking” or “vibrate” as additional word? I'm sure, that especially lowcost robot arms have often this kind of behavior. If the mechan...
This is my first robotics experience, outside of one class 10 years ago. I've been Googling this question for about an hour but I can't find an answer! I'm using a ROHS Step Motor 28BYJ-48 (with an Arduino Uno). The rotating shaft that sticks out of the step motor seems to be called a "double-flat drive". It's less tha...
When the only inputs to your robot are the next x,y,z coordinates of the next point on and on, I can simply just calculate IK to find the angles and make my actuators move to these angles. Whats the point in calculating forward kinematics in this case? does it merely act as a check for your inverse kinematics integrity...
I'm doing my Engineering in Electronics, what subjects which I need to specialize in order get into robotics and also suggest additional things I have to study
I have a system which is composed of a rig of 8 cameras which are used for detecting markers in the environment and which outputs 8 estimates of the absolute robot's position and orientation. Now, I need to fuse these estimations. I don't know if the best way is using a Kalman Filter or something like that. On the othe...
Hi I am trying to model my humanoid robot. The general EoM is $M(q)\ddot{q}+C(q,\dot{q})+G(q)=U$ I know $M(q)$ is Inertia matrix which depends on joint positions $\textbf{q}$. However, I am having difficulty to find this matrix for my robot. I searched on internet and found that in order to find the inertia matrix I ha...
I have LIDAR data of an environment in my hand and I want to apply likelihood field matching to this data. I found a source. But I don't understand what the variables of the algorithm mean and how it works. Can you help with that? Note : We're trying to apply the particle filter to a mobile robot. And we will use this ...
I have managed to receive camera_pose for ORB-SLAM by following their code. If I run $ echo /world /camera_pose I receive something like this: Translation [-0.8, 0.66, -0.04] Rotation in Quaternion [ 0.2, -0.3, -0.2, 0.2] in RPY radian: [0.071, -0.032, -0.34] in RPY degree [0.4, -25.09, -3.2] D...
I found out there is a deadband in my steering controller after several runs. And the transfer function for it in the \$s\$-domain is $$ H(s)=\frac{270\cdot e^{-0.03s}}{0.015\cdot s + 1} $$ To overcome this deadband, should I introduce a compensator ? My control theory background is weak so am not sure of a proper way...
I have a 3 degree of freedom arm robot and by using D-H representation method get the forward kinematics but I can't derive the inverse kinematics can someone help me please ?
I am making an Arduino-controlled differential drive robot, and I am having the following problems: the encoders built into the motors are being used for measuring the rotary displacement, and while running they will randomly start counting the opposite direction of their rotation for a second then start counting the ...
I have attached an Adafruit Circuit Playground Express to my Roomba OI, and after manually waking it up I am able to successfully send opcode commands based on the Roomba OI Manual. I can even start, stop the OI and send the off op code, then restart with the RBC on LOW and get things going again. Where things stop wo...
I am trying to control a robotic arm with force input. The output of the force sensor is filtered, and fed through a PID controller to command the end-effector velocity. However, the robotic arm has strict limits for maximum acceleration and jerk. I've therefore tried limiting the jerk and acceleration after the PID, b...
I found out there is a dead time in my steering controller after several runs. The transfer function for it in the $s$-domain is: $$ H(s)=\frac{270 \cdot e^{-0.03s}}{0.015 \cdot s + 1} $$ To overcome this dead time, should I introduce a compensator? My control theory background is weak so I am unaware of a proper way t...
Is it common to take equal values for the proportional and derivative gains of a PID controller? if so what does it mean?
A delta-robot is a nice design for a robot, because it allows to separate the motor from the moving parts. As a result, large and heavy motors with 800 Watt can be used and at the same time the construction remains lightweight and the robot can move very fast. Instead of building a delta robot in real hardware, a first...
What are robot task planners? And how are they implemented? I don't think they are just FSM or behavior tree right? What are the popular and robust task planning algorithms? And what are the state of the art algorithm? I'm guessing task planning does priority assessment then choose to do certain task or not, for exampl...
Trying to create an algorithm/code in order to get my robot to follow a track which it currently can do, using a color sensor and following the inside edge. So I'm wondering how to transition to the track with broken parts the track has gaps with a max length of 20cm and only on straight parts. I also have a distance s...
When using Scan Matching ICP for FastSLAM, which is the proper way to use it? Between the current scan and the previous one, or between the current scan and the stored map? Can both be used? If so, what are the point of using each one? Thanks.
We are doing graduation project and require simulation of the robotic hand to be submitted. And we want to control various parameter in for movement for fingers of robotic hand. We tried it in other software but it was not feasible. After searching on YouTube and Internet we came to know that, simulations can be done o...
I am trying to understand the implementations and the relative performance of various classical and new Hand-eye calibration approaches. Note: The following discussion assumes implementations are in Matlab for the AX=XB hand-eye calibration approach. I have been able to successfully implement Wengerts and Lazax impleme...
my question revolves around 4 limbs robot ( but maybe even 2 limbs ) walking. As i see in many videos robots start "walking on the spot" in order to balance before actually moving somewhere. Why is that ? Has someone managed to start walking immediately skipping the "walking on the spot" phase? Thanks in advance for th...
I am building a robot that needs to accomplish the following tasks: Keep track of 4 quadrotor encoders, each 979.62 CPR @ ~ 500RPM, so ~ 8163.5 counts per second Read from an RPlidar A1M8, giving out 8000 samples per second (each sample containing distance, heading, a quality rating of the reading, and a boolean that ...
I am starting studying robotics from tomorrow. This is my first question to get started with robotics. Pardon me if this question is too naive. What factors determine the number of joints in a robotic arm? For instance, suppose, I am going design a robotic arm for, say, a bicycle industry. How can I determine the numb...
I'm trying to use a pan / tilt alt-azimuth telescope mount to track an object that is moving in the sky. The problem is that the object is changing speed constantly. I can easily track objects that are moving at a steady speed. I'm using the OpenCV library to compute the object's distance from the center of the image....
I had all the DH parameters and calculated transformation matrix. From that I know the end-effector value position. But I don't understand how to integrate orientation.
Most problems in robotics have to do with a controlling a system. An easy example for a system is the forward kinematic of a robot arm. A joint in the model gets a certain value, and as the result the arm is moving to a new position in space. More complex problems are visible if a grasping task gets simulated. Here is ...
I have an IMU attached to each of the segments of a robotic arm, which gives me accelerometer and gyroscope data. My goal is to first of all improve the quality of the sensor readings and subsequently get the angles of each of the joints. I'm new in robotics, but as far as I can see, I need a sensor fusion algorithm (e...
Equation 13.22 from Probabilistic Robotics below: Here's how I get from first line to second line: $$ p(x_{1:t}^{[k]} | z_{1:t},u_{1:t}, c_{1:t}) = \frac{p(x_{1:t}^{[k]}, z_{1:t},u_{1:t}c_{1:t}) }{ p(z_{1:t},u_{1:t}, c_{1:t})} \\ p(x_{1:t}^{[k]}, z_{1:t},u_{1:t}c_{1:t}) = p(z_t|x_{1:t}^{[k]} ,z_{1:t-1},u_{1:t}, c_{1:...
I have a brushless motor with a propeller attached, driven by an ESC and a LiPo battery. I noticed that as the battery level drops, the motor spins slower, which makes sense. My question is is it possible to get constant performance out of the motor (constant RPM) as the voltage of the battery drops from 4.2 to 3.7V?
How do I control a double pendulum to get the end effector link to go in the trajectory shaped in a perfect circle? I have the equation of the circle to go in but I don't know how to get the double pendulum links to move in on that planned trajectory. What steps should I take?
I'm working with position data from a hand sensor, and need to apply an FFT to it to get the level of tremor based on the frequency of the signal. I get two arrays, one with +1000 frames of position data, the other with +1000 timestamps related to position data, both in .csv files. I'm having trouble formatting the dat...
I have a CNC Router table that has 4 Nema 23 stepper motor (open loop). I want to upgrade the machine and use 4 Neam 34 Closed Loop Steppers. These are the motors and drivers I'm considering: Steppers: Nema 34 Closed Loop Stepper Motor Type: Bipolar Stepper Rated Current/phase: 5A Voltage: 5V Phase Resistance: 1o...
I and my friends are planning to build a dog like quadruped robot. We have designed it like MIT Cheetah Mini like legs structure, each leg having 3 Servos, 3rd DOF for rotation. We have calculated inverse kinematics equation for each leg. But I am not able to figure out what our approach should be for programming. We ...
I'm a bit confused about how one goes about calculating the sensor model $p(z_t|x_t, m) $ and inverse sensor model for position $p(x_t |z_t,m_{t-1})$. From this answer, it seems like one way for calculating the inverse sensor model would be to compare the current lidar scan with the raycasted lidar scan, and then compa...
I'm looking for ways to accurately navigate from one GPS location to another. I have a GPS sensor and an IMU. I can calculate the distance with the help of GPS I believe and with the help of magnetometer sensor on the IMU(acc + gyro + mag), I can calculate the heading angle and know which way to go. But the GPS data ha...
I am currently trying to find if its possible to program a Tetrix Prizm motor controller with ROBOTC? Because I have an EV3 brain connected with the Prizm to a robot assembly with two motors, and I was searching and here it says it can use Arduino.
On non-lidar equipped rovers, how is the width of an obstacle detected such that it can be avoided? If the ultrasonic sensors are used for obstacle detection, these sensors usually don't give data about the width. How is the width derived?
I am working on a project that requires training a neural network with humidity and temperature values. After spending a while googling on how to run a neural network on ESP32 (Wemos LOLIN D32 Pro), I came to the conclusion that off-board training and then uploading would be the best option. But I didn't get any resour...