flyxc icon indicating copy to clipboard operation
flyxc copied to clipboard

Steps to run locally

Open kamivisionvaibhav opened this issue 1 year ago • 8 comments

Team, thanks for making this possible, any idea how to setup locally. I can understand that it will need a lot of env variables, which is not sharable but possible to provide the step to run locally?

Main reason of asking the step is to check if I can add a option of wallProjection in the 3d tracking.

Screenshot 2024-03-17 at 12 36 34 AM

kamivisionvaibhav avatar Mar 16 '24 19:03 kamivisionvaibhav

Check https://github.com/vicb/flyxc/blob/04a2547c92e5dace3857ec95e6510ebdc92bb9c2/CONTRIBUTING.md from a pending PR. I experimented with the 3D wall but decided not to use it. I'll check if I still have my branch and add a screenshot here

vicb avatar Mar 16 '24 19:03 vicb

The rebase is not trivial, I'll look at it later.

If you want to give it a try, I've just pushed the curtain branch.

What you will need to do:

  • copy + rename the key files (See the doc I linked earlier),
  • remove ,airspaces from package.json in "dev": "nx run-many --target=serve --projects=fxc-front,fxc-server,airspaces --configuration=development"
  • setup a DB where the uploaded tracks are stored (Again should be described in the doc)

Ask me if you have any question

vicb avatar Mar 16 '24 19:03 vicb

Hey @vicb need your feedback you think adding a feature for visualizing the the route like this can be helpful, ignore the widget but check this reference I created over weekend

-What happening here, I am calculating the path length and then I am iterating with requestAnimationFrame to make this work

https://map-visualizer.netlify.app/

kamivisionvaibhav avatar Mar 18 '24 12:03 kamivisionvaibhav

Thank you for proving the setup, I will soon look at it, I haven't got the time to do the setup locally.

kamivisionvaibhav avatar Mar 18 '24 12:03 kamivisionvaibhav

I had implemented that on an older branch (curtain that I pushed and you can check).

I asked feedback to a few pilots and they told me it's not really helpful. Also it was quite slow when multiple tracks were displayed.

But that's something that can be added if there is a way toggle it on/off

vicb avatar Mar 18 '24 12:03 vicb

Thanks for letting me know, I can see how multiple logs can be problematic and why aviry was displaying only single log

kamivisionvaibhav avatar Mar 18 '24 12:03 kamivisionvaibhav

Hey @vicb were you able to achieve the smoothness between coordinates in PathSymbol3DLayer

Screenshot 2024-03-21 at 11 55 05 AM

I went through the commit but didn't found anything which would have fixed this issue.

I will be following up from my personal GitHub ID, the above id was my last working company GitHub account.

RaiVaibhav avatar Mar 21 '24 06:03 RaiVaibhav

You can not be smoother than the track. On the screenshot above the track has not many points so it explains why the wall/curtain is not smooth.

I based my work on https://ralucanicola.github.io/outdoor-map/paragliding/ - check this one, it's smooth!

vicb avatar Mar 21 '24 06:03 vicb