instruction
stringlengths
40
28.9k
I am reading accelerometer data from the wiimote /wiimote/state topic. A sample of the data I'm working with is as follows: angular_velocity_raw: x: 8292.0 y: 8246.0 z: 8182.0 angular_velocity_covariance: [0.1915446291709091, 0.0, 0.0, 0.0, 0.3915998474972723, 0.0, 0.0, 0.0, 0.5571460438609092] linear_acceleratio...
I'm working on an exercise about DH-parameters for my robotics course in university and I ran into a problem, because my solution is different from the one given by my professor. I calculated the DH-parameters $\theta=\theta_1-90˚, d=20m, a=0, \alpha=-90˚$. So far my solution is identical with the one of my professor. ...
What is the best way to model the SLAM problem (offline) for a wheeled robot moving on a flat floor in 3D space (the pose has only 3 degrees of freedom)? In terms of sensor data, we have the wheel odometry and 3D measurements of landmarks (coming from a Kinect v2). The bit that I'm confused about is that this is a very...
I am working on a bot that follows a certain line path based on some pre-determined algorithm. I would like to know what the (x,y) co-ordinates of my bot are as it traverses with respect to some pre-defined origin and scale. I am very new to robotics, so I am not sure of the hardware requirements such a task would enta...
I'm designing a system to power up my vehicle with 12vDC and I have 8 motors each draws 25A at max and they are not expected to work always at the same time, meaning that in the maximum case 6 of them working 70% and 2 of them works 100%, so my question is that what power supply should I choose to be enough to power th...
Why this relation is not right? C(s) = R(s) * [G(s).G(p)+D(s)] / [1+G(s).G(p)+D(s)]
I am trying to set up a Kalman-Filter to filter position-measurements of a self-driving car. To do so, I consider a state-vector with 5 elements and am now trying to set up the Transition Matrix. As you can see in the following picture, I do not have a clear understanding of the car dynamics. How does my steering for ...
let's say the robot Looks like this (an usual robot arm with 4 wheels) : In this case as far as I know, the idea of path planning is just to compare the actual position x with the desired position x_goal. At the end, the robot would be at the position x_goal. But the Question is how to set this x_goal. If the robot d...
I built an Arduino Due based quadcopter, with MPU-6050 for auto levelling and BMP-085 for Altitude. I am using Kalman filter code from here for the MPU-6050 to take the Roll and Pitch angels from the sensor. The Roll and Pitch angels are correctly read while the quadcopter motors are off, but when the motor speed incre...
Has anyone tried to map environments using Sonars or 1D ToF sensors? Since it's very difficult to implement such an algorithm from the scratch, I'm planning to use an existing ROS packages such as GMapping. For that we need to convert the readings of our sensors to a laser scan file. I have a differential drive robot a...
I'm working on a project where I want two separate shafts to be in the same place. Think of it like a clock where the hour and minute hands move independently. Also like a clock, I want the motors and gears tucked away in back. With clocks, they use a kind of tube that slides over a shaft. Then the shaft and the tube c...
I'm stuck with the following problem: In a Kalman Filter, we assume the following holds: The state vector can be filled with values which are returned by actual sensors. The Transition matrix needs to be set up according to a motion model. Same holds for the control input matrix. But how can I determine w_t and v_t ?...
There are several algorithms regarding fixed-lag Kalman smoothing. In most cases, an augmented state vector is defined in which the elements are the current and delays of the original state vector. However, in some cases the measurements are augmented to include delays, as in: https://pdfs.semanticscholar.org/f580/23aa...
We are making a PID line follower using arduino for a competition. According to the rules of the competition they will have loops and discontinuations in their track. Can anyone give some idea how we can tackle them using code.
I'm trying to understand these two classic approaches to path planning in dynamic environments/with moving obstacles. According to some review papers, there seems to be quite a difference between them, e.g. so that the collision cone approach (as presented in [1]) can be used for non-circular objects as well. But to me...
If my understanding is correct, one flavor of hand eye calibration requires the following pairs of data for different robot arm positions: The transform from the robot base to the robot hand. The transform from the marker to the robot camera. By transform, I mean the 4x4 homogeneous matrix that contains both rotation...
Looking at 3DR's Pixhawk hardware on GitHub the FMU and IMU are treated as different pieces of hardware. On the schematics for the FMUs (example) there is limited reference to the IMU. So, is the IMU a separate board inside the Pixhawk? Is there information somewhere that shows which IMUs come with which FMUs?
Both V-rep and Webots simulator says that they can simulate multiple robots. Is these simulators are capable for simulate swarm robots? Can I simulate the swarm intelligence algorithms like ACO, BeeClust algorithm, Stick pulling Algorithm, Occlusion Based Collective pushing etc. on these simulators? Which robot I have ...
i have programmed for my two wheeled robot 2 separate controller for each wheel so that afer approx. 1 second both motors reach my desired speed. But my problem is that one of those motors is faster at the desired speed than the other one, so if i turn it on my robot doesnt stay on a straight line but an angle of the d...
From the image, I would like to find out how joint 1, 2 and 3 can be computed by using forward kinematics? (Assuming a theta value was given) I understand that to get point 3 to origin (P3 -> o) you can do the following matrix multiplications: [P3->o] = [P2->P1][P1->o] Where each P matrix is: P = |Scale*Rotation 0| ...
I want to build a 4WD robot that can travel vertically by pushing against opposite rails. The wheels push against the rails and generate friction, the robot moves upwards as the wheels rotate. This is the side view that I am thinking of: If one side moves faster than the other then the robot would loose grip and fall ...
i got a task for which i need to drive a certain distance and move around an object. I finally managed that my robot goes almost straight but i think its enough. But now i gotta tackle the problem how to turn my robot by 90° at certain points. Can someone give me some advise how i can program the turning of the robot?...
I am working on a hobby project for self-balancing robot. My robot balances quite well, so my next step is to start moving it. I saw in some blogs that they used a cascade control algorithm as shown below So I have the following question which is giving me a hard time: When I see some videos about Segway-like systems ...
i'm implementing a damped least squares IK algorithm for an articulated arm, based on the work here. I have the algorithm working well, but it occasionally produces solutions that have segments intersecting, and doesn' account for the realities of cable management etc. that prevents full 360 rotation of any given joint...
I have three cameras separated by some distance, looking at a scene. I have calibrated them using checkerboard and I have their respective intrinsic parameters and their pose and rotation matrix, I am stuck as to how to do data/image fusion. I think I have to do feature detection and feature matching and then do data f...
I've built some robotic systems that rely on handcrafted hierarchical FSM, I'm hoping to learn more by studying codes from some open source system that have more complex structures. Can anyone point out some open source robotics projects that have complex software structure? For example, a service humannoid robot might...
I'm designing a round knob positioned by a stepper. The knob is intended move by an external force while positioned by the stepper. I'd like the stepper to release (power off) when the knob is manually turned. Is there a way to sense the application of external force via the stepper drivers ie a current sense ? I know...
I have been having a very difficult time trying to understand why my system does not have the cmd_vel topic. I am trying to get a ROS system running with Gazebo so that I can work through tutorials and learn ROS. I started with the ROS Development Studio (online) and it was great! But sooner or later one must be abl...
I am calculating inverse kinematic for 5dof robotic arm using Jacobian matrix (first time). i used following formulas to do my calculation and also implemented in my code. for more information please follow this link --> https://www.youtube.com/watch?v=SefTCXrpL8U&t=872s I am not understanding what I am doing wrong...
How do I compute the maximum values for ||M(q)|| and ||M_dot(q)||, the induced 2-norms, where M(q) is the mass matrix from the standard dynamical model of a robotic manipulator. I have the numerical values but not the analytical symbolic representation.
I am trying to get started with a stereo experiment and wanted to know the mistakes I might have made during the experiment. The goal is to calculate the depth map of an object using one light projector and one camera mounted in a stereo configuration. I have a DLP 4500 lightcrafter of resolution ‎912x1140 made by Tex...
I have been witnessing some bizarre behaviour with my very simple node. I have a custom message that contains uint8[] type (it's 8 elements long). I have a subscriber that subscribes to a topic of the custom message and stores it in a global variable: uint16* leddar_distance_cm_1 = NULL; void leddarCallback(const perc...
I hope someone can help me: Given two autonomously driving cars, I want to make sure they keep a constant distance to each other. For this purpose, I want to design a Kalmanfilter. Typically, the first step for designing such a filter is to set up a state vector. I am given two robots already. They have an ultrasonic-s...
The micromouse challenge was done since the 1980 in the context of university driven robotics research. The Robocup challenge has a similar approach and provides a competition for university students. Today, Robocup soccer is a regularly event which brings robotics to the mainstream. But there is small problem. Both co...
In picture one I have shown a robot arm (green) rotating to pick up a box, using a fulcrum (red). The arm after rotating is shown with black rectangle. The vertical arm on the left is attached to the horizontal green arm and goes down to make the green arm rotate. In picture two, I have shown a robot arm which goes up ...
I am new to robotics and working with a wheeled mobile robot with one Kinect mounted on top of it currently. The robot knows its position in the environment via some means. I encounter one problem. For example there is one table, and The Kinect is expected to guide the robot to one specific side of the table. The prob...
I always assumed that obstacle avoidance refers to general prevention of collisions with any kind of obstacles, even without considering a goal for the decision how to execute an avoidance maneuver. Is that correct?
I want my robot manipulator to follow a user-defined path. Based on the waypoints given as input and the velocity and acceleration limits of the joint motors, I generate a trajectory. At every time step (say 2ms), I send the joint motor controller the reference position, velocity and acceleration. But my robot's joint ...
In Photography SE I've just asked LIDAR burnout; ways to check for damaging infrared lasers before shooting besides looking for posted warnings? and discussed a camera that was damaged by a self-driving car's LIDAR system at the recent CES show. The article linked there mentions the powerful "fiber laser" used by that ...
i have one robot, i have to get the initial location of that robot. then when we move the robot from that location, and when we give the command like "HOME" then it should go that initial location. but i don't understand how to get initial location of that robot.
I'm trying to implement a PID based line follower. The robot has 2 line sensors with ranges from 0-200, with 0 being black and 200 being white. I'm trying to follow a black line. I'm struggling to get the robot to do anything but erratically turn and confuse itself on the spot, getting wildly out of control. I've tried...
I have a modeling design for Humanoid robot arm in simscape-SimMechanics in Matlab, I am trying to use the inverse kinematic to make a reaching movement for the arm to the target position; however, I want to know if there is a possibility to coding the forward and inverse kinematic using a block function in Simulink be...
I'm trying to control the YuMi robot arm by a serial port. The serial port will give the information on what direction the end-effector should move and what is the velocity. What I would like to achieve is that the robotic arm will keep moving in the certain direction and velocity until the serial command changes. For ...
I am using a fixed 3D LiDAR sensor on a small aircraft. The vehicle has a GPS/INU to calculate its own position and orientation. I do not know the exact offset of the LIDAR from the center of the vehicle frame. I have an initial estimate of the rotation matrix and translation vector for my transformation matrix from th...
Will vision based system eventually prevail rangefinders based systems given that the most successful autonomous agents in the world like animals use primarily visions to navigate?
This question may be a little broad, but I could not find any other information. How accurate are the inverse dynamics functions in SimMechanics compared to Bullet? How accurate are the sensed/measured forces/torques that will occur in joints? Can I rely on the results, that Bullet finds or is SimMechanics "the bette...
I have worked on a couple of projects like control of a quadrotor/ self balancing robot/ 6 dof robotic arm using nonlinear, optimal and adaptive control. So, in all these projects I have first basically tried to understand the dynamics of the system, then I modeled it. Next I applied different control strategies and co...
Has anyone done this? Create a "droplet" or whatever they call it and set up ROS, and be able to actually run roscore, gazebo, rviz, etc. from there? I can imagine various complications, like having a static IP, figuring out what to with graphics apps like gazebo. Is there any way? Thanks!
I have an Intel RealSense camera which can stream RGB and depth image. Using those information I want to track an object moving on a table top. More specifically, I want to know position $(x,y)$ and orientation $\theta_z$ of the object. Can any body help providing me the pipeline for accomplishing what I mentioned? Tha...
alpha = [ -90, 0, 0, 90, 0] a = [ 0, 400, 200, 0, 0] d = [63.5, 0, 0, 90, 100] I am trying to calculate the joint angles but I am stuck after I got the values of Theta1 and Theta2.
I have a differential robot and I am using ROS to run it. When I need to move the robot, I can send commands to it, specifically linear X and angular Z velocities. Linear X is in m/s whereas angular Z is in rad/s. Know I need to compute what velocities should I set to both wheels in order to meet the linear and angular...
Let's say I have a robot, located in a box. The robot can move in the x and y and rotate. The robot has 4 rangefinders, mounted 90 degrees apart, that measure the distance to the walls of the box (I think it would be possible with just 3 but let's use 4 as an example). The robot also has an "approximate" +-10 degree es...
Beam robotics invented by Mark W. Tilden is about analog circuits for controlling robots. The idea is to avoid microcontrollers and software and use instead resistors, breadboards and capacitor for controlling a line following robot. The problem with BEAM robots is, that they don't provide complex features and it's not...
How can i find and install (acspid) python PID library in the folowing code import acspid pid=acspid.pidcont(1.2,0.02,0.01,5,-5)
My application is not specifically in Robotics, but the problem that I'm trying to solve seems to have been studied primarily from the viewpoint of Robotics, so I am hoping to get an answer here. Apologies if it's not the correct place. Problem description I am creating a virtual human agent in Unity. The agent will pr...
I need to simulate a path planning approach for a 2D space where the obstacles are moving. Initially, I need to implement probabilistic road map, D* lite, A* and Bug2 algorithm. The robot needs to be able to follow the wall of the obstacles. I do not know which library is most suitable for these algorithms. I have a ti...
I'm trying to write a python node, which has one class and two member functions as callback functions. so a TimeSynchronizer and Subscriber in a node. I saw in this link and tested that python subscribers are event-driven model and are in separate threads. How to get a python node in ROS subscribe to multiple topics? M...
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. ?