Comments (8)
@6ewis you have a few options here:
- You can activate a few drivers that will accept rides in the staging env, and complete rides through the env:
- create fake drivers through the fleet section > drivers tab
- set them with the "Uride vendor" (which is an auto accept vendor)
- create a few fake vehicles through the fleet section > vehicles tab
- in the main dashboard, switch to the vehicles tab > click on a vehicle > switch to the "driver" tab > click on "assign driver" and select one of the drivers
- after you create a ride, it should go to one of the drivers automatically. if it doesn't (drivers are located to far for example) you can force the ride to one of the drivers.
- after a ride is assigned to a driver you can manually complete or cancel the ride through the dashboard.
- Through API
- create rides through the clients API so it will mimic locomotion/ through locomotion
- ride and driver states will be handled through the Autofleet APIs - instructions are detailed in the docs
from locomotion.
Unfortunately there is no way to simulate a driver's real time location in the staging env. In your testing env (production) we can activate fake drivers that will move around and simulate drivers completing rides.
When completing rides through the Control Center, you can only complete and not mark arrived.
from locomotion.
Hey,
- Updating driver/ride states is through the fleet manager api ( https://api.autofleet.io/ ) and not ( https://client.staging.eu.autofleet.io/ ). it's out of scope for clients / locomotion to change that
- Changing a ride to completed is through arriving/completing stop points , not directly changing the ride state.
from locomotion.
About your point #2, Can you clarify how would you do that? What endpoint would you use to generate fake rides, and drivers status to test ? @OmerGery
from locomotion.
I was able to update the status of the driver through updating Stop points, thanks for clarifying
One more question regarding ride tracking: Is there a way to simulate the driver's location so I can see the driver moving to the pickup and drop-off points? and through which API can I get the driver's location - in real time?
Thanks @michalbanin
from locomotion.
@michalbanin @OmerGery Can you please take a look? Also, can I update the status of stop points to "arrived"? Currently I can only update -> "completed" through admin panel
from locomotion.
@michalbanin basically we have to go back to use the production environment to test
from locomotion.
Only if you want to simulate real time location
Another option is to connect as drivers to the staging env and complete trips through the driver app (and move around with the app).
How to do this:
- Register yourself as a driver in the staging env (fleet section > drivers tab)
- Download the uride driver app
- Access this link, it will open the driver app
- Log in using the phone number you registered
- Create trips and complete them through the driver app
from locomotion.
Related Issues (14)
- Billing Integration HOT 6
- Undefined symbol: _OBJC_CLASS_$_FIRApp HOT 4
- Can't create ride offer HOT 6
- Unable to generate Price and ETAs HOT 3
- The "Vehicle Availability" API always returns an empty list HOT 3
- Make a ride request for testing HOT 2
- Staging env Login Issue HOT 2
- "Captcha failed" error with login API HOT 2
- Unable to verify user email. HOT 1
- Can't get user coupon HOT 1
- Payment intent issue - canβt create a Ride and add a payment method HOT 1
- Enable cash and offline payment methods HOT 3
- Cancellation Reason always empty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from locomotion.