ubcst / telemetry Goto Github PK
View Code? Open in Web Editor NEWRepository of Team's telemetry system.
Repository of Team's telemetry system.
Try not to use "using namespace xxxx"
Might save time now, but incorrect library calls due to the implicit nature might pop out this way.
x years down the line some poor software guy will tear his own hair out trying to find where things might have been implicit and causing a bug.
Found in: main.cpp
Investigate PC - Xbee1 - Xbee2 - Arduino baud rate.
9600 -> 115200
Some material that may help:
http://www.digi.com/support/forum/4787/using-the-xbee-at-115-200-baud-updated-16-march-2010
http://forum.arduino.cc/index.php?topic=13383.0
@treyu @jello-CE-24
Use the XBee-Linux program instead.
The XBee-Linux program communicates with the XBees perfectly as of Sept. 25, 2015. This program should be used as a base to build on over the Win32 program for now.
The XBee Comms Program for Windows is not working correctly at the moment. A lot of it comes from issues with working with Win32 functions and data types, which is not an issue with Linux.
sendData()
function writes to the serial port properly but the XBee is only sending the data intermittently.CSerial.Write()
function used in sendData()
requires a LPCSTR
(long char pointer to string) but the sendData()
function uses strings for arguments. Conversion from a pointer to a string is possible using std::string.c_str()
but the implementation hasn't been tested yet.receiveData()
function reads the serial port but has no way of detecting when there is data on the port or not. As of now, the program blocks everything while waiting for a message to come in, which is highly inefficient. The receiveData()
function should use Win32 events to trigger data reads on the port.receiveData()
function also fills up the data buffer faster than it can output the data. This is currently resulting in lost data.All of these issues can be fixed after the XBees are approved for use, as the Linux program can be used to send data to the XBees for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.