Hi, Noram, welcome to the forum.
There are many friendly people here who are very glad to be helpful. However, they tend to be most helpful to people who work the hardest for themselves and are less willing to take over the entire job. You didn't ask anyone to do your job for you (some do), so you're off to a good start.
Both CBenson and DiaLFonZo are right in what they said, but they are discussing two different boards and programming languages. If you are free to make all your own choices, I too would recommend the Arduino board and its language.LONG WINDED ALERT!
But, if I am reading properly between the lines of your request, you are under constraints that limit your choices. It might help us understand better if you could describe your constraints more fully:
The goal is to build a device/robot that will drive a 25 foot distance stop and shoot at a target 15 feet away.
- Is the device strictly autonomous, or guided by a human operator under remote control?
- Does the device always start from exactly the same position and orientation relative to the target, or is it set down randomly relative to the target? (Will sensors be required to tell device its position and to find the target?)
- Has the gun been selected or must it be designed?
- Is the gun mounted rigidly on the platform, or can it be aimed independently, or is it a combination of both?
You are part of a group with at least one other person responsible for programming a different part of the overall project. Also you have a partial bill of materials (BOM) which includes a specific microcontroller and chip.
From these I presume:
- The BOM was dictated as part of the project, and you are not free to select a different board/language.
- The whole group is supposed to program just this single board and not add auxilliary boards.
- You will program two functions: locomotion and navigation. (If device and target always start in same positions, your quadrature encoders should get you there. If not you will depend on sensor input.)
- You may also be partly or fully responsible for aiming.
- Someone else will program two gun functions: loading and firing.
- They may also be partly or fully resonsible for aiming.
- Other possible group functions:
-- Designer - lay out plan of platform and gun - specify remaining BOM
-- Sensor selector/programmer (if needed).END LONG WINDED ALERT.
So you're stuck with programming the Atom Pro 28. Describe to yourself what process(es) you are responsible for.
I just need to be able to put it in the same spot 3 times and fire.
Break the processes down into sub-processes and the subprocesses into the smallest individual steps. When you can write each step as a sentence, you have most of your program laid out. The rest is just program syntax.
All the LynxMotion robot kit listings in the store have links to sample codes. You can download these for FREE
and find all kinds of useful code snippets that will help you build useful code to program each device.
Collaborate with your group mates to learn coding and stay on the same page for the project.