robot

lost in 3D space - tilt values (euler?) from rotation matrix (javafx affine) only works partially

纵然是瞬间 提交于 2020-12-15 04:56:13
问题 it is a while ago that I asked this question: javafx - How to apply yaw, pitch and roll deltas (not euler) to a node in respect to the nodes rotation axes instead of the scene rotation axes? Today I want to ask, how I can get the tilt (fore-back and sideways) relative to the body (not to the room) from the rotation matrix. To make the problem understandable, I took the final code from the fantastic answer of José Pereda and basicly added a method "getEulersFromRotationMatrix". This is working

Recovery behavior clears the obstacle layer

久未见 提交于 2020-04-30 06:29:23
问题 I am using RP-Lidar /scan topic together with move_base from navigation stack. Although the obstacle layer is parameterized to get the LaserScan type data from /scan topic, I am recieving the message that "Recover behavior will clear layer 'obstacles'". I would like to mention that the UniTest over /scan topic and /odom topic are working fine. Thus in my RVIZ, the obstacle are not shown neither the planner takes them into account to prevent a collision. For clarity here is my common config

ROS-Indigo版在Ubuntu上的安装

假装没事ソ 提交于 2020-04-06 21:29:20
Ubuntu install of ROS Indigo We are building Debian packages for several Ubuntu platforms, listed below. These packages are more efficient than source-based builds and are our preferred installation method for Ubuntu. If you need to install from source ( not recommended ), please see source (download-and-compile) installation instructions . If you rely on these packages, please support OSRF. These packages are built and hosted on infrastructure maintained and paid for by the Open Source Robotics Foundation , a 501(c)(3) non-profit organization. If OSRF were to receive one penny for each

How to make a robot navigate a maze?

青春壹個敷衍的年華 提交于 2020-01-15 08:29:25
问题 I'm using the Myro library with the Python language. I've had some weird results. My idea was to call the getObstacle sensors. left = getObstacle(0) center = getObstacle(1) right = getObstacle(2) I want the robot to move forward as long as the center obstacle sensor is less than or equal to 4500. If the right obstacle sensor on the robot has a higher reading than the left obstacle sensor, I want it to turn left. Otherwise turn right. Here are my attempts on youtube Attempt 1 Attempt 2 I'm

Script to take web survey for me

橙三吉。 提交于 2019-12-25 01:18:23
问题 I had to take a surveymonkey survey today, and the format was as follows: a question was asked, then after hitting the next button, the answer was displayed as "Answer: _" along with an explanation. For kicks, I'd like to make a program that could take this survey, answering any letter, then going to the next page and reading the answer, then going back and changing the answer to the correct one, then going 2 pages ahead and repeating. I am familiar with Java and Python, but I'm not sure how

Error exchanging list of floats in a topic

匆匆过客 提交于 2019-12-24 07:18:52
问题 I think that the issue is silly. I'd like to run the code on two computers and I need to use a list . I followed this Tutorials I used my PC as a talker and computer of the robot as a listener. when running the code on my PC, the output is good as I needed. [INFO] [1574230834.705510]: [3.0, 2.1] [INFO] [1574230834.805443]: [3.0, 2.1] but once running the code on the computer of the robot, the output is: Traceback (most recent call last): File "/home/redhwan/learn.py", line 28, in <module>

Color Filter Technique OpenCV

妖精的绣舞 提交于 2019-12-22 16:45:15
问题 I am reading a picture and filtering out the colors and this is the result I get in the following images. The code is from the example folder in the opencv module. I am trying to feed the picture back to an A.R Drone 2.0 and have the drone follow the color white. How would I do the second part? var cv = require('C:/users/danny/codes/node_modules/opencv/lib/opencv'); // (B)lue, (G)reen, (R)ed var lower_threshold = [220, 220, 220]; var upper_threshold = [255, 255, 255]; //var lower_threshold =

Googlebots Ignoring robots.txt? [closed]

那年仲夏 提交于 2019-12-22 04:35:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have a site with the following robots.txt in the root: User-agent: * Disabled: / User-agent: Googlebot Disabled: / User-agent: Googlebot-Image Disallow: / And pages within this site are getting scanned by Googlebots all day long. Is there something wrong with my file or with Google? 回答1: It should be Disallow: