Comments (5)
Solution found; was able to build and test with the actual device, and works well.
Will send PR in a moment.
from sweep-sdk.
Quick followup: I submitted the request for FreeBSD Ports tree inclusion of libsweep; it will take few months (or years? XD) for it to be reflected.
from sweep-sdk.
Can you add a branch for FreeBSD to the build system here and try again.
In theory the SDK should work but no one tested it yet.
If you test it and it works feel free to make a pull request enabling compilation on FreeBSD.
from sweep-sdk.
Got the build part done.
However, I am getting serial errors: invalid scan response command
and invalid response header checksum
upon compiling and running examples/example.c
.
Controlling actual hardware with sweep-ctl
worked well and did not emit any error.
Will dig further and update you with fixes.
from sweep-sdk.
It looks like in the middle of the measurement stream, the checksum byte of a data block suddenly being read as \0(0x00), triggering checksum failure. I suspect this being BREAK condition, as in serial.cc
the IGNBRK flag has been turned off. But frankly, I don't know why this happens, as I haven't done serial programming before.
For now, I'll keep experimenting with termios
flags.
from sweep-sdk.
Related Issues (20)
- Sweeppy hangs after returning 1~3 scan results HOT 6
- libsweep does not handle unexpected unplug gracefully HOT 1
- RuntimeError: baud rate could not be determined HOT 4
- Time Stamps HOT 8
- Non-blocking reads HOT 2
- sweep red light, no data HOT 2
- macOS - Package ´openal´, required by ´sfml-audio´ not found HOT 3
- Mac: fatal error: ´zmq.hpp´ file not found HOT 2
- MacOS - cannot fetch event from a worker thread (OS X restriction) HOT 1
- Invalid response checksum when attempting to adjust sample rate HOT 5
- libsweep Windows build failing HOT 2
- Laggy values from Sweep with piCamera integration in Raspberry pi 3 b HOT 6
- Lock up when sweep_device_construct is called too soon after device connect
- I get the lidar data is intermittent
- Non real-time frames receiving
- sweep-ctl: Error: invalid motor info response commands
- sweep-ctl et al. freezes up on first run, but works fine on second run
- RUNTIMEERROR: READING FROM SERIAL DEVICE FAILED - Sweeppy
- Hiring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sweep-sdk.