robotics

Powershell with UiPath

你离开我真会死。 提交于 2019-12-08 00:47:25
I am kicking off a PowerShell script with UiPath. I need to pass an argument in, from UiPath. Firstly is this possible and secondly does anyone have an example of this? Not sure what the syntax is for this in the PowerShell script Is it possible to pass arguments from UiPath to the terminal. Your PowerShell script needs to be saved in a txt file.(PSSampleParameters.txt) Code sample(PSSampleParameters.txt): Param( [string]$computerName ) [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms") [System.Windows.Forms.MessageBox]::Show($computerName) Add a "Read Text file"

how to recognise a zebra crossing from top view using opencv?

那年仲夏 提交于 2019-12-07 13:22:46
问题 you can get all the details about the problem from this pdf document: www.shaastra.org/2013/media/events/70/Tab/422/Modern_Warfare_ps_v1.pdf how to recognize a zebra crossing from top view using opencv ?? it is not a straight zebra crossing it has some twists and turns i have some ideas, 1. parallel line detection but the available techniques only works to find straight parallel not the ones that has curve in it. 2. template matching to match a template of back to back white and black stripes

Tracking position and velocity using a kalman filter

情到浓时终转凉″ 提交于 2019-12-07 03:06:23
问题 I am using a kalman filter (constant velocity model) to track postion and velocity of an object. I measure x,y of the object and track x,y,vx,vy . Which works but if a add gausian noise of +- 20 mm to the sensor readings x,y,vx,vy fluctuates even though the point is not moving just noise. For location that is good enough for my needs but velocity changes when the point is stationary and that is causing problems with my object speed calculations. Is there a way around this problem? also if

AI: Partial Unification in Open-World Reference Resolution

那年仲夏 提交于 2019-12-06 06:40:19
When performing reference resolution on predicates describing the semantics of dialogue expressions, I need to be able to allow for partial unification due to working in an open world. For example, consider the following scenario: There is a blue box in front of you. We refer to this blue box using the id 3 . A set of predicates box(x)^blue(x) can easily resolve to the blue box you know about. Making this query will return 3 A set of predicates ball(x)^yellow(x) will not resolve to anything. This is fine. But now consider ball(x)^yellow(x)^box(y)^blue(y)^behind(x,y) that is, the yellow ball

Computing a matrix which transforms a quadrangle to another quadrangle in 2D

醉酒当歌 提交于 2019-12-06 02:36:47
问题 In the figure below the goal is to compute the homography matrix H which transforms the points a1 a2 a3 a4 to their counterparts b1 b2 b3 b4. That is: [b1 b2 b3 b4] = H * [a1 a2 a3 a4] What way would you suggest to be the best way to calculate H(3x3). a1...b4 are points in 2D which are represented in homogeneous coordinate systems ( that is [a1_x a1_y 1]', ...). EDIT : For these types of problems we use SVD, So i would like to see how this can be simply done in Matlab. EDIT : Here is how I

Finding path obstacles in a 2D image

人盡茶涼 提交于 2019-12-05 21:40:40
what approach would you recommend for finding obstacles in a 2D image? Here are some key points I came up with till now: I doubt I can use object recognition based on "database of obstacles" search, since I don't know what might the obstruction look like. I assume color recognition might be problematic if the path does not differ a lot from the object itself. Possibly, adding one more camera and computing a 3D image (like a Kinect does) would work, but that would not run as smooth as I require. To illustrate the problem; robot can ride either left or right side of the pavement. In the

how to recognise a zebra crossing from top view using opencv?

て烟熏妆下的殇ゞ 提交于 2019-12-05 19:47:41
you can get all the details about the problem from this pdf document: www.shaastra.org/2013/media/events/70/Tab/422/Modern_Warfare_ps_v1.pdf how to recognize a zebra crossing from top view using opencv ?? it is not a straight zebra crossing it has some twists and turns i have some ideas, 1. parallel line detection but the available techniques only works to find straight parallel not the ones that has curve in it. 2. template matching to match a template of back to back white and black stripes but it becomes tedious since i cant find any pattern matching techniques with scaling and rotation. in

Tracking objects from camera; PID controlling; Parrot AR Drone 2

浪子不回头ぞ 提交于 2019-12-05 10:07:47
问题 I am working on a project where I should implement object tracking technique using the camera of Parrot AR Drone 2.0. So the main idea is, a drone should be able to identify a specified colour and then follow it by keeping some distance. I am using the opencv API to establish communication with the drone. This API provides function: ARDrone::move3D(double vx, double vy, double vz, double vr) which moves the AR.Drone in 3D space and where vx: X velocity [m/s] vy: Y velocity [m/s] vz: Z

Tracking position and velocity using a kalman filter

…衆ロ難τιáo~ 提交于 2019-12-05 07:34:44
I am using a kalman filter (constant velocity model) to track postion and velocity of an object. I measure x,y of the object and track x,y,vx,vy . Which works but if a add gausian noise of +- 20 mm to the sensor readings x,y,vx,vy fluctuates even though the point is not moving just noise. For location that is good enough for my needs but velocity changes when the point is stationary and that is causing problems with my object speed calculations. Is there a way around this problem? also if switching to constant acceleration model improve on this? I am tracking a robot via a camera. I am using

iPhone - Any examples of communicating with an Arduino board using Bluetooth?

陌路散爱 提交于 2019-12-05 06:28:35
问题 I'm tinkering with an iPhone-controlled RC car chassis that is the base of my robotics project . The chassis is controlled with a WiRC Wi-Fi module. It has eight outputs to control electronic speed controllers and servos. I'd like to improve my robot's ability to avoid obstacles using sensors. For this purpose, I have an Arduino board which I can interface with various inexpensive rangefinders and proximity sensors. I'm looking for examples or demo projects that would connect an iPhone to an