Activity
From 04/19/2013 to 05/18/2013
Today
- 08:20 am Getting Started: RE: final project (Robotic Paintball Gun)
- Yep, you had it correct.
Sorry, I can't be online all the time (I have a life too).
Thanks, - 08:04 am Getting Started: RE: final project (Robotic Paintball Gun)
- kwabena
Sir thanks for everything, I didn't know what I'd do
thanks again,I wish you luck in the future
- 02:36 am Getting Started: RE: final project (Robotic Paintball Gun)
- ??
05/17/2013
- 10:15 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Hi, well, what's the next function return? Eventually there should be a function that does not return 0 to cause the ...
- 09:43 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Hello,
The return value of the cam.begin() function is "0", from what I saw in the document that you gave me. But i... - 06:50 pm Getting Started: RE: final project (Robotic Paintball Gun)
- that is true ?
- 02:38 pm Getting Started: RE: final project (Robotic Paintball Gun)
- That won't do that...
You should have a pull down resistor on the pin and the button should connect the pin to 5V ... - 02:16 pm Getting Started: RE: final project (Robotic Paintball Gun)
- that is true ?
- 01:41 pm Getting Started: RE: final project (Robotic Paintball Gun)
- That is the compete program. Just add a button that makes pin 10 high when pressed and low when released.
You shou... - 01:37 pm Getting Started: RE: final project (Robotic Paintball Gun)
- I don't understand what do you mean ?
and the continuous mode How would I apply
please sir can you write the comp... - 01:14 pm Getting Started: RE: final project (Robotic Paintball Gun)
- ...
- 01:06 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Sir
----
I have one last request and I have finished my project
I want to make it work in two ways:
1- Single ... - 12:48 pm Getting Started: RE: final project (Robotic Paintball Gun)
- yesssssss
i love you sir you are a genius - 12:34 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Hi, I think you should wrap abs() arround "(panAverage < PAN_MOVEMENT_THRESHOLD)" the pan average here and the other ...
- 12:33 pm Getting Started: RE: final project (Robotic Paintball Gun)
- What is the reason?
- 12:26 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Sir
----
the movement to the left Slightly improved when i decrease the value of PAN_MOVEMENT_THRESHOLD
There are... - 12:26 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Hi,
Please play with the movement threshold values. All the code is doing is averaging the difference between suc... - 11:21 am Getting Started: RE: final project (Robotic Paintball Gun)
- Sir Sir
--------
you are a Gorgeous man
i solve the problem, he is a mechanical problem, the gun is Heavy on th...
05/16/2013
- 09:07 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Okay, notice that I'm using boolean statements to control the direction of the A and B channels. (In C you are allowe...
- 08:57 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Ok thank you very much Mr. Kwabena I will study well the code to get it right,
coming home from college I will uplo... - 08:42 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Okay, here's some code that should get you closer to what you want to do.
*You cannot just use this code verbatim,... - 08:12 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- jaja Ok, thank very much :D
- 07:59 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Okay, I have enough to write the code. Give me a bit...
- 07:31 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Well I use the motor shield for arduino for the control motor and
I follow the guide on http://arduino.cc/de/Main/Ar... - 07:21 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Wait, I'm confused...
Normally the motor controller will have the following pins:
A1
A2
B1
B2
A_PWM/EN
B_P... - 07:16 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, the motor pins are:
pinMode(13,OUTPUT); // Motor Channel B pin, pin digital number 13 arduino
pinMode(8... - 06:39 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Try using a pixels threshold of like 30 and the same for confidence. The idea behind the thresholds is that you are m...
- 05:03 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, this it's the code, but not work to 100% the robot not follow very well the object, its slow for track the color
... - 02:38 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Well, I can try, but, in robotics a lot of those values like the color tracking settings are magic numbers. So, I can...
- 02:28 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Ok, Sorry Mr Kwabena. I tried to translate the manual,
but I don't understand very much, When I finish the code,
I... - 12:47 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Yes... so you want to set the threshold below what you see in the GUI however. How far below is totally dependent on ...
- 12:38 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- I want to track a red ball, but the code has the poll mode (true) and Yuv mode (false),
which of the two has to use... - 12:23 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Yeah, you aren't giving me enough info here to help you. What are you doing?
I see that YUV mode is set to false t... - 11:46 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, thats code it's right?
#define RED_MIN 90
#define RED_MAX 115
#define GREEN_MIN 60
#define GREEN_MAX 115
#... - 10:37 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- You don't need an SD card. The CMUcam4GUI removes the need for an SD card really. The SD card was supposed to be used...
- 10:29 am General Questions: RE: Cmucam4 with arduino for line navigation
- Hi,
That code is just to show how to write code to use the CMUcam4. The demo doesn't really do anything interesti... - 10:06 am General Questions: RE: Cmucam4 with arduino for line navigation
- Hi Kwabena
I am learning the type F data Packet using "DemoLineTrackingTemplate sketch". When I am running the cod... - 09:10 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hello, I connect the FTDI cable with the CMUcam everything works fine
with the CMUcam4GUI program, in options menu ...
05/15/2013
- 04:24 pm Getting Started: RE: final project (Robotic Paintball Gun)
- So...
What I was saying is that I can make a custom firmware image that will output servo values outside the range... - 04:11 pm Getting Started: RE: final project (Robotic Paintball Gun)
- i don't have any question but i don't understand why i have this problem
the program , you says it's correct
Prev... - 01:12 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Um, what's your question?
Did you set the serial terminal baud rate to the correct value?
Anyway, the values yo... - 01:03 pm Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
-There was some mechanical problems but solved
-Motor became better moves
-but when i test the la... - 10:22 am General Questions: RE: Cmucam4 with arduino for line navigation
- Hi, I explained previously what the code does. Please look back at the post with the picture of the lines.
The x c... - 09:35 am General Questions: RE: Cmucam4 with arduino for line navigation
- Hi,
your code is working flawlessly!
but i need your help to gain more knowledge about the coding
can you help me ...
05/14/2013
- 09:27 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Okay, so... negative 2 is an error value. Looking that up in the library error value system here: http://cmucam.org/d...
- 07:38 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Hello,
I’m working in a project, that is a quadcopter who will use a CMUcam4 to track a rc car (with a color) in mov... - 04:19 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Sorry, I don't know what you are up to at all. Can you please refresh me.
Thanks, - 02:58 pm General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Hello,
I already read the arduino library, but I still have the same problem.
How can I know what are the real val... - 10:51 am Getting Started: RE: final project (Robotic Paintball Gun)
- Hi,
You need to do Serial.begin(115200); in the setup() section of your code... because the serial port is not on ... - 10:47 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Please read the main page for the Arduino Interface Library... there is a huge bold section there about how the Inter...
- 09:17 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, I get the position of the servos, but I can't print in the terminal
with Serial.printlm command because it does... - 02:01 am Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
It does not print anything
this is the program ...
05/13/2013
- 08:32 pm Getting Started: RE: final project (Robotic Paintball Gun)
- So... what does it print?
Also, by serial programmer I mean something that lets the CMUcam4 talk to the computer. ... - 06:47 pm Getting Started: RE: final project (Robotic Paintball Gun)
- I use serial.println (cam.getServoPosition(0))
but not working
- 06:37 pm Getting Started: RE: final project (Robotic Paintball Gun)
- ''You have a serial programmer right now? I can make a firmware image that supports much larger ranges than normal''
... - 06:27 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Yes, so... ask yourself what servo output pulse length is the Arduino sending in the previous example. It may not hav...
- 05:24 pm Getting Started: RE: final project (Robotic Paintball Gun)
- hi Sir
------
Thank you and thanks for your efforts
i thinks,
your expectation was misplaced
servos that do... - 01:35 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, that function should work.
Please put the camera in poll mode however by making the poll mode value "true".
... - 01:25 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- engines use this code:...
- 01:14 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- That's entirely robot specific.
You'll need to figure out how to drive your robot first. I can't help you with tha... - 11:34 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, the code of the demo if it works,
but how do so that when the Pan servo turn left, the wheels of the robot
do...
05/12/2013
- 03:35 pm General Questions: RE: Cmucam4 with arduino for line navigation
- You're welcome! Really try to make the white lines really nice and bright. Changing the lighting in the room may easi...
- 03:28 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi
yes the image is taken from the CMUcam4
i think that i want to add some lighting with the CMUcam4..maybe some LE... - 03:11 pm Getting Started: RE: final project (Robotic Paintball Gun)
- You forgot the "cam." part.
As for the left to right fix... please see my previous post. - 03:09 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Your motor driver has PWM pins for the left and right. You should connect them to the motor driver PWM pins.
As fo... - 03:07 pm Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
i've add the command to program
is this true??... - 03:03 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi
Thanks for your help
so the white line that i use is ok right?
and can i ask for the code
#define MOTOR_RF 4
... - 02:55 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Yeah,
You need to just adjust values. Try and understand what the code is doing or you'll likely never get it work... - 02:48 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi
basically i am using the line that in attachment
is the white line good enough?
and for this code is it anythin... - 02:40 pm General Questions: RE: Cmucam4 with arduino for line navigation
- ...
- 02:22 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi
actually i want to detect white line on black surface..but i also think to detect the black surface centroid betw... - 01:59 pm General Questions: RE: Cmucam4 with arduino for line navigation
- What's the line color you are tracking? You're tracking parameters seem like you just guessed them which doesn't work...
- 01:49 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi
i use this motor driver circuit
MD293V1. It use L293D ic
i also attach the motor driver datasheet in attachme... - 01:32 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Hi, could you give me some more information on the motor driver. I'll write a small program that should work, but, yo...
- 12:26 pm General Questions: RE: Cmucam4 with arduino for line navigation
- oh..im sorry..i really dont have anyone to guide me and i also a beginner
the pin connection that i use is
Ardu... - 11:08 am General Questions: RE: Cmucam4 with arduino for line navigation
- You're controlling the motors in a really bad way. Um, give me a list of all the pin connections and what does what a...
- 07:43 am General Questions: RE: Cmucam4 with arduino for line navigation
- Hi,my code seems like got many error
can u help me which one is not correct?
Thanks...
05/11/2013
- 08:26 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Hi, PID is the algorithm used for the control loop for making the servo go. Here's a good PID reference: http://forum...
- 08:09 pm Getting Started: RE: final project (Robotic Paintball Gun)
- please kwabena i don't understand about the PID gains
more details please
thanks - 07:51 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Hi,
It looks like the PID gains are too high by default in that video. You should lower them using the http://cmu... - 03:53 pm Getting Started: RE: final project (Robotic Paintball Gun)
- about the mechanical part i think no problem because i use this program...
- 03:48 pm Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
now the Gun follow the target but i have a problem
when i move the target to the left i don't have ...
05/10/2013
- 12:08 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, which motors are you trying to control?
Try to get the drive motors for moving the robot working first.
h... - 10:32 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi the servos do not work,
can help me with an example of how to control
the servos with CMUcam4 and Arduino Plea...
05/09/2013
- 04:49 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, you should control the servo motors for movement with the Arduino. The pan and tilt servo motors can be controlle...
- 11:15 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, I finished the structure of the robot, but I don't know if I can connect
the servo motors on cmucam4 for later,...
05/08/2013
- 07:01 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Okay, I see what you want to do.
The system is actually designed this way on purpose to explicitly make what you w... - 05:26 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Would that be possible given that I'm also using the T-packets? I want to obtain the servo position continuously idea...
- 05:22 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- You can use the getServoPosition command while the servos are being driven.
The getServoPosition command just tell... - 05:21 pm General Questions: RE: Servo Control
- Hi,
Just add a servo command in the code then to do that and set the position position in the code where the LED i... - 02:10 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Yes, but I need to use the servos for tracking so the pins of the CMUcam4 are going to be connected to the servos and...
- 01:26 pm General Questions: RE: Servo Control
- I wanted to do object tracking where by three LED's;one to light up when the servo moves left, another to light up as...
- 01:17 pm Getting Started: RE: final project (Robotic Paintball Gun)
- The Arduino, CMUcam4, Battery, and Servo need to share the same ground. The servos signal wire should be hooked to th...
- 01:15 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Hi,
http://en.wikipedia.org/wiki/Servo_control - 01:04 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Yes that's what I want only turns automatic pan
about the connection Is this true ?
- 12:53 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Hi Kwabena,
are there some good links were I can read about the servos and the pulses issued to the camera. I kn... - 12:45 pm General Questions: RE: Servo Control
- That code doesn't control any servos.
What do you want to do? - 12:43 pm Getting Started: RE: final project (Robotic Paintball Gun)
- However, that code only even turns automatic pan on. Never off.
- 12:43 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Yes, that code should follow a target.
- 11:46 am Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
with this code, Must pursue the target
Is this true ?... - Hi Kwabena,
I saw this code in one of your threads and try to test with my CMUcam 4.I attached two servo but when ...
05/07/2013
- 01:02 pm Getting Started: RE: final project (Robotic Paintball Gun)
- No, I haven't,
I gave you un tested code. However, the structure implements what you want to do. Its up to you to... - 12:56 pm Getting Started: RE: final project (Robotic Paintball Gun)
- sir
sorry for this question
Have you tested this program and it function normally ?? - 12:19 pm Getting Started: RE: Problem about processing f data in 30fps
- Um, use poll mode. This will limit the frame rate to around 10 FPS however.
There are examples on how to do this.
... - 12:15 pm Getting Started: RE: Problem about processing f data in 30fps
- Hi
May i know how to solve the problem if i process the data slower than 30fps?
Thanks - 12:05 pm Getting Started: RE: final project (Robotic Paintball Gun)
- Posting that tells me nothing.
You have to experiment to get all this stuff working perfectly.
Thanks, - 11:59 am Getting Started: RE: final project (Robotic Paintball Gun)
- #define V_MIN 190
#define V_MAX 240
#define Y_MIN 54
#define Y_MAX 117
#define U_MIN 100
#define U_MAX 120 - 11:52 am Getting Started: RE: final project (Robotic Paintball Gun)
- Since the target is so small... you might have your color bounds set to tight. Widen then. In YUV mode you should be ...
- 11:50 am Getting Started: RE: final project (Robotic Paintball Gun)
- Hi, did you notice the servo jump a little bit when the power came on and did it start to move to center?
Also, th... - 11:22 am Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
------
i finish the mechanical part and now i have tested the program
1-i have used the cmucamGUI And I'... - 10:35 am Getting Started: RE: Problem about processing f data in 30fps
- If you go faster the getType*Packet function just blocks until the packet comes in. So, nothing to worry there.
Th... - Hi,
i'm developing a code to process the f data. i know that the camera generates the f data at 30fps, so i have t...
05/06/2013
- 01:14 am Getting Started: RE: CMUcam4GUI
- Now I get it, the blue pixels appear now, thank you :)
05/05/2013
- 06:50 pm General Questions: RE: How to track two color
- Hi,
You just call track color with a different set of 6 tracking parameters.
Thanks, - 05:43 pm General Questions: RE: How to track two color
- Please Kwabena how do you switch from tracking one color to tracking another. I have been trying to do this and it is...
- 12:36 pm Getting Started: RE: CMUcam4GUI
- Um... never tested on that OS, but, is the camera still looking at the same image you took a picture of? The blue pix...
- Hi Kwabena,
I use CMUcam4GUI on my PC running OpenSUSE 12.2. Everything working fine except every time I do color ...
05/03/2013
- 08:00 am General Questions: RE: Localization with two cmucam4
- Hi,
So... its not the CMUcam4's fault. Its your code. Always blame electrical connections issues then your code fo... - Dear Kwabena,
I am working in a project using two CMUcam4 and an arduino mega. The objective of the project was to...
05/02/2013
- 10:35 am Getting Started: RE: cmucam not stop writing.
- Please look at the Arduino Interface Library source code for C code on doing this... Better yet, look at the CMUcam4G...
- 10:31 am Getting Started: RE: cmucam not stop writing.
- I'm making a program like CMUCAM4GUI using LabVIEW.
LabVIEW will convert ASCII characters to image.
if send frame... - 10:13 am Getting Started: RE: cmucam not stop writing.
- Also, the SF command has arguments "3 3" to do an 80x60 image. But, you should never need to execute this yourself.
- 10:12 am Getting Started: RE: cmucam not stop writing.
- Hi Imran,
The random characters are the pixel values. Serial terminals do not understand what the data is, so they... - hi Kwabena
when I use the command send frame "SF"
I've tried to send [ SF [80][60] '\r' ] or [ SF [80x60] '\r' ...
04/29/2013
- 09:12 am General Questions: RE: Using CMUCam for Tracking Multiple blue balls
- Yeah,
All the CMUcam4 stuff looks fine. Have you tried printing a return value from the CMUcam4 functions? This w... - 08:00 am General Questions: RE: Frame Rate for Track Colour and SW command
- Hi,
No, you can't do that. The camera only goes at 30 FPS. You are getting the best performance out of the camera ... - 07:58 am Getting Started: RE: Simple CMUcam4 Program
- They are just defines... if you find the source where they come from it says what they are.
Thanks, - Hello,
The frame rate in the last version of the firmware is 30 FPS when i use Track Colour (TC)( good for my appl...
04/28/2013
- 09:33 pm Getting Started: RE: Simple CMUcam4 Program
- Oh I know what they mean now, thx!
- 09:24 pm Getting Started: RE: Simple CMUcam4 Program
- Dear Kwabena,
I noticed that in your code above and in the DemoObjectTrackingTemplate, there are lines like "(CMU... - 06:54 pm General Questions: RE: Using CMUCam for Tracking Multiple blue balls
- Hello Kwabena,
Here's my final Arduino code, using the camera to track blue balls, and at the same time, sharp IR s... - 01:20 pm General Questions: RE: Cmucam4 for pupil tracking
- Thank you again for the answer.
I will make a better search and i will come back with more questions. - 10:55 am General Questions: RE: Tracking issue
- Hi, That demo isn't meant to do anything. Its just some code that shows you how to get data out of the camera and wor...
- 10:53 am General Questions: RE: Cmucam4 for pupil tracking
- Well, I don't know how well the camera can see IR light. The camera is able to work outdoors in direct sunlight... so...
- 08:20 am General Questions: RE: Cmucam4 for pupil tracking
- Kwabena Agyeman thanks for the quick answer.
I believe that it will work because i plan to install the CMUcam4 rig... - I am using the demotrackingobject as a base for my project, and everything works fine except when I put an object in ...
04/27/2013
- 08:08 pm General Questions: RE: Cmucam4 for pupil tracking
- The project is entirely feasible depending on if you can get the pupil color easily.
What I mean by this... is can... - Hello,
After many hours of searching i finally end up here.
I want to make a pupil tracker with a microcontroller b...
04/26/2013
- 01:58 pm Getting Started: RE: final project (Robotic Paintball Gun)
- The output from the servo channels on the CMUcam4 are standard servo signals.
http://www.google.com/imgres?imgurl=... - 01:52 pm Getting Started: RE: final project (Robotic Paintball Gun)
- hi sir
can i use a dc motor and this driver (in this picture)
this driver take a pwm
thanks sir - 10:40 am General Questions: RE: Quadcopter with CMUcam4 (problem with serial port)
- Hi Ricardo,
Are you trying to view what's being transmitted on the serial port that the Arduino is using to commun...
04/25/2013
- Hello,
I’m working in a project, that is a quadcopter who will use a CMUcam4 to track a rc car (with a color) in mov... - 03:37 pm Getting Started: RE: CMUCAM4 GUI
- I really tried to get rid of that CMUcam4 not responding error... I spent 3 days debugging that. It was a lot worse b...
- 03:36 pm Getting Started: RE: CMUCAM4 GUI
- Hi,
For you're first post... the CMUcam4 is a color tracking sensor. It doesn't care what it is looking at, only c... - 03:16 pm Getting Started: RE: CMUCAM4 GUI
- By the way, when we are tracking image in the GUI, the GUI often stops and pops up a window saying "the cmucam4 respo...
- 02:57 pm Getting Started: RE: CMUCAM4 GUI
- Hi Kwabena,
Thank you so much for your reply. I followed your instruction and it worked! However unlike the photo ...
04/24/2013
- 09:01 pm Getting Started: RE: CMUCAM4 GUI
- Hi, did you click the send frame button?
The CMCcam4GUI just executes CMUcam4 commands on your behalf.
Set the ... - 08:48 pm Getting Started: RE: CMUCAM4 GUI
- Hi Kwabena,
We have the FTDI 5V Cable and connected to the cmucam4 as shown in the picture. However we could not h... - 12:06 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Okay,
Well, first thing you should do is build the robot. The CMUcam4 can do what is shown in the video. Build the... - 10:42 am Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi, I would like to do something like the video, it's very brilliant
http://www.youtube.com/watch?v=kWG2EbhZUgc
T... - 09:45 am General Questions: RE: Using CMUCam for Tracking Multiple blue balls
- Hi,
You just have to port the CMUcom4.h library to the Raspberry PI, which is, tell it what functions to call to u... - 06:52 am General Questions: RE: Using CMUCam for Tracking Multiple blue balls
- Hello Kwabena !
I hope you're doing well.
I would like to communicate with the CMUCam directly using a Raspber...
04/23/2013
- 08:06 pm Getting Started: RE: connect CMUcam4 to arduino UNO problem's
- Hi,
That code isn't really made to do anything cool. Its just there to show you how to call CMUcam4 functions. The... - Hi, sorry for the question, I know it is easy for you, but I don't know how connect the cmu4cam to arduino, I follow ...
04/22/2013
- 08:11 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Um, I really don't even know what you are asking. The CMUcam4 is sending you packets. This is not the problem. You ne...
- 08:01 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Also, because I forgot to mention in the previous replies. I was review the received T-packets and I was seeing 84 32...
- 06:33 pm Getting Started: RE: Tennis Ball Tracking
- Um...
You call the function?
#define BRIGHTNESS 50
#define CONTRAST -25
cam.cameraBrightness(BRIGHTNESS);
... - 06:26 pm Getting Started: RE: CMUCAM4 GUI
- Its okay,
So, the SD card is for storing pictures. But, with the CMUcam4GUI now, you never need to use the SD card... - 05:54 pm Getting Started: RE: CMUcam4GUI
- Hi Kwabena,
Do I also need a SD card for the cam to implement the function of tracking a object? Also I am a littl... - 05:47 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Ok Kwabena I will take all your considerations. Until now thanks a lot for your help. :)
- 05:40 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- You'll find that its really not an issue. The PID algorithm converges very quickly. You just have to get the constant...
- 02:13 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Yes your right but the more accurate I find the distance and the angle the better the convergence will be...
- 01:54 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- You don't need the aperture of the camera to do PID. You don't need to know what the error angle is... All you need t...
- 01:46 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Yes, I already did that. It gives mx = 94 and my = 59, no problems about that. But I wanted to check whether this eff...
- 12:44 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Instead of doing math... just look at what the centroid does for different noise filter values when you track all pos...
- 12:42 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Disabling color statistics disables all features of the camera than involve the camera knowing what color it is looki...
- 12:23 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Thanks Kwabena! that would be great if you can do that for me..however, I'm not sure what do you meant to disable col...
- 12:16 pm Getting Started: RE: send command
- You don't need DTR or RTS. You just need to supply the camera with 5V, GND and connect it to your RX and TX pins.
... - 12:12 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Um, I might be able to edit how the filter for you... its just 4 lines of ASM in the firmware. I have to disable colo...
- 12:11 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Oh, I see what you are thinking... so, the noise filter is not that smart to distinguish between edges of the image. ...
- 12:08 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- But they should never be tracked if they do not form part of a group. What I doing is that I'm setting the right col...
- 12:05 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- The noise filter works left to right. If you have it set to 30 then by definition pixels in positions 0 to 29 will ne...
- 11:58 am Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Thanks for you immediate reply!
I don't know if actually explained my problem properly. The noise filter according... - 10:09 am Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- You can always post process the binary image using more complex calculations. You don't have to use the built-in nois...
- 10:06 am Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Hi,
This is what the noise filter does... the noise filter isn't very complex. What it does is remove all tracked... - 09:24 am Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Hi Kwabena,
I was testing the noise filter using the GUI and I noticed that if the Noise Filter is set to 30 for e... - 08:30 am Getting Started: RE: send command
- how about DTR,CTS ?
how to connect it to BASIC Stamp ? - Hi, I'm a french student who work on a class project, it's a tennis ball collector. I'm in charge of the detection pa...
- 01:02 am Getting Started: RE: CMUCAM4 GUI
- Dear Kwabena
I am little confused about how to program cmucam4. What is the relationship between Parallax Serial T... - 12:41 am Getting Started: RE: CMUCAM4 GUI
- thanks for the reply. Do I also need a SD card for the cam to implement the function of tracking a object?
- 12:36 am Getting Started: RE: CMUCAM4 GUI
- Hi,
You need an FTDI cable/board to connect the CMUcam4 to the computer. It does not work through the Arduino.
... - 12:12 am Getting Started: RE: CMUCAM4 GUI
- Hi Kwabena,
What do I need to have image displayed on cmucam4 GUI beside my cmucam4 and arduino mega? thanks!
04/21/2013
- 12:49 pm General Questions: RE: Cmucam4 with arduino for line navigation
- Um, not really,
I have no clue how your robot is built and how to control it. You should consult and many, many Ar... - 06:31 am General Questions: RE: Cmucam4 with arduino for line navigation
- yes i understand the algorithm and what my robot should do but i have problem in understanding the code
i have probl...
04/20/2013
- 02:22 pm Getting Started: RE: CMUcam4 following object
- Hi, I noticed that you try to use the serial port while the CMUcam4 is connected to it. That doesn't work....
You ... - 01:44 pm Getting Started: RE: CMUcam4 following object
- Thanks for the response. I was working in the robot structure and now I'm in programming.
I decided to use the ser... - 09:27 am Getting Started: RE: CMUcam4GUI
- Well, I suppose I could.
But, you don't want to use a lower speed baud rate. This is a bad thing. You want to go a... - 09:27 am Getting Started: RE: CMUcam4GUI
- Well, I suppose I could.
But, you don't want to use a lower speed baud rate. This is a bad thing. You want to go a... - 09:25 am General Questions: RE: See images while connected to arduino
- Yeah,
When the CMUcam4 is connected to a TV it will display whatever the machine vision is tracking.
Thanks, - 08:43 am General Questions: RE: See images while connected to arduino
- Hi, thanks for the quick reply.
So just to be clear, can I connect to a TV while the CMUCAM4 is working with the a... - 06:37 am Getting Started: RE: CMUcam4GUI
- Thanks for the version. I can not test it until 2nd week of May, but I will report if it worked.
PS: Why don't you...
04/19/2013
- 11:01 pm Getting Started: RE: Controlling the pan and tilt servos
- Yeah, you can just do that.
However, it's not necessary to call trackColor multiple times to get the servo positio... - 10:55 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Its just the default firmware: http://www.cmucam.org/documents/13
- 10:54 pm Getting Started: RE: CMUcam4GUI
- So...
That cable does not do at all what you think it does.
If you read the reviews on the bottom of the produc... - 09:03 pm Getting Started: RE: CMUcam4GUI
- I got a RCA to USB cable (http://www.amazon.com/GSI-RCA-To-USB-Cable/dp/B003QA5LA0), but it's not displaying any imag...
- 07:19 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Can you give me a link for the firmware which operates at 19200bps then so that I test this and then I re-install it ...
- 06:06 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- The CMUcam4GUI expects the CMUcam4GUI to respond at 19200 BPS on startup. Since you changed the firmware this is no l...
- 02:39 pm Getting Started: RE: CMUcam4 for Visual tracking and Servoing of WMR
- Hi Kwabena,
I'm trying to connect the CMUcam4 to the GUI using this FTDI cable https://www.sparkfun.com/products/... - 02:00 pm Getting Started: RE: Controlling the pan and tilt servos
- I've been working on controlling the servo through the cmucam and it has been giving me a lot of problems. So I'm try...
- 10:05 am Getting Started: RE: CMUcam4GUI
- Okay, here's a version which works at 57600. I haven't tested it because I have to run out the door. It should work.
... - 09:57 am General Questions: RE: See images while connected to arduino
- The best you can do is take pictures while attached to the CMUcam4GUI.
- 09:57 am General Questions: RE: See images while connected to arduino
- Hi, you can connect the CMUcam4 to a TV. This shows you the machine vision output.
If you're talking about seeing ... - Hi,
I just wanted to know that is there a way to see what the camera "sees" on a screen while its connected to the ... - 02:06 am Getting Started: RE: CMUcam4GUI
- 57600 seems to be the highest possible baud.
Also available in: Atom