# Questions tagged [algorithm]

A step-by-step procedure for calculations. Algorithms are used for calculation, data processing, and automated reasoning.

101 questions
Filter by
Sorted by
Tagged with
50 views

### Likelihood field sensor model (Probabilistic Robotics, Thrun et al., p.169-174)

I am currently working on the "likelihood field" sensor model (aka "endpoint model") by Thrun et al. (book: Probabilistic Robotics, Thrun et al., p.169-174) In this context I have ...
27 views

### Survey path planning for UAV with high turning radius

I want to perform rectangular area survey. The sensor can either work with very narrow FOV or with wide FOV but requiring very high overlap. My plane's turn diameter is much greater than required ...
67 views

### How can I modeling a simple haptic interface system to obtain results similar to the paper “Time-Domain Passivity Control of Haptic Interfaces”?

I am trying to simulate the experiments in the paper "Time-Domain Passivity Control of Haptic Interfaces", Hanaford and Ryu, 2002, IEEE transactions on robotics and automation vol .18, No1 about the ...
45 views

### Odometry using wheel encoder with no differential drive

I am currently looking for a way to do odometry using wheel encoders, for a car that has no differential drive. The two rear wheel would rotate at the exact same speed. I have been looking everywhere ...
44 views

### How do I convert centre-returning joystick values to dual hobby-motor direction?

Currently my setup is: 2x hobby TT motors connected to a Pi Zero with a motor HAT Python script running on the Pi which runs a Blynk python client and controls motors via the gpiozero library Blynk ...
26 views

### Algorithms for controlling low-speed movement of gearless robots

Collegues, i am a little discouraged by the lack of a clearly formed section in the literature on which algorithms are used to control the low-speed movement of gearless robots. In my opinion, it is ...
68 views

### Path-following algorithm and suggestions for mecanum robot

I have a robot with four mecanum wheels (blue square) that can move in an open-space room. The position x,y of the robot is measured in a very accurate way by a fixed position sensor (red circle) that ...
154 views

### How to drive mecanum wheels robot: code or algorithm

