robotics

Robotics Simulator [closed]

爷,独闯天下 提交于 2019-12-29 02:21:05
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Which is the best robotics simulator ? As of now, I am just looking to get simple simulations of Potential Field method, Bug

linking issue with opencv and ros indigo while trying to install vision_opencv

不想你离开。 提交于 2019-12-25 12:45:36
问题 Hi my question is of two folds. First, I am confused as why there are opencv3 and OpenCV-3.1.0-dev packages is in /opt/ros/indigo/share as i have read that opencv 2.4.8 is the default version of ROS indigo. Also, I have opencv 2.4.13 version installed on ubuntu 14.04 with ROS Indigo, I want to use opencv for vision part for my project and for that i tried to install vision_opencv package from source. However when I try to build the package using catkin_make following error occurs similar

Robotics Square Grid Intersection Point

谁说胖子不能爱 提交于 2019-12-24 16:42:39
问题 I'm trying to determine the point at which my robot will intersect with a wall given its location in a map and an angle its pointing at in radians. So to sum the problem up, given a square grid of any size [1-infinity], a object within that grid, and the angle at which that object is facing (radians), find the point of intersection with the border of the grid. For instance you have a 10 x 10 grid, your object is at position (5,5), and it is facing at an angle of pi/8 radians (Northeast

how to find shapes that are slightly elongated oval / rectangle with curved corners / sometimes sector of a circle?

不羁岁月 提交于 2019-12-22 01:21:41
问题 how to recognise a zebra crossing from top view using opencv? in my previous question the problem is to find the curved zebra crossing using opencv. now I thought that the following way would be much easier way to detect it, (i) canny it (ii) find the contours in it (iii) find the black stripes in it, in my case it is slightly oval in shape now my question is how to find that slightly oval shape?? look here for images of the crossing: www.shaastra.org/2013/media/events/70/Tab/422/Modern

How to bind a keypress to a button in Tkinter

旧时模样 提交于 2019-12-18 05:28:08
问题 My Senior Project involves a robot I can control over wifi. I am using a Raspberry Pi and a Tkinter window to send commands to the robot. I have the rough draft of my Tkinter window, but I am wondering if there is a way to bind the button press to the arrow keys. That way I can control the robot by using my arrow keys rather than clicking on each button. Here is my code, what would I have to add? Code: from Tkinter import * message = "" class App: def __init__(self, master): frame=Frame

Using C Libraries for C++ Programs

老子叫甜甜 提交于 2019-12-17 04:54:32
问题 I am trying to control Dynamixel servos using a GUI made using Qt. Dynamixel provides a C set of C libraries to control the motors, while the only way of making GUI's I know is Qt, which is essentially C++. Will it be possible to use Dynamixel C libraries from Qt C++ code in any way? 回答1: Yes, C++ can compile C with a C++ compiler and you can link C++ against C. Just be sure that any C function you call uses C linkage. This is made my enclosing the prototype of by an extern "C" #ifdef _

What is the probability that mouse with reach state A before state B

守給你的承諾、 提交于 2019-12-14 03:37:45
问题 Maze I have a maze as shown above(use the link) and state 3 contains prize while state 7 contains shock. a mouse can be placed in any state from 1 to 9 randomly and it move through the maze uniformly at random Pi denote the probability that mouse reaches state 3 before state 7, given that AIM started in compartment i. how to compute Pi for ∈ {1,2,3,4,5,6,7,8,9}. 回答1: Let Px be the probability that the game ends in position 3 if it starts in position x . We know that P3=1 and P7=0 If you start

Controling Robotics locomotives using android and GPS

早过忘川 提交于 2019-12-13 01:24:13
问题 The project objective is something like this: We would have a locomotive robot having on-board GPS on it. Now using that GPS we want to track the position of robot and trace it on android cellphone. (as they provide best interface with Google services) Not only that We even want to control the robot from android cellphone. Is it possible to send control signal from android cellphone to that robot so that robot can make a move according to control signal. How can we make a connection between

How to determine the parameter alpha of a Complementary Filter?

拟墨画扇 提交于 2019-12-12 18:23:14
问题 I know that the Complementary Filter has the functions of both LPF and HPF. But I think my understanding on the principal behind it is still unclear. I am quite new on digital signal processing, and maybe some very fundamental explanations will help a lot. Say I have a Complementary Filter as follows: y = a * y + (1 - a) * x Then my parameter a may be calculated by a = time_constant / (time_constant + sample_period) , where the sample_period is simply the reciprocal of the sampling_frequency

Path planning and Obstacle avoidance algorithms

孤者浪人 提交于 2019-12-12 01:42:52
问题 I am working on a 2D space where my robot needs to follow a trajectory while avoiding some obstacles. I've read recently about methods for path planning as "Vector Field Histogram" and the "Dynamic window approach". Is it worth to use these kind of algorithms for a 2D space or should I go with something as Potential Fields or Rapidly-Exploring Random Trees? 回答1: There are three fields you have to be aware of. Path planning, motion planning and obstacle avoidance. The combination of these