The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Michel Trahan's Content
There have been 155 items by Michel Trahan
(Search limited from 28-September 23)
I do come from Montreal, province of Quebec, Canada, and a pure bastard (Irish, French, Indian(12th generation lol), and Iberville as a ancestor) (with this mixture bastard was the only appropriate one lol) and I'm proud to be
You should see my smile
And I do pronounce doo-ee-no exactly like dwee-no lol it's just a question of speed ?
If I understand, It cannot be done because there is no API for it and we have to use the internet to do it ?
So the phone will speak to a router that will speak to the netduino ... is that it ? Cause I wanted to talk to the netduino directly through the wifi/bluetooth mechanism ... but no API for it on the windows phone side ... pity.
I also read about it on the msdn forums that we don't need such a function ... it sounds like an engineer that knows exactly what we need without even talking to us ... he was a real sob about the fact that we don't need such a functionnality ... he should loose his job on the spot. His name is Jim Perry. Read thisthen weep ... look for a "Really"
Mike happy not to work for a jackass like Jim Perry
I bought the netduino and the windows phone 7 to try to do as the iPhone and the Parrot quadcopter were doing but all with Microsoft technology ... discovering that Microsoft is not as helpful as it used to be 20 years ago ...
I agree with you that it is very closed system now ... and I question my buying of a windows phone 7 ... pity, since I was a Microsoft fan for so many years ... discovering that they lack documentation with samples ... many years ago, that was their strength, they had sample code for everything ... so you could learn using the documentation. Now this is not true ... pity !
And I do a lot of things in XML ... where is it on the MF platform ? Is it absent from the phone too ?
I'll have to buy a Ethernet shield for my normal netduino and get a netduino plus to have fun
Damn, I wanted to have an API for Wifi or Bluetooth on the phone ... pity
I just saw this cool project: an adroid phone talking to a netduino through bluetooth.
It made me wonder : is this feasable on the windows phone 7 and the netduino ?
I have both so I could try ... but I read that windows phone 7 has no bluetooth API support ... can someone confirm this ? Any other means of communication (other than IP) with Windows phone 7 ?
You can also hook into the MFDeployEngine (the same thing that MFDeploy does) and tap into the Netduino's Debug.Print USB output stream.
Chris, I want to know how to do that ...
I want to start playing with Accel/Magneto/Gyro sensors and display on screen the resulting position/velocity ... (saw it many times but still wonder how to do it) ... graphically at that too ... any suggestions ?
As anyone thought of using the Forward Star data structure and algorithm (to find the shortest path) for autonomous robots ?
I have implemented a VB version many years ago (1995) and I could rewrite it for C# to use in autonomous robots ... Everything in .Net MF ... any interest in such an algorithm ? very very efficient data structure (minimalistic, one node per node and one link per link, no wasted structure) and it is a very very fast algorithm.
Example of usage : in a defined environment resembling a network of connecting nodes, allow a robot to find the fastest way to get there (emergency, security (using cameras on a quadcopter), etc). You can recalculate new paths when encountering closed paths ... could probably be used to repath power just like in Terminator movie lol
Mike discovering quadcopters and netduino !
p.s.: I'll also work on a Kalman Filter using a complete set of sensor data as well as user commands. Everything in .Net MF
There will be 6 versions
- one main class with no file access
- one with one type of file access (suggestions on csv or else?)
- one with xml files (defining my own schema for it ... suggestions ? I'll post it here when defined OK ?)
In two programming languages VB.net and C#
The VB.net version with XML access is for my needs and will take priority. Any takers for that version ?
Who wants to have a C# version ? With file acces or not ? If so, which one, XML (might not be appropriate for .net mf) ?
Mike.
- The code was transfered to VB.Net like a charm - Now trying to translate to C# (Full .Net first, then .Net MF ... but with the N+ since there is file access)
Question : how do we write/read files in C# ?
Here is the code using the Microsoft.VisualBasic assembly that I want to remove the dependency ... to write the Nodes and Links to files and loading them from files
- make sure you develop the code in a .NETMF (Netduino) project and not a regular .NET project.
Don't worry, I also program for the windows phone 7 in silverlight (vb and c#) and I always get confused LOL
I tested my old vb program and it works like a charm ... 1995 code ! wow !
I tried to convert using Artinsoft Visual Basic Upgrade Companion (free for msdn member) but only the c# translation worked ... so I'm ok for the netduino I have to test the class a bit before posting the code
Keep you posted ... now is time to get out and play pool !
I just started to learn .Net (I know so many languages ... and yeah, I know, late learning) so give me time.
My project is to build a complete quadcopter from scratch and include in it the Kalman filter (KF). Once done, I'll work on it being autonomous ... and add the Forward Star (FS) data structure and the label setting shortest path algorithm.
If someone already has an autonomous quadcopter (or anything autonomous that would need such a fonctionnality) and would like to add the FS data structure, please contact me and I'll rewrite it sooner. If only newbies like me, then I'll take the time to learn first
If I wait long enough, we probably could have it in VB.Net on .Net MF lol (I'm a VB fanatic, so easy to program) but I'll try it in C# ...
The only word of warning would be that the read buffer in the above code could overflow on a platform with limited memory such as the Netduino. The code really needs to check the file size before allocating the buffer and then chunk the data if necessary.
Thanks ! I'll check that in april ... work load too heavy but wow ! Thanks !
And I am right in assuming that the FLASH memory access is automatic ? or do we need to do some special access to read/write to it ?
Mike away from the computer for the next few days ...
Haven't used it myself, so I have no idea if it will suit your needs but there's the free version of the Serna XML editor at http://www.syntext.c...cts/serna-free/
My Prefered tool for XML / XSD (Schema definition) is XML Spy but it is not given ... I'll buy (when budget permits) the professionnal version ... I used to do a lot of XSD and XML with it, very efficient.
Thinking of modifying the saving to file functionality to write xml file instead of an old coma seperated values (didn't find a way to read it and store it in variables yet ...).
I prefer XML files ... anyone argue ?
Anyone know of a XML Spy equivalent on the open source community ?
Wanted to give you a peak at an XML Schema for the Forward Star Network file representation but I can't upload an XSD file ... why ? (Tried XPS too to no avail ...)
In the XSD file I separated the graphical info from the rest since if it only run in code, no graphical information is attached (only used when designing the directed network through a specialised editor).
I ask for comments from those interested.
How do I show this type of file here ? XSD, or XPS
Here is a look at what a file would look like ...
Imagine this setup :
- a FPV quadcopter equiped with long range radio transmitter/receiver
- a ground station with follow the drone equipment (up to 15km)
- receiving video signal and telemetry
- recording both
- sending video signal and telemetry to windows phone
- receive control information from phone
- Transmit control information to drone
- a windows phone to view the FPV video from the drone and control it !
You might need a couple microprocessor in the drone and a bigger system in the base station (multimedia based)
First, get the quadcopter built ...
Your code makes me think about some code I wrote some 25 years ago ... using punch cards ... tedious work I had written : Computing is easy ! Which was not then LOL
I am having difficulty connecting the LCD through a 74HC595 ...
Problem solved ... usb froze and the potentiometer I was using was too strong ... lol cool !