Home Forums Articles How To's FAQ Register
Go Back   Xoutpost.com > Electronics > Navigation System
Arnott
User Name
Password
Member List Premier Membership Today's Posts New Posts

Xoutpost server transfer and maintenance is occurring....
Xoutpost is currently undergoing a planned server migration.... stay tuned for new developments.... sincerely, the management


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-21-2006, 10:03 AM
Member
 
Join Date: Feb 2006
Location: Austin
Posts: 289
ambishop is on a distinguished road
Enabling Features in the V26 code

Hi,

To keep everyone updated Nomad has spent some considerable effort exporting modules from the Nav firmware and comparing them to v26.09. He has found the module that adds the menu item for perspective mode, and thinks he can add it in failry easily.

This is the same guy who figured out the proper checksum fo us to make logo changes, so make sure and give him a big thanks for all of his efforts.

Below is where he stands on adding modes to v26 firmware.

---

In the v26.09A There are 3 map modes:
1. 2D pointing north
2. 2D travel direction
3. 3D

System creates a menu then add clicable items in it:
CreateMenu(...);

AddMenuItem(0, "Pointing Norh", ...);
SetOnClickProc(0, point_north_click_proc, ...);

AddMenuItem(1, "Travel Direction", ...); SetOnClickProc(1, travel_dir_click_proc, ...);

AddMenuItem(2, "Perspective", ...);
SetOnClickProc(2, perspective_click_proc, ...);

ShowMenu(...);

When you select item, the apropiate clic procedure is called.
Click procedure for Point North looks like this:

turn_ON_point_north_mode(...);
turn_OFF_travel_dir_mode(...);
turn_OFF_perspective_mode(...);
RedrawMap(...);

Click procedure for 'Travel Direction' and 'Perspective' modes looks similar.

Each click procedure enable mode you selected, then disable two othre modes.
So 3D mode works in v26.09 and works after downgrade to v26. Unless you select 'Travel Direction' or 'Pointing North'.

The bad news:

v26 software adds only TWO items to map direction menu: 'pointing north' and 'travel direction'.
And there is no click procedure to switch to 3D mode.
Solution is to insert some code to add 3rd menu item and click procedure for it.

---

We are currently looking at options such as adding in the menu item or nuking the Travel North menu item in excahnge for Perspective mode

Regards,
Martin
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 11:18 AM.
vBulletin, Copyright 2026, Jelsoft Enterprises Ltd. SEO by vBSEO 3.6.0
Đ 2017 Xoutpost.com. All rights reserved. Xoutpost.com is a private enthusiast site not associated with BMW AG.
The BMW name, marks, M stripe logo, and Roundel logo as well as X3, X5 and X6 designations used in the pages of this Web Site are the property of BMW AG.
This web site is not sponsored or affiliated in any way with BMW AG or any of its subsidiaries.