So I have been looking a environments to test and develop Artificial Intelligent.
http://www.palais.io/
This one is a 3D based environment that has a high degree of polish.
Uses JavaScript and is Extensible with plugins.
https://gym.openai.com/
This one looks a simpler 2D environments but has some good ideas about building and sharing environments for the test of the AI.
Noting that they have an environment based on Box2D which I plan to have a closer look at.
It also Uses Python (which I like).
Others have used various games to test ideas
Such As:
https://springrts.com/
Starcraft
https://wiki.csc.calpoly.edu/490S10-StarCraft/wiki/spr
More Starcraft
API for Starcraft
https://deepmind.com/blog/deepmind-and-blizzard-release-starcraft-ii-ai-research-environment/
Tuesday, 25 October 2016
Monday, 24 October 2016
Links for AI
Ok to day doing some Research on AI in Games.
AI Game Programmers Guild
These Guys have some very good links.
Smart Move: Intelligent Path-Finding
A really good article on path finding.
Particle Swarm Optimization
Underwater Vehicles
Ok related
Advances In Sonar Technology
Yes and now we are really off track
Greedy Algorithms
AI Game Programmers Guild
These Guys have some very good links.
Smart Move: Intelligent Path-Finding
A really good article on path finding.
Particle Swarm Optimization
Underwater Vehicles
Ok related
Advances In Sonar Technology
Yes and now we are really off track
Greedy Algorithms
Wednesday, 12 October 2016
Using Altium Today
My Day Job involves using Altium and it has come a long way since the early 90s but still shits me sometimes. So I need to remember how to do this next time which will be X-months time. Safe my self an hour and some aggravation.
To day we are doing designation and comments but these are strings that are not the actual designator and comments strings but extra ones for Assembly Documents. Yes I do the documentation but I do not like it need to check out Altium 16 features to see if this will improve the situation.
Usefull page:
Use Blog Page : pcb-filters
Altium Pages
Editing+Multiple+Objects
Basic Filter Doc
Enhanced+PCB+Filtering
This Query returns the String that are part of a component on the top no mater what layer they are on.:
"InComponentClass('Top Side Components') And IsComponentText"
But we are not there yet
This selects the Designators on the correct layer 'M8 Des T' which is the layer for the designators on the top.
"InComponentClass('Top Side Components') And IsComponentText And (StringText = '.Designator') And(Layer = 'M8 Des T')"
Now to select the ones on the wrong layers.
"InComponentClass('Top Side Components') And IsComponentText And (StringText = '.Designator') And(Layer <> 'M8 Des T')"
And this selected a number that were on 'M9 Des B' ie the layer for bottom layer Designators.
UP-Date
Was Using Altium to day and Consultant sent me PCB with no Visible Grids.
Searched for "altium pcb grid disappeared" but not any help.
Eventual Found that they Default Grid Color - Small / Large were both unchecked in the
View Configurations (Design->Board Layers & Colors...) (Short Cut L).
Up-Date 26/05/2017
Answering my own Question
Altium "annotating compiled sheets" not working.
You need to Check the box "Sheet Number Parameter" in the "Schematic Print Properties"
Up-Date 18/01/2018
Need to Rule to select the nets associated with a component.
so far only way to do this is to create a net class with nets of the component which is basically retarded.
Up-Date 14/11/2019
Finding String with incorrect font
(StringText Like '?*') and not (Font Like 'Arial*')
To day we are doing designation and comments but these are strings that are not the actual designator and comments strings but extra ones for Assembly Documents. Yes I do the documentation but I do not like it need to check out Altium 16 features to see if this will improve the situation.
Usefull page:
Use Blog Page : pcb-filters
Altium Pages
Editing+Multiple+Objects
Basic Filter Doc
Enhanced+PCB+Filtering
This Query returns the String that are part of a component on the top no mater what layer they are on.:
"InComponentClass('Top Side Components') And IsComponentText"
But we are not there yet
This selects the Designators on the correct layer 'M8 Des T' which is the layer for the designators on the top.
"InComponentClass('Top Side Components') And IsComponentText And (StringText = '.Designator') And(Layer = 'M8 Des T')"
Now to select the ones on the wrong layers.
"InComponentClass('Top Side Components') And IsComponentText And (StringText = '.Designator') And(Layer <> 'M8 Des T')"
And this selected a number that were on 'M9 Des B' ie the layer for bottom layer Designators.
UP-Date
Was Using Altium to day and Consultant sent me PCB with no Visible Grids.
Searched for "altium pcb grid disappeared" but not any help.
Eventual Found that they Default Grid Color - Small / Large were both unchecked in the
View Configurations (Design->Board Layers & Colors...) (Short Cut L).
Up-Date 26/05/2017
Answering my own Question
Altium "annotating compiled sheets" not working.
You need to Check the box "Sheet Number Parameter" in the "Schematic Print Properties"
Up-Date 18/01/2018
Need to Rule to select the nets associated with a component.
so far only way to do this is to create a net class with nets of the component which is basically retarded.
Up-Date 14/11/2019
Finding String with incorrect font
(StringText Like '?*') and not (Font Like 'Arial*')
Tuesday, 11 October 2016
Todays Post
Today in the post I Received 20 Servos in the Mail.
They are small than I thought they would be.
But good value. Now to build some thing with them
like a robot.
Monday, 3 October 2016
Todays Links
Some more links I found when looking in to Object factory's
Maintenance-free-factory-design-pattern
Some good stuff on this page : )
Staticmethod and classmethod in python
Sunday, 2 October 2016
Python Links
I am doing some Python coding.
I like python but is suffers from lack of maturity in library and documentation.
Interesting blog on python http://love-python.blogspot.com.au/
Code I am working on
just want to publish to see how it is done:
Used the link http://codeformatter.blogspot.com.au/
to format the code in to highlighted source code.
Now just need to work out how to add key words and tags
I like python but is suffers from lack of maturity in library and documentation.
Interesting blog on python http://love-python.blogspot.com.au/
Code I am working on
just want to publish to see how it is done:
Used the link http://codeformatter.blogspot.com.au/
to format the code in to highlighted source code.
Now just need to work out how to add key words and tags
import pygame
#Predefined Colours
MyColor = pygame.Color(46,139,87)
Black = pygame.Color(0, 0, 0)
class BaseSprite(pygame.sprite.Sprite):
def __init__(self, aimage, aposition):
# Call the parent class (Sprite) constructor
super(BaseSprite,self).__init__()
#This is initilisation
self.image = pygame.image.load(aimage)
self.rect = pygame.Rect(self.image.get_rect())
self.rect.topleft = aposition
def move(self,distance):
self.rect = self.rect.move(distance)
def update(self):
#intent determine what to do
distance = [0,0]
#exicute
self.rect = self.rect.move(distance)
class StaticSprite(BaseSprite):
def __init__(self, aimage, aposition):
# Call the parent class (Sprite) constructor
BaseSprite.__init__(self, aimage, aposition)
#This is initilisation
class ActorSprite(BaseSprite):
def __init__(self, aimage, aposition):
# Call the parent class (Sprite) constructor
BaseSprite.__init__(self, aimage, aposition)
#This is initilisation
def update(self):
#intent determine what to do
distance = [1,1]
#exicute
self.rect = self.rect.move(distance)
Intro
This blog is to track my progress in my projects and record useful information and insights.
It it helps any one that would be good.
It it helps any one that would be good.
Subscribe to:
Posts (Atom)