Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SensiNact/Bridge-android-imu"

(Created page with "== Description == This bridge allows sensinact to receive Inertial Measurements from a Android device. == Sensinact version == This bridge is available in Sensinact version...")
 
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[Category:sensiNact]]
 +
 
== Description ==
 
== Description ==
  
Line 5: Line 7:
 
== Sensinact version ==
 
== Sensinact version ==
  
This bridge is available in Sensinact versions superior to <code>20160805.2-dev</code>
+
This bridge is available since the git hash <code>6aa9ed74441c37b914b89099156e3e921e98749f</code> in the SensiNact Eclipse repository
  
 
== Requirements ==
 
== Requirements ==
  
 
* android-imu bridge activated (via <code>sensinact -c</code>)
 
* android-imu bridge activated (via <code>sensinact -c</code>)
* Android device running Chrome browser
+
* location is only provided when the sensinact is running on HTTPS
  
 
== How to use it ==
 
== How to use it ==
  
Point the Chrome (from your device) to the URL ''http://sensinact.address.com/imu/''. From that point on you can check the position of your device checking the service called '''android''' that is available in Sensinact
+
Point the Chrome (from your device) to the URL ''http://sensinact.address.com/android/index.html''. You will have to inform an alias for your user and then hit the "connect" button. Once this is done, your alias will become a provider into sensinact, providing you location (if available and the user authorized) and a state, this state can be changed using the interface available in the browser. The purpose of the state is to give a state that can be controlled by the user in order to better control the execution of a certain use-cases.
  
== Limitations ==
+
== Troubleshooting ==
  
* Multiple android devices are not supported. Meaning that if multiple devices point the to IMU URL, the last one to publish the information wins.
+
* If you wanna see the information sent by all providers attached to the platform, point your browser to the address ''http://sensinact.address.com/android/debug.html''

Latest revision as of 11:15, 23 February 2024


Description

This bridge allows sensinact to receive Inertial Measurements from a Android device.

Sensinact version

This bridge is available since the git hash 6aa9ed74441c37b914b89099156e3e921e98749f in the SensiNact Eclipse repository

Requirements

  • android-imu bridge activated (via sensinact -c)
  • location is only provided when the sensinact is running on HTTPS

How to use it

Point the Chrome (from your device) to the URL http://sensinact.address.com/android/index.html. You will have to inform an alias for your user and then hit the "connect" button. Once this is done, your alias will become a provider into sensinact, providing you location (if available and the user authorized) and a state, this state can be changed using the interface available in the browser. The purpose of the state is to give a state that can be controlled by the user in order to better control the execution of a certain use-cases.

Troubleshooting

Back to the top