instruction
stringlengths
40
28.9k
I have a location of a tool with respect to the base. That location is described by an x,y,z coordinates and three rotations. I call that $Target$. I want to make a geometrical approach on the first three angles. I first have to remove some parts of my target to get it to the wrist and also remove the base. This. First...
I am studying the Denavit Hartenberg and to practice I am using the following manipulator: I have been able to assign some of the frames almost correctly, but i did some mistakes I cannot understand. First of all, the correct solution for this manipulator is: now, in my attemps, I did some mistakes, which are the fol...
I am currently going through all the pixels in an image to determine what is a white pixel. I then have to decide where to drive the bot. I am also using sensor_msgs/Image.msg that I get from the /camera/rgb/image_raw channel. However, I can't seem to locate any white image with the code but the RGBa values I set in m...
I am currently estimating a robot's pose (3d position and rotation matrix) with an IMU and I want to reset the localizer in the middle of the run while keeping the relationship to the pose it had when the reset occurs. Basically, at time t, I have the position and velocity in the world frame of the robot as well as the...
I am trying to understand the axis/angle representation. So far, I have understood that the main idea is that every rotation can be represented as a rotation around an arbitrary axis of an angle $\theta $. So, for example, if I have a rotation matrix $R$ I can find an axis $r$ and an angle $\theta$. what I have not cl...
How to rotate coordinate frame (transform point or vector coordinates) using angles from 2-axis inclination sensor if both X and Y angles are non-zero?
I am studying robotics, and I am trying to write a Matlab code for computing the derivative of the jacobian matrix. The formula for computing the derivative of the Jacobian is the following: so it has been done a derivation with respect to time and it has been applied the chain rule. I know how to do this computation ...
Consider the following situation: I have a robotic arm manipulator with all revolute joints, for example consider a 2R planar manipulator. We know that if we compute the direct kinematics of it, anf the from the direct kinematics we derive the Jacobian matrix (for example only the linear part), we have that: $\dot{p}=J...
I'm new to this forum so I apologise if I disrespect some rules. I am considering using HTTP requests to control a robot remotely. The design problem I am trying to solve is that I would like to operate my robot using a wireless controller. The controller communicates to my pc, which then transmits data about its joyst...
I'm a newcomer to this kind of tinkering so please bear with me here. I've searched high and low for an answer but have been unable to find one. I have a Raspberry Pi Zero W hooked up to a L298N motor controller and want to turn a motor forward or backward using Johnny Five. Oddly enough, when I do a simple trial of si...
I am studying robotics and I am focusing on trajectory planning. I have been struggling with this topic for a while, and I still have some doubts that I cannot solve. One of them is the following: I was solving a problem for training which required this: A robot joint should perform a rest-to-rest rotation $\Delta \th...
I am Bioengineering student at one Iranian middle-rank university and have a small business in building some easy medical devices (PCB and CAD designing with Programming and some market experiments). So, one of my interests is finding teams of student during this study for my business, so interested in one of the unive...
My goal is to model an accelerometer and a gyroscope based on real hardware. I understand deterministic errors like bias and scaling but the different types of non-deterministic errors are difficult. After a bit of research, I found a tutorial provided in the matlab documentation. $\sigma^2(\tau) = \frac{1}{2\tau^2(n...
I have calibrated my cameras using OpenCV. I used cv.stereoCalibrate to get the E, and F matrices. I wanted to do a sanity check to see if the E matrix obtained is the same from what is manually computed, but I did not get the same results. I am using E = np.dot(np.dot(K2.T, F), K1) K2 is the Second (Right) Camera M...
According to the traditional kinematic theory for mobile robots [1][2] a mobile robot with a steerable wheel and two passive casters presents a $\delta_m=2,\delta_s=1,\delta_M=3$. This is easy to explain, looking at the kinematic constraints imposed by the standard wheel. What I cannot understand is the interpretation ...
I am working on a project to implement a collision avoidance algorithm on a real UAV. I'm interested in understanding the process to set up a negative reward to account for scenarios wherein there is a UAV crash. This can be done very easily during simulation(if the UAV touches any object, the episode stops giving a ne...
I'm quite a fan of fortran and I was wondering if there were any libraries to control the GPIO pins in a raspberry pi with it. I find python to be quite slow so I think it is the best option for making it fast.
Dear Robotics Specialists, I want to contact you for advice. I am developing a control system for complex parallel mechanisms like what I presented in this thread. Formulas for calculating the passive joints angular velocities I faced the problem of estimating the pitch, roll and yaw angles of a platform. On the one h...
I've a robot created with Peter Corke toolbox and I must plot it inside an app (must be in App Designer - Matlab). The problem is that everytime I try to plot it, it makes an independent figure outside the app. I've got the UIAxes created but I don't know if I can make it 'Parent' with a SerialLink.plot. Is it even pos...
I am a student studying robotics, and I am focusing on trajectory planning for a robotic arm. In particular, I am studying polynomial interpolation for defining the trajectories, and I am having some doubts. I have understand that ny using a polynomial interpolation for defining the timing law of a trajectory I have a ...
I've built a simple robot that can move. I'm using brushless motors. I've realized that at slow speeds the motors pull a lot of current. I didn't understand the power / current / efficiency charts when I started. I see it in the charts, now, that the efficiency in electric motors is at high RPM and the low speed to...
I am currently working on driving a bot based on the location of a white ball and I find that giving it negative angular movement moves it to the left rather than the right. Here's a code snippet for what my instruction. Note that for left direction drive_bot has 0.0 linear direction in the x-axis but 0.5 instead of -0...
I am able to control every desired aspect of my robot, except for vacuum motor which seems to be turned on for some reason every time I send Seek Dock (code 143) command. Is there a way to turn it off? I was trying to send Motors (138) command with argument 0 after sending Seek Dock, but docking also means changing OI ...
I have a robotic system with many sensors that need to have very accurate localization associated with the data they gather. We have a geolocalization system that acquire localization at high speed (up to 100Hz) and we want to broadcast a synchronization signal that we can associate with this localization data. We deve...
In the literature, it is often seen that for a system: \begin{align} \Lambda \ddot{e} + D_d \dot{e} + K_d e = F_{ext} \end{align} A dynamic damping matrix is required for a robot to take into account the structure and changes of $\Lambda$ during movement. Hence the following method called the "double diagonaliz...
I am rather new to screw theory and also lost in robotics books' formulas. we have a simulator of a robot arm within Mujoco physics engine and I'm wondering how I can calculate wrench and twist in the local and base coordinate frame. In the simulator what I have available is the end-effector's translational (jacp) and ...
given position and orientation of two coordinate frames, how can transfer a vector from one frame to another. The position is given in Cartesian space and the orientations in quaternion or Euler angels.
I am working on a robot arm with 7 rotational joints. I can generate the T of any position, what I want to do ist to represent the vector Xf of the end effector frame in the base frame. How can I do it?
I know how to set up CMake and Toolchain remotely using ssh through official wiki. Does anyone know how to configure a remote ROS environment in CLion?
I have seen in the documentation of an old subcontractor's product that the controller of a robotic arm joint was basically feeding error position + error rate directly into one single PID. It feels wrong to have two different variations mixed before acting on the mix, but I may be wrong given that, after all, speed i...
I have 4 3d points(x, y, z). Using these points how can I calculate rotation angle? Consequently, I want to have a 4x4 transformation matrix including rotation and translation information. 4 points are in a plane and they are rectangle and I set the top-left point as the origin of the rectangle coordinate. Look at the ...
I am just learning about twists to represent 3D velocities (e.g. of a robot's end-effector), and I have two questions: 1) Wikipedia defines a twist as "an angular velocity around an axis and a linear velocity along this axis". To represent a twist mathematically, this requires defining a point in 3D space (3 coordinate...
I have a couple of motors on my mobile base other than the drive motors, and they tend to create vibration in the robot. When these motors are turned on, the wheel's encoder ticks increase without any actual movement. This is destroying my odometry. As I need the motors to be on all the time, I need some help to figure...
Hey guys I am quite new to quaternions and I am a bit unsure as to how to use them. How are the velocities and accelerations trajectories determined using quaternions? I have been using slerp to interpolate the orientations. $$ \begin{align} Slerp(Q_0, Q_1,t) = Q_0(Q_0^{-1}Q_1)^t \end{align} $$ Where $t$ is the interpo...
I'm having problems finding the right sort of joint for my shoulder connection. It is a flat surface on the side of the mech body and I need to create a joint with maximum movement rotating: up, down and to have a possible butterfly style movement.the joint will be above and behind my arm like an exoskeleton.
Short Question: As demonstrated in the image below, how can I calculate the rotation matrix that relates the base coordinate and the rectangle coordinate, given 3 known points P1, P2, P3 on the surface of the rectangle with respect to the base coordinate? Long Question: I am currently working on OMRON pick-and-place r...
I have an omnidirectional robot (x, y and rotation around z), which I would like to use the SLAM-algorithm from ROS. But the odometry from the robot has a drift, which makes some error. To improve the odometry error I need to calculate or specify the covariance matrix. How do I do that on a real system? Regards Markus
I am trying to set up a simple and listener talker across two machines connected on the same wifi network. Machine A has the 10.42.0.89 address and is running the roscore and another node that publishes messages on a topic. $ printenv | grep ROS ROS_IP=10.42.0.89 ROS_MASTER_URI=http://10.42.0.89:11311 The other Machin...
let's assume that our robot consists of 3 degree-of-freedoms. In order to move the end-effector of this robot along a straight line, these 3 joints have moved as below: Now, if the desired end-effector trajectory is changed, how can I deduce from this deviation of end-effector trajectory, the correspond joint movement...
As a final safety measure regarding some high wattage motors, I want to measure their temperature (either internal or surface) in live time so that I can automatically kill the power if it crosses a threshold. Temperature modules I am finding appear to be mainly for air or liquids; I don't know if there's anything out ...
I want to control a robotic manipulator in Cartesian space, using inverse kinematics. I know that I can do this using $\omega=J^{-1}v$, where $\omega$ is a vector of joint velocities, $J$ is the Jacobian, and $v$ is a vector of {position, orientation} velocities in Cartesian space. Here, the Jacobian expresses how the ...
Summary: I'm using new vision of opencv, opencv 4.2 with ubuntu 16.04 and python 2.7 After built cv_bridge, the output is: import rospkg ImportError: No module named rospkg Here's the more detailed version: here I tried to build cv_bridge in order to run OpenCV 4.2, Ubuntu 16.04 (ROS Kinetic) and python 2.7. I will e...
Let's say I have a robot consisting of a base $B$ and a manipulator $M$. The pose of the manipulator can be expressed as the transformation matrix $T_{BM}$. I also have a goal $G$ which I want to move the manipulator to, which can be expressed as the transformation matrix $T_{BG}$. My task is to compute the robot's joi...
I've done the FK and IK for this robot: On those I seem to be able to get to the positions I want on the simulator so I'm assuming nothing is wrong with my FK and IK calculations. I've tried to calculate the Jacobian to later determine the speed at which each actuator needs to go while inputting a linear speed for the...
I don't understand where the matrices A and A transpose come from in the equation in this series. I have done a one-dimensional example in the series but I don't see how to derive these matrices in matrix form.
What is the difference between constant curvature kinematics and rigid link kinematics and what is their respective definition?
How can the manipulability of a robot arm be calculated when the kinematics are described with screw theory such as dual quaternions? These methods are sigularity-free, but what could we say about dexterity?
In my case, I have a library handling 3D input data and want to write tests in order to make sure that my coordinate transform chains for getting the 3D points from A to B are correct. The problem I see here is that in order to write a test, I have to reimplement the coordinate transformation on the test level and comp...
I'm doing a little hobby project where I want to weld two thin plastic sheets together, using two heated plates with a specific pattern. I was doing this manually but felt that the result was unreliable as it had too many human errors, unable to control the pressure and the welding time. I have electric linear actuato...
I have a few questions about controlling robot arm motion. I see that some have used Dynomotion KFLOP and other CNC motion controllers to control arms. Some have used Rumba board as well as several thousand dollar boards. But why don't we all just use ROS? What are the main benefits these boards give? AFAIK neither the...
This is my first question here and I'm not into this thing at all. I recently saw a movie named Pacific Rim and in that I saw a technique in which a robotic arm imitates human arm(in the beginning of the movie). I was wondering what is that technique called and is it ever possible to build giant robots like the ones sh...
I have defined a custom message: uint8[] data The custom message is imported in my Node class with no problems: from my_shared.msg import MyMessage In the same Node, I create the publisher with: self.my_publisher = self.create_publisher(MyMessage, 'topic_in', 200) and I publish the message with: self.my_publisher.p...
How do you calculate the likelihood of making an observation ? Does someone have a link to a book or article that explains the math that you need to do to implement a PF algorithm? Conceptually i understand the implementation but I'm having a hard time updating the particles after a measurement update. Any resource t...
There are several methods like manipulability and conditioning index for design optimization kinematics performance, but these methods rely on the singular values of the jacobian matrix. I described kinematics by screw theory using dual quaternion that is singularity-free. I need an index to optimize links length and t...
Let's say I have a Jacobian which gives the relationship between the velocity of a robot's joints, and the Cartesian velocity of its end-effector, relative to the end-effector's local frame. And let's say I also have a target pose to move the end-effector to, expressed relative to the end-effector's local frame, in Eul...
I have gone to some of the blade designs and profiles of the blade which suits my requirement. But, once after entering the Theoretical calculation, I was stuck in the determination or the Justification for the Magnitude of Pitch mentioned in the Blade. Example: I have taken the propeller of size 10 inch and 4.5-inch p...
I am trying to develop a EKF-SLAM algorithm for a drone, and I want to estimate its position in the inertial/world reference frame. I have as control variables the linear and angular velocities in the drone-reference frame. To do so, I am following this paper: http://ingmec.ual.es/~jlblanco/papers/RangeBearingSLAM6D.pd...
I have a sequence of measurements $\{(x_i, y_i, \theta_i)\}_{i = 1 \:...\: N}$. Each of these represents the new pose of the robot seen from the previous pose, i.e. a measurement $(x', y', \theta')$ means that the robot moved of $x'$ and $y'$ units in the $x$ and $y$ axis of the previous coordinates system and rotated ...
I have a quadruped robot with base link (BL), 4 child links called LFT, LFT, RFT, RFT, T for thigh and each having 4 children with name LFC, LBC, RFC, RBC, C for Calf. 8 joints - Base link to 4 thighs and 4 thighs to 4 calfs are used. An excerpt from the URDF is posted below: <link name="LFC"> <inertial> ...
I installed ros-melodic-navigation with: $ sudo apt-get install ros-melodic-navigation [sudo] password for user: Reading package lists... Done Building dependency tree Reading state information... Done ros-melodic-navigation is already the newest version (1.16.6-1bionic.20200530.114248). The following packages ...
I am learning Kalman Filters and was working on a simple example: Temperature measurement of a room by using 4 thermometers(different biases and noises) if i consider that there is no bias in the system the model becomes simple with x = [temp] F = [1]; H = [1 1 1 1]; but lets assume my thermometers have a bias, how do ...
I am currently working on a project where... Vehicle travels from point A to B GPS trajectory is used as a reference Vehicle odometry (bicycle model without slip angle beta) was used to estimate a trajectory, which resulted in odometry error I am now given sets of lidar contour points & lane data (timestamps aligned w...
I am currently working on fixing vehicle odometry data using lidar contour points. Since I am receiving lidar data in the form of countour points, I thought I'd use ICP to correct the odometry error calculated from bicycle model. Here is my question. The code I am referencing from https://github.com/kissb2/PyICP-SLAM/b...
Why do we take probabilistic approch to model the environment for robots in occupancy grid maps.The assumption is always taken that each cell on the grid map is either free or occupied.So why have probabilitic approch?
I plan to implement a sensor fusion of IMU + Visual odometry using an EKF. I came across the excellent robot_localization package which does pretty much all that I want. However, I need to use perform my task without using ROS, and work in an offline setting, where I have a dump of my IMU and Visual odometry data times...
My place of work has recently acquired a Hydraulic Press Break from the 80's. It has a CNC controlled back stop which is driven by a DC motor and Screw drive. The encoder which couples to the motor provides feedback for the control loop. I have determined the Encoder is faulty as when i rotate it clockwise by one turn ...
I need some help in 3D Positioning system I'm trying to set up. At the moment I am using 2 Calibrated cameras, my strategy is to place an AR Marker on the scene, identify the position of the AR Marker in the two different (left & right) images, and then triangulate the point to get the 3D coordinates. Another approach ...
I am a PhD student, working on Sensor Fusion and estimation problems. I would like as I finish my PhD to have acquired sound knowledge in what seems to be the industry norm for working with real perception systems (irregardless of context) , modern C++. This is a required skill in literally any job post that I see. I d...
When one is implementing a state estimator in a system that involves kinematics, will inevitably face the problem of angle discontinuities, i.e., the fact that the angles have to be wrapped between within [-pi -> pi), or between ( 0 -> 2pi ], or else estimation algorithms such as a KF will not work due to the possibili...
I am working on a task that involves finding a distance of a moving object going a static linear object, e.g a long pole. After trying some approaches (mostly involving stereo vision), I have come up with the idea of building an array of 1D Lidars set apart in fixed distances from each other and from the static object ...
Does anyone know if a shaft can be pressed into a gimbal motor like this? Is the centre metal ring just the inner race of a ball bearing? The ring looks thicker on one side but thinner on another though. Thanks
I am exploring the option of using a EKF with my differential drive robot. I do not have any prior experience with kalman filters. The robot that is under consideration has two wheel encoders for odometry input using which can be used to calculate the displacement and heading change in the odom frame. It also has two m...
We are in the process of implementing a motion control API for a research project. The goal is to implement a somewhat comprehensive API for motion control that provides the most commonly used primitives, while providing a workable programming model. There doesn't seem to be any standardization in the industry (or is t...
I know that DTAM and LSD-SLAM both employ the photometric error between two keyframes to estimate the image depth. But I don't know what the photometric error describes precisely. In the DTAM paper, I found the following figure describing the principle: However, if I only have images I_r and I_m and not the pose trans...
Hi i am doing an apriltag following project. I am currently trying to test how to get distance between the tag and the camera. I have subscribed to the AprilTagDetectionArray msg. My main question is how do i get the distance between the tag and my camera. Should i use the position or the orientation values? I want the...
I have been trying to find the HTM of a 2-DOF arm in 2D by finding the rotation matrices and displacement vectors by hand rather than use DH parameters to better understand them. I have followed the steps in this video to find the rotation matrices by finding the rotation when the joint angle is 0, and multiplying with...
To get straight to the point I want to know how to fix this error and understand it, what is an RLException? Why am I getting this? How can I avoid this later? Below I will post what I did step by step: This is the directory where I have my files ~/Desktop/Research/research_ws This is the error i'm getting: RLExceptio...
I wonder why most robotic arms use large J2 (shoulder) motors rather than counterweights. What sort of complexity do they add to the design beside increase in overall weight? In fact, rather than using extra weight as counterweight, the J3 (elbow) motor could be shifted down past J2 and use J3 motor as counterweight, b...
all. I am trying to construct the map of the environment by using the measurements from the proximity sensor in V-Rep. I have absolute position of the robot. So, I know the X1, Y1 coordinates of the robot with respect to inertial frame. And I also know the X2 and Y2 coordinates of the obstacle with respect to the senso...
I need to control 10 Standard Servo Motors (operating at 4.8-7V/300mA-1A/2.5kg-5kg torque) in my project. I'm using RPi as my processor and I was looking for a servo driver. I came across PCA9685 16-ch 12-bit servo driver from adafruit, But it can only operate at 5.5V maximum. also, each standard servo can consume upto...
Suppose I have M lidar contour points from t = k and N lidar contour points from t = k+1. (Some of you might question why I have differing number of contour points, and the reason is that these lidar contour points have been filtered from raw point cloud data to only detect road edge, and sometimes these edges aren't d...
Given a rotation vector, can we always get the same corresponding rotation matrix computed by the Rodrigue's rotation formula?
I know that a bar type load cell needs to be setup as shown here as to flex the strain gauge However, most tutorials or guides show how to setup an S type load cell like this (for tension) and not much info on how to setup for compression. Im guessing the load does not need to be right on top of the screw hole as per ...
I am trying to implement an Extended Kalman filtering for combining IMU data and visual odometry in a simple 2D case where I have a robot that that can only accelerate in its local forward direction which is dictated by its current heading (theta). I am restricting IMU readings to a single acceleration reading (a) and ...
I'm really sorry if this is a dumb question, but I don't have a clue on how to do this. I'm trying to write a kalman filter with a State vector of : $$ {x, y, \dot{x}, \dot{y}, \ddot{x}, \ddot{y} } $$ To estimate the 2 dimensional position and velocity of a holonomic robot. Currently, I'm planning on fusing encode...
I have purchased x4 612 RPM actobotics motors. Every time I try to drive the motors on ground, the motors stall, as if the torque was too low to drive. The motor model: servocity.com model #: 638284 Planetary Gear Motor 612 RPM @ 12v (1/14 Ratio) Here is a picture of how i assembled the motors to the chassis: See: Ori...
I have a configuration space in 3D where my manipulator must reach certain points. Taking into account all the factors how do I decide the mininum number of links and joints my arm must have?
I am working on a bot controlled by Arduino-UNO using HC-SR04. I want my bot to go around the floor, avoiding all obstacles, covering the entire floor. I tried measuring wall distance on all sides and gradually navigating the bot so as to increase two distances(h2 and l1 in my case) and decrease the other two. But this...
Consider a nonlinear system $x(k+1)=f(x(k),u(k))$, where $x(k)\in\mathbb{R}^{n}$ is the state, $u(k)\in\mathbb{R}^m$ is the control input. Here $u(k)$ is normally distributed RV with mean $\mu_u(k)$ and variance $\Sigma_u(k)$. I want to find the distribution of $x(k)$ starting from some deterministic $x(0)$ for some ho...
I am trying to find out the math formulas for Inverse Kinematics for a 4-DOF articulated manipulator. By Googling I found information about inverse kinematics for 3-DOF, 4-DOF and 6-DOF articulated manipulator, but very few information for 4-DOF robot arm. But what I found is a paper explaining how to calculate FK and...
I know of several robot manufacturers who can perform automatic inertial measurement for 6 axis robots. Fanuc, for example, moves with axes 5 and 6 each from +180 to -180 °, once with and once without load. My question is how I can calculate the inertia parameter from e.g. the torques and the positions (thus also from ...
I am trying to implement a compliance controller for a robot arm and stumbled upon an existing code snippet where the compliance velocity of the endeffector is calculated by: $v_{out} = v_{in} + \frac{F}{K} - \frac{\dot{F}}{B} $ where $F$ is a 6D wrench vector, $K$ is a given stiffness with the units $\frac{N}{m/s}$ & ...
Sorry, this might be a bit lengthy, but I really need some help (I am aware that there is a question similar to mine that has already been asked here. However, I couldn't come up with a solution to my problem based on the answers to that question as I am using a separate power source as stated in that question's answer...
I am trying to initialize the position of a set of landmarks using only bearing observations. Each robot pose, described by position (x,y) and orientation (theta), observes a small set of landmarks. Each observation, bearing angle, is expressed in the robot frame. My idea was to consider pair of consecutive robot poses...
In VSLAM or visual odometry, we use a camera matrix P to transform 3D scene points to 2D image points. When using homogeneous representation, we may choose the image coordinates as the normalized image coordinates $(x, y, 1)^T$, which means the image plane is placed at $Z = 1$ measured in 3D Euclidean coordinate system...
I am really struggling to understand how to do Cartesian velocity control when 3D rotations are involved. So, below is a very simple example which I am hoping somebody can help me with. Let's say the base frame of my robot is labelled $B$, the end-effector frame is labelled $E$, and the goal frame is labelled $G$. So, ...
Considering the scenario represented in the following image, and the function open_gripper(), close_gripper() and Offs(), present the necessary instructions for the robot to perform the path 1 - 2 - 3, represented by the red line, to transport the block on the table. Consider that the only known point is the point P1. ...
I am trying to use the webots platform for developing controllers. I need the differential equations governing the motion of the robots. How can I get the equations of motion used in webots?
I am working on building a quadcopter with an Arduino nano. I am currently only working with 2 motors. However, I am experiencing an odd issue. When I try to run my motors, one of them runs fine, while the other stutters - it turns on and off extremely quickly to get this stuttering effect, all the while emitting a qui...
We're working on a bigger system that'll use two UR robots as well (although we only have one at the moment for development). We're communicating with the robot through its TCP/IP based RTDE protocol to send parameters like command and desired position. This works perfectly. We're using UR Script's get_inverse_kin() fu...