Hi I am a computer science student doing my final year Project. I am developing a mobile robot to behave as a surveillance system which detects an intruder in a room by tracing it by movement of sound using the ultrasonic sensor and sound sensor.
I have a few queries:
Can i use the sound sensor to track sound (when robot is in blind position) and if so what’s the java coding method to do so (in leJOS).
With the ultrasonic sensor whats the java coding method in leJOS for that sensor to trigger the robot in the direction of the sound.
I am using net beans in linux to program my robot, I’m also using the latest leJOS firmware veriosn (i.e 0.5.0). I’ve tried creating a hash map but I’m getting an error in my line of code when I declare a hash map saying “generics are not supported in source - 1.4 (use -source 5 or higher to enable generics)”
Example line of code: "points = new hashtable<point,Byte>(50)" inside constructor.
I’ve been trying to work out these methods but still can’t find the soultion. Can anyone help me please because my project is due next Thursday, april 10.
Post your NXJ projects, project ideas, etc here!
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest