All Questions
20,758,383
questions
0
votes
0answers
3 views
Error in the implementation of the kalman filter
I'm trying to obtain an optimal orientation from the angular velocity with a linear Kalman Filter.
The follow script written in Matlab implements the Linear Kalman filter.
The result of my state ...
0
votes
0answers
4 views
Reshape a array to object with jq
I am learning advance concepts of jq. And I made a tiny json with array with some films of Charles Chaplin...well this array in json:
[
{
"title": "The Great Dictator",
...
0
votes
0answers
3 views
VS Code can't find container configuration file
When using "Clone repository in Container Volume" feature, VS Code can't find the configuration file and displays this error:
But the .devcontainer.json file is definitely there, at the ...
0
votes
0answers
3 views
Function to swap array elements by reference
I'm trying passing an array to change its elements by reference.
Example:
Input element 1 = 4 / element 2 = 5 / element 3 = 6
Output element 1 = 6 / element 2 = 4 /element 3 = 5
Inside the swap ...
0
votes
0answers
3 views
MongoDB BSON/JSON query to SQL query coversion
I have searched almost everywhere but couldn't find a Mongo query to SQL query mapper, while there are countless solutions for querying mysql using SQL.
If someone can give a headsup, it will be very ...
0
votes
0answers
6 views
Tail call assembly
I've written the following factorial function which can use tail call recursion. I've added in putchar('x') just so I can see it is running:
#include <stdio.h>
int factorial(int n) {
if (n &...
0
votes
0answers
3 views
Why is the API data not transferring to my other module? React
For this project, I am attempting to transfer the data I have received from the API (a list of albums) and send them to another module in order to display the results based on whichever user has been ...
0
votes
0answers
3 views
how to change elements of a data frame based on another dataframe?
I have a big data df. and I have another csv file dg. The dg data frame has been made from df by the following code:
dg=df.groupBy('title).count().orderBy('count')
I attached a new column to dg it is ...
0
votes
0answers
5 views
How to update glibc in docker image
I am currently using docker, and I require glibc 2.28 on it. However, node:latest only gives me 2.24 on my ARM device. I have tried running update/upgrade, but it has not helped. What is the best way ...
0
votes
0answers
4 views
not working Passing instance of class by reference in qt c++ lambda Signal&Slots
This code in Profile3.cpp i just want to pass the instance kitchenData of Kitchen_Data class reference not by value but it prints that
error: undefined reference to
`Profile3::Kitchen_DoubleClicked(...
0
votes
0answers
9 views
Exercise 21 of freeCodeCamp
I'm practicing some of ES6 exercises of freeC and from exercise n21, I have a strange response that I can't see what is the problem.
When I compare my solution with the given solution from the ...
0
votes
0answers
5 views
How to calculate the max data bits (k) if parity bits (r) are known
For example I have 4 parity bits and unknown number of data bits, how can I find the number of data bits k.
I have tried formula I found on the internet, but I doubt it's correct.
If 2^r-r-1 > 2^4-...
0
votes
0answers
3 views
R DT::datatable converted to png when knitting to wordpress with knit2wp()
As title says, I can render a datatable to html, but when calling knit2wp() sending to my self-hosted install I get a png image of my datatable in the post. How do I fix this to get interactive ...
0
votes
1answer
11 views
Java nextInt() only interpreting one value instead of multiple
I'm working on a simple project in Java currently.
Inside a loop, I have a few lines of codes as follows:
while(condition)
{
try
{
entered = kbi.nextInt();
[ ... code printing ...
0
votes
0answers
4 views
Pug Image Link Won't Render
I am trying to render an image in pug that is hosted elsewhere on the web, not as a static asset in my project. I can navigate to it fine and pull it up in my browser, but when I load my webpage it ...