Do you have that information?

|
martin_angelo 2022-07-17 18:32:19
2022-07-17 11:41:31
Hey Guys!!

Coding Ninjas has joined forces with the national-level council for technical education – AICTE (All India Council of Technical Education)

Join the showdown at ‘India Coding Championship’ (IICC).
The largest and one of its kind pan India programming championship for all engineering students across the country.

Join the event for:

✅ Most competitive prize pool
worth Rs 11 Lacs 🤑💰

✅ Placement & Internship
Opportunity at Top Tech Company ✈️🏢

✅ Exclusive certification
by AICTE 🏆🏅

✅ CN Scholarship
for all participants 💯😮

Registration CLOSES SOON
Join now

Register here:
https://bit.ly/3c4NYnT

Must share with your batchmates ✅

All the Best 👍

So….when exactly does registration close?

TKlex 2022-07-20 04:34:13
Hi, I developed a javax application and I would like to deploy it on two different PCs using the same database. Pls how can i go about it?
R_r_F_BR 2022-07-20 14:42:02
What kind of persistent API are your app using: JDBC, JPA, pure Hibernate???

Whatever it is, at the connection string you should use machine IP where database is running.

TKlex 2022-07-20 14:43:42
R_r_F_BR 2022-07-20 14:42:02
What kind of persistent API are your app using: JDBC, JPA, pure Hibernate???

Whatever it is, at the connection string you should use machine IP where database is running.

I’m using Hibernate

TKlex 2022-07-20 14:44:18
R_r_F_BR 2022-07-20 14:42:02
What kind of persistent API are your app using: JDBC, JPA, pure Hibernate???

Whatever it is, at the connection string you should use machine IP where database is running.

Means the data source url ?

TKlex 2022-07-20 14:56:47
I suppose the 2 Pcs have to be in the same network e.g using a same router
R_r_F_BR 2022-07-20 16:10:03
that’s right.
phfbonini 2022-07-20 17:17:48
Hey guys, I’m a junior developer, I’m in a project for an agricultural GPS application. A problem I was having in the project is that when the tractor is inclined, the antenna gave the signal at a different point due to the inclination as shown in the image below:
phfbonini 2022-07-20 17:18:06
javaofficial-25423.jpg

phfbonini 2022-07-20 17:18:17
javaofficial-25424.jpg

phfbonini 2022-07-20 17:19:56
detail: this is an angle on the X axis, it also has the inclination of the Y axis, these differences change the end point of latitude and longitude that the GPS shows. (it is passing in one place but the app shows shifted according to the slopes)
phfbonini 2022-07-20 17:21:21
Does anyone have a code snippet that converts to the correct points? It would have as variables the initial latitude longitude point, x,y angle and antenna height
R_r_F_BR 2022-07-20 17:23:21
You can use a gyroscope and calculate the correct position from the angle variation (tilt).
(just a guess!!!)
phfbonini 2022-07-20 17:24:22
I already have the gyroscope data, the problem and the very extensive correction formula
phfbonini 2022-07-20 17:25:13
that is, I already have the x, y and height of the antenna
R_r_F_BR 2022-07-20 17:26:21
I’ve never had to use/program something like that, but you can see some ideas here.

calculate the correct position from angle variation at DuckDuckGoDuckduckgo
DuckDuckGo. Privacy, Simplified.
martin_angelo 2022-07-20 21:22:09
phfbonini 2022-07-20 17:21:21
Does anyone have a code snippet that converts to the correct points? It would have as variables the initial latitude longitude point, x,y angle and antenna height

I can calculate the position, but I also need to know in which direction the tractor is tilted. Do you have that information?

martin_angelo 2022-07-20 21:22:53
Do I assume correctly, that latitude = x and longitude = y? If not, what are x and y?
martin_angelo 2022-07-21 00:18:02
martin_angelo 2022-07-20 21:22:09
I can calculate the position, but I also need to know in which direction the tractor is tilted. Do you have that information?

or is the tilt-angle always orthogonal to the direction of the velocity? In that case I’d need that direction.

martin_angelo 2022-07-22 02:27:17
javaofficial-25448.jpg
@phfbonini here is the solution, let me know if you have any questions. The values you’re searching are x_T and y_T:
|