Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18153

Re: Ping Sensor - pinMode too slow? (both Arduino and MRAA)

$
0
0

Thanks DiegoV_Intel  I may do a combination of both approaches.  The question I have, is how to post code changes.

 

One approach would be to make a zip file that has all of the changed files.  That is what I would do on many forums, but don't see any way to attach files other than pictures.  Could put the zip file up on some remote server like dropbox or the like, but I don't trust too many of these...

 

With changes to mraa, I put them up on github.  I would(have) cloned the project, create a new branch, upload the changes and when happy, would do a pull request back to the main project... (which I have done before)

 

So with Arduino IDE stuff, could create github project with all or part of the IDE.  Example maybe just the .../hardware/arduino branch

Probably only the Edison branch to start with as I have not made changes to X86 yet....

This is probably the easiest way for people to track the changes... Does this sound OK with you?

 

Reach41 - Yes I will continue post the different things I do up here, as hopefully others can make use of any improvements and/or avoid some of the many pitfalls I run into.

 

Actually I bounce back and forth using different ways to do stuff.   Why? As a retired software engineer who still enjoys tinkering, but who has no specific project that I have to get done, I  enjoy doing stuff that hopefully others can make use of.  

 

(Dribble removed) - I was going to mention, that I have been experimenting with robots, mostly Hexapods/Quads for several years now, and have tried out quite a few different boards....

 

Why Arduino IDE - Because probably any changes made here will hopefully positively impact the most people.  That is the instructions for starting up to use this board, goes through the steps of using the IDE...    Also it helps me to understand some of the capabilities and see if it those capabilities are available in MRAA and if not, try to add it...  I am also thinking that when Trossen Robotics releases their Edison board and if I can make the IDE work well with their board, some of the others I have done stuff with can easily choose to use that board.   Several of them have just recently transitioned from the Lynxmotion/Basic Micro Boards that use basic, to Arduino 328 boards.  A few of them are also now experimenting using some carrier boards for the Teensy 3.1. 

 

But I also spend a lot of my time Native to the Edison.  that is I use PuTTY and WinSCP to talk to the Edison and use external editors like Programmers Notepad or Geany to edit the files and use makefiles to build...  I have my main linux project up on github (Raspberry_Pi), that I have setup to be able to build code for seveal of my robots (Hexapods, Arm, Rover) on several different linux boards.  Actually I keep meaning to take a pass through this project and clean it up and  maybe convert to using cmake, which hopefully can hide some of the issues like finding the gcc compiler...

 

As I mentioned earlier in this thread, MRAA also has performance issues associated with being able to switch between input and output fast enough for these sensors.  I will probably take a little time now and see if  I can make similar changes to it.  Also now that I have a working mini breakout board will try it out here too.  Probably better chance to make it work here as fewer things have to change...

 

I have not done very much yet with Eclipse, when I earlier tried to use it for different platforms it often was not obvious how to configure it to work with the different boards... I will probably get back to it soon as it looks like a pretty good IDE...

 

Again sorry for the dibble that made it through here


Viewing all articles
Browse latest Browse all 18153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>