I have a robot with four mecanum wheels and I would like to make it move correctly by using a RC transmitter (my controller has two sticks and several buttons, each stick has a proportional range of [...
62 views

Is it wise / possible to use multithreading to handle control system on robot? For example, a line follower robot with PID control flowchart would be: read_sensor() -> calculate_control() -> ...
480 views

### How to implement a wall following controller for a TurtleBot3? (ROS - Python)

I want to implement a wall following controller for my TurtleBot3 (with ROS system). Sensors which I have on the robot: lidar(360) and optional 2 ultrasonic sensors on the side (one on the left and ...
52 views

### Block algebra and normal algebra inconsistent

I've been playing around with some block maths, mostly trying to remember how it actually works, and I've come to a simple example that should be reduced, however when doing the normal maths, compared ...
90 views

### Free-floating sphere dynamics using Roy Featherstone's spatial_v2 toolbox

I am using Roy Featherstone's spatial_v2 to model a mobile robot. I encountered a problem so I went back to modeling a free-floating sphere to familiarize myself with the library and the algorithms. ...
54 views

### ROS Algorithms & sensors

I am trying to implement boustrophedon algorithm using mobile robot. Can I implement this without map? I am planning to use dimensions (x,y) of the farm as reference assuming it is rectangular in ...
78 views

### Efficient sphere surface area search

As shown in the figure, there are objects of arbitrary shapes placed on the surface of the sphere at arbitrary locations. The problem is to search the surface to locate these objects in most efficient ...
78 views

### Planning minimum snap trajectories

I am working on motion planning algorithm for quadrotor. As I have learned in Coursera Aerial robotics course, trajectories for quadrotors should minimize snap which is equivalent to interpolating ...
129 views

### Is Fuzzy logic applicable for robotics research

I found some papers that use fuzzy logic to solve robotics algorithmic problems. But I have recently been told by a few roboticists that fuzzy logic should not be used in robotics because it has ...
61 views

### Multiple robots performing a set of tasks (Optimization)

Consider a situation where you have a 'm' number of robots and 'n' number of tasks. Each task is at a different location. What optimization algorithm should I use in order to assign a set of tasks to ...
42 views

### What is the correct algorithm name for this “Shortest Path Maze Solver”?

What is the correct algorithm name for this Shortest Path Maze Solver? The algorithm works by completing the maze and at each turn storing each of the turns in an array until the maze once the maze ...
316 views

### How do I create a broken line follower? [RobotC] [Legomindstorm] [Ev3]

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 ...
115 views

### How to handle sensor data for a sensor-fusion algorithm

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 ...
17 views

### Problem with UKF weights when calculating predicted state

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 ...
151 views

### Why won't my PID line follower work?

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 ...
172 views

### Incremental (on-the-fly) smooth trajectory interpolation algorithm from waypoints?

short version (TL;DR): I'm receiving x(t) waypoints "online", which I must travel through at the specified times. I need an algorithm that would plan a smooth trajectory in-between them without ...
108 views

### How to calculate shortest path between multiple pick and drop destinations

I have a scenario where I have multiple robots, and they have to pick and drop some items at specified locations as shown in Figure. There are 4 jobs to be done for this particular instance. How can ...
97 views

### RRT star Convergence

My Code gives the following convergence characteristics, I wanted to know if it is correct Updated code { ...
37 views

### Converging to better solutions by running RRTstar for multiple Iterations

In the Literature I have read so far, I saw RRT star was running in multiple loops to converge to a better solution ( near optimal). I was wondering how I could implement the same, as most pseudocodes ...
93 views

### Relation between GraphSLAM and Iterative closest Point algorithm

I have lots of doubts about GraphSLAM, The GraphSLAM Algorithm with Applications to Large-Scale Mapping of Urban Structures. When I practically implement it I get matrix singularity error. I taken ...
528 views

### How can I get the right sample in RRT star Dubins?

I am trying to find a solution in S(1)*R^2 (x,y, orientation) with obstacles (refer to image) using RRT star and Dubins Model. The code takes a lot of time to find a suitable random sample with x,y, ...
61 views

### Algorithm for orientation (pan/tilt) towards a moving point

Main Question: note: The code in this question is pseudo-code, I'm using Python, but my pseudo-code is a mix of Python and C++. I have a camera on the top of my robot's "head" which has pan and tilt ...
345 views

### PID vs Fuzzy line follower

I am making a line follower to follow a white line (approx 1.7 cmm wide) on a black track. I am using an array of 5 TCRT5000 (IR led+phototransistor) to detect the line. I was previously working with ...
145 views

### How often does a robot perform A* (A star) path planning in an unknown map?

I have read through lectures/ tutorials on A* but they have all been via computer simulations. I have an autonomous wheeled robot that is traversing an unknown map (essentially, it'll be a tabletop ...
50 views

### Potential field algorithm in a predefined trajectory

I am currently working on collision avoidance using Potential fields and I have visualized the same in winfom. Now, I need to test the algorithm in predefined trajectory say a spline(or in a lane). ...
743 views

### How to move robotic arm in straight line

So here is my problem. I need to grab an object with my robotic arm, but I don't know the position of the object. The only thing I know is the angle between object and gripper. You will maybe better ...
72 views

### Are there any open-source congnative planing frameworks for robotics?

I have seen a lot of academic papers, but no framework that I can download and use. There are even projects, such as OpenCog, which might be usable in a few years. I would like to know of the ...
856 views

### Why does the Denavit-Hartenberg representation fail to capture the length of the last link in my model?

The length of the last link (1.73) of my model (of a human finger) is not represented in any of the parameters that I calculated using the Denavit-Hartenberg algorithm, which I think can't be right. I ...
72 views

### Is it possible to achieve control of 4 DOF in quadcopter?

I have been looking into non-linear control algorithms for controlling a quadcopter. I know that we have total 6 DOF for a quad (3 translation and 3 rotation) and our input belongs to $\mathbb{R}^4$, ...
128 views

### Computationally efficient way to represent joint C space for a multi-robot RRT

I am working on writing code for a coordinated multi-robot rapidly exploring random tree (RRT) based planner, which would naturally involve a lot of sampling, nearest neighbor searching and 'radius' ...
730 views

### Generating double s-curve velocity profiles with given time

I wonder how to generate double s-curve velocity profile for multiple DOF trajectory. Since there are constraints on initial and final velocities which can be non-zero it is necessary to synchronize ...
36 views

### Resampling step for MC variation reduction

I am reading particle filtering for robot localisation and specifically the resampling step to avoid particle degeneracy. Can anyone explain me what MC (Monte Carlo) variation means? I saw it couple ...
1k views

### Multicopter: What are Euler angles used for?

I hope you can help me and this is the right forum to ask. In the process of building and programming my own Quadcopter, I encountered the term Euler angles. I took some time to understand them and ...
168 views

### Software for mission planning in multi-robot systems

I am interested in mission planning for multi-robot systems. Given multiple robots and multiple tasks and an environment, I need to specify missions and software should plan for the robot team to ...
254 views

### What is exact model of haptic interface system in the paper “Time-Domain Passivity Control of Haptic Interfaces”?

I am trying to simulate the experiments in the paper "Time-Domain Passivity Control of Haptic Interfaces", Hanaford and Ryu, 2002, IEEE transactions on robotics and automation vol .18, No1 about the ...
107 views

### Self learning robotics algoritm: feedback needed

I'm working on a robotics project and I've got this idea for a self learning algorithm. I'm looking for some feedback on this, and specifically on whether this is a more common way of doing things. ...
43 views

### Prediction of Ready to Use Robotic Control Cards Codes

Suppose you have a control card. We do not have access to the control card's code and we do not know which control algorithm is used (PID, PD, PI, Fuzzy, ...). We can only measure the control inputs ...
550 views

### PID for variable Setpoint

Can a PID with variable setpoint work? I have already done tests, but these are not conclusive. On the other hand I am not certain of this algorithm. Background This project involves improving the ...
4k views

### Matlab Inverse Kinematics 6 DOF

I'm trying to write an inverse kinematics Matlab code for a 6 DOF robotic arm that has the following link parameters: Twist angle (alpha): [-90, 0, 90, -90, 90, 0] ...
1k views

### What sensors and algorithms are used in Digital Pen for tracking hand writing?

Could anyone tell what are the sensors used in a digital pen which or specifically Equil smart pen and smart marker which can track hand writings. Is it MEMS based??If Yes, Is it MEMS accelerometer ...
229 views

### Area coverage of autonomous underwater robot

I'm currently working on an autonomous underwater cleaning robot and would like your input on some navigation algorithms Problem: Wash the inside of big, open and filled tank, e.g. water storage ...