Opened 7 years ago

Last modified 5 years ago

#908 new defect/bug

Allow "Demo" vehicle to be available at the same time as another vehicle.

Reported by: la7qz om Owned by: KaZeR
Priority: major Milestone: version 0.6.0
Component: core Version: git master
Severity: Keywords: routing, demo, testing
Cc:

Description

Hi guys.

I would like to be able to have the "Demo" vehicle available at the same time as the gps vehicle and switch between them. The reason for this is that it can be useful to get a demo of a route in an unfamiliar area before driving it. So, create the route, switch the vehicle to "Demo" to review it and then switch back to "My car" to drive the route.

This "almost" works. I enable both my car and "Demo" in navit.xml, but make "Demo" inactive. "My Car" is default, and within Navit I can choose between the two. It works perfect except that whether I am in demo mode or driving with GPS, I get a "ghost" vehicle following me around.

Also, the speed of the demo needs either be set to a much higher value by default (maybe speed=160 or double the speed limit) in the definition of the vehicle or be adjustable at run time. If the route takes half an hour to drive, nobody wants to watch the screen for half an hour to see the demo. With the default settings, the demo moves at a sedentary 25mph so the demo takes longer than driving the route.

I understand the demo was probably originally created for testing, but other software (Copilot) has this as an option to review the route before driving it and Navit is already very close. All we have to do is bust that ghost!

Owen.

Change History (5)

comment:1 Changed 7 years ago by korrosa

Looks like this report is the same as #399 - can you check, and if so close this ticket as a duplicate (I know it doesn't mention the demo vehicle explicitly, but the symptoms seem to be the same)?

We perhaps need to retitle #399 also.

comment:2 Changed 7 years ago by martin bruns

Hi,

I also saw this behaivour it is not the same as with #399.

When I configure two vehicles on a android phone I get a second cursor. Which is actually the moving one.

So I had twice a green triangle on the screen. The additional one is a bit ahead the correct one.

    <vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="android:" follow="1">
      <log enabled="yes" type="gpx" attr_types="position_time_iso8601,position_direction,position_speed,profilename,position_radius" data="/sdcard/navit/tracks/track_%Y%m%d-%%i.gpx" flush_size="1000" flush_time="30"/>
    </vehicle>
    <vehicle name="Demo" profilename="car" enabled="yes" active="0" source="demo://" follow="1">
    </vehicle>

So this ticket has a Bug the additional cursor which should be actualy not seen as it is not active.

And there is the idea of have a different demo mode. What about having the possibility to change the speed via the GUI or to jump to the next change of direction step by step?

M

Last edited 5 years ago by usul (previous) (diff)

comment:3 Changed 7 years ago by korrosa

  • Type changed from enhancement/feature request to defect/bug

This ticket should be split into two: one for the bug report, and one for the feature request. I fear that the feature request is too buried in the wall of text that it will be forgotten. It also means we can categorise the tickets better.

For info: some related (but not the same) tickets to this ticket include:

Bug: #399; Feature request: #108 #656

I'll monitor this ticket for the next few days, and will split it myself if the OP hasn't done so within a week.

comment:4 Changed 7 years ago by martin bruns

I think a split is no longer needed as the idea of having to jump to the next turn is available now via the route list.

Also in my Eyes it is possible to have both on but still the wrong cursor is there.

Will open a separate Bug for that. M

comment:5 Changed 5 years ago by usul

  • Keywords routing demo testing added
  • Milestone changed from To be discussed - Give your opinion! to version 0.6.0

As discussed at the forums, I schedule this request for next major only: https://forum.navit-project.org/viewtopic.php?p=640#p640

Note: See TracTickets for help on using tickets.