We have finally got part of simulation tab running! The moving robot segment of our program is working well. The speed of ones computer will dictate the quality of program. The robot tends to struggle due to lag and is to be optimized further.
Currently we have only the wooden surface updated with more to come (ice surface needs to be completed).
Since there are currently 2 different versions of the program with certain updates. We must add both the moving robot simulation and the graphs onto one program. And yeah.
Next up is attempting to do the simulation of the force that the robot exerts on other objects (in our program that will be a box).
Peace Out Girl Scouts.
~ Code Busters
A development blog for our grade 12 computer science ISP. The program's purpose is to allow the user to input variables such as voltage, current, etc., and simulate the sumo bot created.
Friday, 10 May 2013
Tuesday, 7 May 2013
Le Update.
The SumBots Project has been progressing very well. We are currently finalizing our report that is to be submitted regarding our clients response/recommendations to the program.
The graphs for both the velocity/accleration have been implemented. Applying physics and incoporating the calculations with the input values is the next top priority. We still have to review the science/calculations with our client in order to finalize the math.
That is all.
Cheers!
~ Code Busters Team.
The graphs for both the velocity/accleration have been implemented. Applying physics and incoporating the calculations with the input values is the next top priority. We still have to review the science/calculations with our client in order to finalize the math.
That is all.
Cheers!
~ Code Busters Team.
Monday, 6 May 2013
Graphs, graphs, graphs!
This past week, the Codebusters Team have come down with graph fever! That is to say, after a couple days of hard work, our developers have managed to display a working graph natively within the Slick library without the use of any external plugins! Through the use of calculus, we will then be able to easily compute both of the velocity and acceleration graphs (derivatives!), given a set position graph.
On the optimization front, while half of our modest resources have been dedicated to the task of making the simulator running amicably on a budget-oriented computer, progress is still very much in its infancy. With that said, we have already managed to decrease CPU usage on a dual-core system by 10-15%, and thus, our goal of reducing peak usage to less than 50% overall still stands. While memory (RAM) usage is less of an issue, we are nonetheless dedicated to limiting resource utilization in that area as well.
In terms of the "Simulation" tab, we are happy to report that the inputting of default values into each of the properties is well underway, and as always, our graphics team is hard at work creating the images and textures that will increase the overall visual appeal of the program. Furthermore, advancements have also been made in implementing the many physical laws that will govern the movement of the sumobot while it is in the "Simulation" state.
Thus, while the team have encountered our fair share of challenges and obstacles over these past few weeks, we are nonetheless still running full steam ahead towards a final release, and we hope to return with more good news in the days ahead. =)
-The Codebusters Team
Wednesday, 1 May 2013
“Good progress so far”
It’s May Day! In other news, the
Codebusters team has had their weekly meeting with our client, and we are happy
to report that our progress on Sumobot Simulator 2013 has been extremely well
received so far. At this point, we estimate that we have completed
approximately 75% of the core programming, with completion of the “Simulation”
tab and optimization being our immediate priorities. Here’s a list that we
believe provides a good summation of the state of the program up to this point:
General
-The program state is currently nearing the “pre-alpha” stage,
with stable daily builds being committed to Dropbox.
-Proper program versioning conventions are being/in the
process of being adhered to!
-Various graphical improvements that increase the overall
user-friendliness of the program has been made and approved by the client.
Optimization
-While the current builds of the simulator are utilizing up
to 75% of the available CPU cycles (on a 1.0 GHz dual core AMD C-50 CPU) during
idle, we are aiming to reduce that usage down to less than 50% through various
code optimizations.
- Furthermore, our R&D team is currently researching
optimization methods through the use of multi-threading,
which would assign specific tasks to each available core on a system and
potentially free up system resources.
-In addition, multithreading would allow for the efficient
utilization of hardware technologies such as asymmetric “Dual-channel” and
“Quad-Channel” memory (RAM), which would enable each CPU core access to their
own independent 64-bit memory controller (and again, reducing resource
competition and the amount of memory faults to the page file)
GUI
-The client has suggested that default values for each of
the sumobot’s properties are to be present into the corresponding input boxes
at program start up, in order to increase user convenience.
-Moving graphs displaying the properties of the robot while
it is in motion (such as its acceleration and velocity from moment to moment),
will be implemented on the side panel with accompanying value readouts for
each.
-A button or switch will allow for the user to specify the
robot’s current state (whether it is in the simulation mode or not)
- Another series of switches will control the independent
movement of each wheel (either in the ON or OFF state)
- Thus far, the simulation will consist of a side view of the sumobot as it traverses down a 10 meter path (which will loop), although this is subject to change.
- Thus far, the simulation will consist of a side view of the sumobot as it traverses down a 10 meter path (which will loop), although this is subject to change.
-The user will further be able to specify the mass of a block that the robot will push along a variety of surfaces (each with varying coefficients of friction). The default mass will be set to 2 kg.
-Lastly, our graphics team is hard at work with the visual aspect of the simulator, creating the many textures and images that will be required to implement all the features of the "Simulation" tab.
-Lastly, our graphics team is hard at work with the visual aspect of the simulator, creating the many textures and images that will be required to implement all the features of the "Simulation" tab.
Overall, these have been a very
productive couple weeks for the Codebusters Team, and while we have undoubtedly
encountered a few roadblocks during this time (as common with any project of
this size), good progress is nonetheless being made towards achieving a
complete build of the simulator. Kudos to the team!
The next progress meeting with our client is scheduled for a
week from Friday, and we hope to return with more good news then!
Tuesday, 30 April 2013
Lagtastic!
The project thus far has been moving along smoothly, however, we have encountered lag issues through our quality control department (Joey). The application itself is relatively stable but due to the numerous variables that must be held accountable the program should be optimized in order to reduce lag.
Before we can move onto the task of developing the simulation aspect of the application, we must address rework our code using the resource manager. Our next task is to test different build versions on different computers with varying specs to test the stability of our program for school use (as mentioned before is relatively slow) and for personal computers.
Other ideas to rework the application include allowing for a button that updates everything after event changes (text change, buttons click, i.e.).
At least we are making progress!
// CodeBusters! (╯°□°)╯︵ ┻━┻
P.S. Lag sucks.
Monday, 29 April 2013
TODO:
Code:
Mechanical Panel Stuffs:
- Coding the interface and positioning the text boxes.
Electrical Panel Stuffs:
- Rework the colour codes in terms of blue wires as the black/grey is to similar.
- Positioning interface and text boxes.
General:
Simulation Panel Stuffs // more information to be added later
Physics Calculations
Graphics:
Edit Electrical Panel Stuffs
- Add motor to series circuit, change stroke colour to blue, export as png with background as transparent
- Fix Up parallel circuit, change stroke colour to blue, export as png with transparent background
Create Simulation Panel Stuffs:
- Use profile view of robot
- Create 3d Version of robot + top down view
- Red Vector arrow kit (Tip, Tail and Tile-able Middle)
Wednesday Discussion
- Remember to discuss what exactly do you wish to have displayed through the simulation pane.
- Display the maximum velocity?
- Does this have the capabilities to move a 1kg block and speed while moving it?
- How do we display the movement in terms of the top down view. IF wheels or force is different it will
spin.IF the wheels where identically moving at sme speed
- Any other ideas of what to be displayed?
- Check the physics with Mr. Song.
// Code Busters OUT
Mechanical Panel Stuffs:
- Coding the interface and positioning the text boxes.
Electrical Panel Stuffs:
- Rework the colour codes in terms of blue wires as the black/grey is to similar.
- Positioning interface and text boxes.
General:
Simulation Panel Stuffs // more information to be added later
Physics Calculations
Graphics:
Edit Electrical Panel Stuffs
- Add motor to series circuit, change stroke colour to blue, export as png with background as transparent
- Fix Up parallel circuit, change stroke colour to blue, export as png with transparent background
Create Simulation Panel Stuffs:
- Use profile view of robot
- Create 3d Version of robot + top down view
- Red Vector arrow kit (Tip, Tail and Tile-able Middle)
Wednesday Discussion
- Remember to discuss what exactly do you wish to have displayed through the simulation pane.
- Display the maximum velocity?
- Does this have the capabilities to move a 1kg block and speed while moving it?
- How do we display the movement in terms of the top down view. IF wheels or force is different it will
spin.IF the wheels where identically moving at sme speed
- Any other ideas of what to be displayed?
- Check the physics with Mr. Song.
// Code Busters OUT
Tuesday, 23 April 2013
Meetings and milestones
We are pleased to announce this week that we have reached a very important
milestone on the long and sometimes arduous path of software development. As
mentioned in the last post, a scheduled meeting was held with our client this
morning, where our team was able to demonstrate a fully-functional build of the
simulator, thus far. While we are pleased to report that our progress up to
this point was received warmly by Mr. Song, there is still a lot of work to be
done before we will arrive at any kind of final product.
With that said,
this week, the Codebusters Team are hunkered down (as always), putting the
final touches on the graphical component of the simulator. Furthermore, a few
members of the development team have been tasked with beginning the design of
the simulation portion of the application—specifically the implementation of
the many physics concepts and equations that will be used to model the
properties and motion of the sumobot. As this software will be targeted towards
an academic audience, we are striving to represent as accurately as possible
all the physical forces that will have an impact on the performance of the robot,
and while there are undoubtedly many technical and time-related obstacles to
achieving this goal, our modestly-sized team are continuously striking a
balance between efficiency and precision.
Lastly, as we enter this critical stage of the
development process, we have committed to increase the frequency of
communications with the client in order to ensure that a quality product is
delivered. Specifically, a weekly progress meeting has been established at the
convenience of our client, and thus, we hope to accelerate the pace at which
the project marches towards completion.
-The Codebusters Team
Subscribe to:
Posts (Atom)