Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does Vizanti have a mobile APK? #78

Closed
EricDaJiang opened this issue May 3, 2024 · 6 comments
Closed

Does Vizanti have a mobile APK? #78

EricDaJiang opened this issue May 3, 2024 · 6 comments

Comments

@EricDaJiang
Copy link

Does Vizanti have a mobile APK? I saw "The application attempts to replicate RViz's orthographic 2D view as closely as possible with a smartphone friendly interface." mentioned in the text. If so, how do I download, install, and connect?

@MoffKalast
Copy link
Owner

Here's an old video of how setup looks on mobile. It doesn't have an APK, but there is a PWA you can make from the mobile browser so it starts as an app in full screen mode. If you follow the readme install setup, it's exactly the same for all client platforms.

It would be great if it were possible to get all the functionality we have from just a frontend. As it is though, it's a two part system and requires a few nodes to run on the ROS side, so the client is also hosted from one of those as a web app. Theoretically one could use Ionic or something to wrap the web part into a PWA deployed as an APK, but it would still need the backend to work and a way to select the correct IP to connect to, which is currently automatic.

@EricDaJiang
Copy link
Author

That is to say, as long as my phone is connected to the same WiFi as the USV, I can open it on my phone http://localhost:5000 , and then set a path point for the USV? Thank you for sharing such an interesting open-source project. I am currently purchasing relevant equipment based on the circuit diagram you provided, and hope to achieve my first USV soon.
Thank you!

@MoffKalast
Copy link
Owner

Not exactly, it has to be the USV's IP in that case (localhost works if you're running the ROS part on the same PC as the web client). It really depends on the wifi network. If the USV is hosting a hotspot then something like http://10.24.0.1:5000 or http://192.168.1.1:5000 would be typical, if they're both connected to another network, then you'd have to look up the USV's IP in the router's DHCP UI or set a static one. In any case you'll certainly have to have a way to SSH to it, so using the same IP as for that would work fine.

Np, glad to help 😃

@EricDaJiang
Copy link
Author

One more question, is there only one neo m8n and one antenna installed on the usv? I was about to purchase the neo m8n when I discovered that a neo m8n can only connect to one antenna. There is only one neo m8n on the drawing you provided, and it seems that it usually takes two antennas to calculate the heading Angle?

@MoffKalast
Copy link
Owner

MoffKalast commented May 3, 2024

Yeah the ones I've used so far are all of this type which has one u.fl adapter and one antenna. Getting heading from two would be better though, so definitely go for it if you found one that can do that.

You can sort of get the heading if the receiver is moving fast enough and use a gyro for quick movements (which is my current implementation for navsat_simple anyway), but it's not ultra reliable.

@EricDaJiang
Copy link
Author

Thanks for the info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants