robotics

Robotics: Move multiple turtlebots separately

本秂侑毒 提交于 2019-12-11 18:33:54
问题 I want to launch multiple turtlebots using Gazebo, and move each one from them separately with cmd_vel_mux topic. Namely, I would like to send message to topic {robot_name)/cmd_vel_mux . However, I have just publishers to these topics in my code (because I have code that each robot runs that publishers to this topic). But, I have no subscribers to these topics. Therefore, gazebo is launched but the robots doesn't move. I tried to launch mobile_base_nodelet_manager from ros nodelet package for

Movement of a surgical robot's arm OpenGL

徘徊边缘 提交于 2019-12-11 17:57:28
问题 I have a question concerning surgical robot arm's movements in OpenGL. Our arm consists of 7 pieces that suppose to be the arm's joints and they are responsible for bending and twisting the arm. We draw the arm this way: first we create the element which is responsible for moving the shoulder like "up and down" and then we "move" using Translatef to the point in which we draw the next element, responsible for twisting the shoulder (we control the movement using Rotatef) and so on with the

Simple rotation of a rectangle along a curve in matlab

天大地大妈咪最大 提交于 2019-12-11 17:44:55
问题 I'm trying to rotate a rectangle(polyshape) in matlab to orient itself along the curve(a set of points). So far this is my code. l=2;w=1;xc=-1;yc=2; xvs= [xc+w/2 xc+w/2 xc-w/2 xc-w/2]; yvs= [yc-l/2 yc+l/2 yc+l/2 yc-l/2]; ax = gca; polyin = polyshape(xvs,yvs); % %w/2,h/2% polyin = rectangle('Position',[-0.1 -0.1 0.2, 0.4]); k=2; % t = acos((y(k-1)*x(k-1)+y(k)*x(k))/(norm([x(k-1) y(k-1)])*norm([x(k) y(k)]))); t = atan(y(k)/x(k)); polyout = translate(polyin,[-xc -yc]); polyout = translate

Retrieve 3 Euler angles from 2 Vector3D

拟墨画扇 提交于 2019-12-11 05:15:29
问题 How can i retrieve the 3 euler angles from 2 vector3D ? Thanks Cedre dim vector1 = new Vector3D(0, 0, 1); dim vector2 = new Vector3D(0.33, 0.45, 0.49); dim myEuler = GetEulerFrom2Vector(vector1,vector2); // ????? I work in a right angle coordinate system and i use the ZYX euler convention 回答1: Can we assume the two vectors are perpendicular to each other vector1.Dot(vector2)==0 ? If yes then find the third vector to form a coordinate system vector1 = vector1.Normalized(); vector2 = vector2

Is best first search optimal and complete?

自作多情 提交于 2019-12-10 18:09:48
问题 I have some doubts regarding best first search algorithm. The pseudocode that I have is the following: best first search pseudocode First doubt: is it complete? I have read that it is not because it can enter in a dead end, but I don't know when can happen, because if the algorithm chooses a node that has not more neighbours it does not get stucked in it because this node is remove from the open list and in the next iteration the following node of the open list is treated and the search

Powershell with UiPath

假装没事ソ 提交于 2019-12-10 11:40:30
问题 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 回答1: 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(

AI: Partial Unification in Open-World Reference Resolution

做~自己de王妃 提交于 2019-12-10 10:59:22
问题 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.

Finding path obstacles in a 2D image

元气小坏坏 提交于 2019-12-10 10:28:21
问题 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

Finding distance travelled by robot using Optical Flow

只愿长相守 提交于 2019-12-09 07:18:28
问题 I'm working on a project right now in which we are developing an autonomous robot. I have to basically find out the distance travelled by the robot between any 2 intervals. I'm using OpenCV, and using the Optical Flow functions of OpenCV, I'm able to find out the velocity/distance of each pixel in 2 different images. Using this information, I want to be able to find out the distance travelled by the robot in the interval between those 2 images. I thought of a way in which we could develop an

What's the technical difference between Robotic Process Automation (RPA) and Test Automation Tools?

白昼怎懂夜的黑 提交于 2019-12-08 07:11:02
问题 I've worked with test automation tools and know technically how it works, basically record (generate scripts) and replay (the generated scripts with data). Now I heard of RPA, and people tell me its advantage is handling non-structured process, pattern and data. I want to know how exactly RPA does the work, how much different from the record and replay? 回答1: I consider that the RPA term is very much biased towards corporate automation in general understood as vehicle for digital company