Menu
  • HOME
  • TAGS

2 questions about this simple 1D Kalman case

position,sensor,robot,kalman-filter,proximitysensor

I'm not familiar with that video at all, but he might mean that if you repeatedly add process noise (P = FPF' + Q) but never reduce P via measurement, then P can only increase. In general, though, I would caution you against considering the covariance matrix P as...

Strange behavior when adding longs in RobotC

c,robot,nxt,mindstorms

This is a known issue with 3.X and has been previously fixed for 4.X and is resolved in the current public release of 4.X. There is a workaround for 3.x, however. With the code you provided, the compiler output is truncating the result by only doing integer math. This was...

What's the use of /256 and %256 in it and how is the address divided into hi and lo bits?

python,microcontroller,robot

n is a number in the range 0 <= n < 256*256. It takes two bytes to express that number since one byte can encode a value from 0 to 255. hi,lo=n/256, n%256 is the same as hi = n / 256 lo = n % 256 / is the...

Program unable to add text to JTextArea

java,eclipse,robot,finch

You do not initialize feed correctly. final JTextArea feed = new JTextArea(30,50); This does not initialize the field feed but instead creates a new local variable of the same name. Try turning final JTextArea feed = new JTextArea(30,50); into feed = new JTextArea(30,50);....

Defaults for robots meta tag

html,seo,robots.txt,meta,robot

Yes, by only specifying the noindex, it will still be follow. More information can be found [here]{https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag}

Dynamically switch between programs Arduino

arduino,robotics,robot

Technically, you can't have two sketches on one board. It's not really a different program. The switch automatically: You don't even need any extra hardware for this approach. Just turn on the pullup resistors in your board with this code: pinMode(pin, INPUT); // set pin to input digitalWrite(pin, HIGH); //...

L293D, DC motor and Raspberry PI

embedded,control,raspberry-pi,robot

The short answer is yes you can. However, you must be sure to use the right voltages. Connect +5V to L293D:VCC1 Connect +7.2V to L293:VCC2 The raspberry pi has 3.3V logic levels, but this should be sufficient to enable the input pins of the L293D. Also make sure to connect...

Screenshot capture in Window 8 OS

java,windows-8,awt,robot

you can do that without writing file in your local machine by using the following code ByteArrayOutputStream bos=new ByteArrayOutputStream(); byte[] imageByte = null; try { //To Get the the size of the screen. Rectangle screenRect = new Rectangle(Toolkit .getDefaultToolkit().getScreenSize()); //To Store the scrreen shot in buffer. BufferedImage capture = new...

Programming a robot to explore a grid [closed]

java,performance,grid,robot

Solving the predicament in picture 2 could be as simple as checking for other white squares around the robot before you make a move. In picture 2 the robot would see that the square he is facing is "greyed out" and decide to check all other directions and eventually find...

RobotC: Multithreading in TeleOp (controlling mode)

multithreading,robot

Since this is Controller Mode, I'm assuming that you are setting the motors to stop when the corresponding button is not pressed. if([...]) [...] else { setMotorSpeed(motor10, 0); } This is the cause for the stopping of the motors when you release. All of the other methods that you tried...

Robot r cannot be resolved

java,if-statement,robot

public void method1 (int x) { if (x == 1) { try { Robot r = new Robot(); // R is defined in the try block. It is not visible outside of this block. } catch (AWTException e) { // TODO Auto-generated catch block e.printStackTrace(); } r.mouseMove(50,50); // R is...

Java Robot class press special letter?

java,keycode,robot

'a' evaluates to 97 in UTF-8. KeyStroke.getKeyCode() simply returns an integer representation of 'a'....