microsoft / AirSim-Drone-Racing-Lab

A framework for drone racing research, built on Microsoft AirSim.
MIT License
185 stars 42 forks source link

moveOnSpline and moveOnSplineAsync with custom environments #1

Open archit120 opened 3 years ago

archit120 commented 3 years ago

Hi,

Please let me know if this isn't the appropriate place for this issue. I'm trying to use moveOnSpline with custom environments but I think that API is only available in binaries available in this repository. Is that correct and if so, how can I get that API functionality to custom environments?

MajdWardeh commented 3 years ago

Hello,

I know that AirSim has a ROS wrapper, so is there a way to work on ADRL with ROS?

Thank you

digiwang commented 2 years ago

@archit120 I have been trying to figure out the same thing. As far as I can tell, the moveOnSplineAsync() function is like you said, only available within the ADRL binaries. So, you do not have access to that function from within a custom environment, even if you add all the proper imports.

You may have already discovered this, but it looks like there is a trajectory planner available here within the baselines/gtp.py.