Jon Trulson
d4b536b593
bno055: C port; C++ wraps C
...
The API has been changed in some cases - see the apichanges.md
document.
In addition, this driver uses a new upm_vectortypes.i SWIG interface
file to provide a mechanism for methods that return a vector of floats
and ints instead of a pointer to an array.
This works much nicer than C array pointers, and results in Python/JS/Java
code that looks much more "natural" to the language in use.
The Python, JS, and Java examples have been changed to use these
methods. Support for the "old" C-style pointer methods are still
provided for backward compatibility with existing code.
As an example - to retrieve the x, y, and z data for Euler Angles from
the bno055, the original python code would look something like:
...
x = sensorObj.new_floatp()
y = sensorObj.new_floatp()
z = sensorObj.new_floatp()
...
sensor.getEulerAngles(x, y, z)
...
print("Euler: Heading:", sensorObj.floatp_value(x), end=' ')
print(" Roll:", sensorObj.floatp_value(y), end=' ')
...
Now the equivalent code is simply:
floatData = sensor.getEulerAngles()
print("Euler: Heading:", floatData[0], ...
print(" Roll:", floatData[1], end=' ')
...
Additionally, interrupt handling for Java is now implemented
completely in the C++ header file now rather than the .cxx file, so no
special SWIG processing is required anymore. See Issue #518 .
Signed-off-by: Jon Trulson <jtrulson@ics.com>
2017-03-07 13:16:24 -07:00
..
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2015-03-16 14:39:53 -07:00
2016-08-31 13:25:09 -07:00
2017-02-09 15:11:59 -08:00
2017-02-09 15:11:59 -08:00
2016-08-31 13:25:09 -07:00
2015-01-23 17:58:29 -08:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:07:47 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2017-03-07 13:16:24 -07:00
2016-11-04 13:08:31 -07:00
2016-10-28 16:48:53 -06:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:12 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:15 -07:00
2016-09-14 14:07:52 -07:00
2016-08-31 13:25:09 -07:00
2017-01-18 13:33:44 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-11-28 17:45:23 -07:00
2016-09-14 14:09:13 -07:00
2016-09-14 14:09:16 -07:00
2016-09-14 14:09:17 -07:00
2016-09-14 14:08:58 -07:00
2017-01-30 12:06:32 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:17 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:23 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:23 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2015-11-23 15:47:55 -08:00
2016-09-14 14:09:23 -07:00
2016-09-14 14:09:23 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:08:58 -07:00
2016-11-04 12:52:33 -06:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:07:50 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2015-03-25 15:14:27 -07:00
2016-08-31 13:25:09 -07:00
2016-11-21 14:57:15 -08:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2014-11-25 20:42:13 +00:00
2017-01-24 14:02:03 -07:00
2016-11-04 13:08:31 -07:00
2016-09-14 14:09:01 -07:00
2016-09-14 14:09:26 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2017-01-10 11:29:30 -08:00
2016-08-31 13:25:09 -07:00
2016-12-02 16:44:43 -07:00
2016-12-20 12:17:14 -07:00
2016-12-20 12:17:14 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:27 -07:00
2016-09-14 14:09:27 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:07:46 -07:00
2016-10-27 15:13:20 -06:00
2016-11-04 13:08:31 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-11-14 17:26:42 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:07:49 -07:00
2016-09-14 14:07:48 -07:00
2017-01-31 13:08:20 -07:00
2016-09-14 14:08:57 -07:00
2016-04-18 16:27:11 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-11-04 13:08:31 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-11-04 13:08:31 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:22 -07:00
2017-03-02 23:05:51 -08:00
2016-09-16 16:52:49 -06:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:01 -07:00
2016-08-31 13:25:09 -07:00
2017-02-01 17:08:05 -07:00
2016-09-14 14:09:20 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-09-14 14:09:03 -07:00
2016-08-31 13:25:09 -07:00
2015-04-08 16:19:33 -07:00
2015-02-10 11:54:44 -08:00
2016-08-31 13:25:09 -07:00
2015-01-08 14:57:38 -08:00
2016-08-31 13:25:09 -07:00
2016-10-24 16:05:39 -06:00
2016-09-14 14:09:25 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-11-04 13:08:31 -07:00
2016-11-04 13:08:31 -07:00
2016-08-31 13:25:09 -07:00
2017-01-26 15:13:01 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00
2016-08-31 13:25:09 -07:00