Compass is a charityware authoring framework. It uses the SASS stylesheet language to create clean and reusable CSS3 code.
Questions tagged [compass]
720 questions
2
votes
1 answer
Get angle between phone's z axis and the magnetic north pole (instead of y axis)
I am aware how to get the orientation angle between the y-axis of the phone and the magnetic north using the getOrientation method (as described here https://developer.android.com/guide/topics/sensors/sensors_position).
However, I would need the…

Mike
- 125
- 1
- 12
2
votes
1 answer
How to detect if the device has sensor to use compass in Kotlin?
There are some devices that doesn't have built-in sensor to use compass
what i am trying to do here is to navigate or show message to the user if the phone doesn't support this feature
i am trying this:
sensorManager =…

Enigma
- 353
- 4
- 14
2
votes
2 answers
Mongodb compass Insert not permitted while document contains errors
I'm trying to insert some data in the compass
and the formwork shows to me as below:
/**
* Paste one or more documents here
*/
{
"_id": {
"$oid": "6065bca3dad082deb74c05bc"
}
}
I think maybe I should input in this way, but it…

PeterWu
- 49
- 1
- 6
2
votes
0 answers
onHeadingChange(event) getting single value for geometrically opposite positions
I am working on android device orientation and getting same values of event.alpha (270) in following positions as shared in image.
i am using following code:
// called on device orientation change
function onHeadingChange(event) {
var heading…

Sybghatallah Marwat
- 301
- 3
- 16
2
votes
1 answer
SCSS: node-sass replacement for old Compass image-width function
I am porting an legacy web project that used Compass for SCSS compilation to build with node-sass since Compass requires Ruby and seems to be about three years dead.
One of the SCSS files contains calls to the 'image-width' function supported by…

kevin cline
- 2,608
- 2
- 25
- 38
2
votes
2 answers
How to solve error on docker:layers_calculator to compute the Merkle tree on private tangle?
I want to setup a private tangle on my own virtual machine with Ubuntu 18.04, 4GB RAM and 20GB memory.
I have follow this instructions: https://docs.iota.org/docs/compass/0.1/how-to-guides/set-up-a-private-tangle. Every command works fine until…

ismsm
- 143
- 2
- 11
2
votes
0 answers
Find the north using Quaternions, Gyro and Compass
This question is about an algorithm, not a specific language.
I have a mobile device, with the following axis -
When the device is pointed perpendicular to the ground (Positive Z facing up), I get an accurate reading of the compass in degrees with…

Sen Sorokin
- 100
- 1
- 8
2
votes
0 answers
LoadError on line ["54"] of /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- susy
I'm trying to run the command for my project
grunt compass watch
in the end, I get this error
Running "compass:dev" (compass) task
LoadError on line ["54"] of /usr/local/lib/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb: cannot load such file…

Zuari
- 21
- 1
2
votes
2 answers
Undefined method `has?' for Sass::Util:Module (NoMethodError) - Error on Debian with Ruby, Sass, Compass
I searched for a solution to the following problem, but I couldn't find anything. So I hoped that you could help me. Thank you.
I have:
Debian Stretch (distro: Debian GNU/Linux 9.7, kernel: Linux 4.9.0-8-amd64 (x86_64));
Apache NetBeans 10…

PajuranCodes
- 303
- 3
- 12
- 43
2
votes
0 answers
Smoothing Noisy Compass (Android)
I am making an AR experience where I would like to use a phone's compass to direct a player toward true north, but I am having problems with smoothing the compass readings on Android devices. The code I have experimented with so far logs a certain…

Danielle McPhatter
- 21
- 2
2
votes
1 answer
For Sass How can I namespace a css file so as not to conflict with other css frameworks?
The Sass team seems to have removed this capability in Sass 3.4 but Im trying to namespace the Semantic UI CSS library so as not to conflict with other libraries and its not working.
.semantic-namespace {
@import…

Leon
- 5,701
- 3
- 38
- 38
2
votes
0 answers
Sass mixin keyframes and include vendor based properties
Trying to create a mixin for keyframes which will use an include for a vendor based property.
@mixin vendor($property, $value) {
-webkit-#{$property}: #{$value};
-moz-#{$property}: #{$value};
#{$property}: #{$value};
}
@mixin…

Xairoo
- 335
- 1
- 9
2
votes
2 answers
Get Unity compass true north heading
I'm currently trying to implement a location-based AR app for Android using Unity C# and ARCore. I have managed to implement an algorithm which gets latitude/longitude and translates it to unity meters. However, this is not enough to place objects…

Shend Ibrani
- 21
- 1
- 3
2
votes
0 answers
MongoDB Comapss throws error Server at 127.0.0.1:27017 reports wire version 0
I'm getting this error message when trying to connect to my local mongodb via MonogoDB Compass:
Server at 127.0.0.1:27017 reports wire version 0, but this version of
Node.js Driver requires at least 2 (MongoDB2.6).
I can easily connect to the db…

user2420324
- 31
- 1
- 2
2
votes
0 answers
How to @import Compass in .SASS file within Simple React App
I just started a React App using the Facebook tutorial here:
https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc
I wanted to get this code snippet working in my…

RebeccaK375
- 871
- 3
- 17
- 28