Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ikke nok vurderinger
Waypoint controller
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Tags: v0.7.18
Filstørrelse:
Offentliggjort:
Opdateret:
77.170 KB
6. juli 2019 kl. 5:27
11. juli 2019 kl. 9:03
13 ændringsbemærkninger ( vis )

Abonner for at downloade
Waypoint controller

Beskrivelse
Description
A fairly simple waypoint controller. Connect to a screen, GPS and compass and it will display a map with the vehicle's position and direction. Outputs the current waypoint's X and Y coordinates and the amount of waypoints left, which could be used as an input for an autopilot system.
I made this with a 9x5 monitor in mind, but it also works with 5x3 and even 2x2 monitors (though 2x2 isn't that pretty). 1x1 just does not work. I'll make sure it keeps working for 2x2 though (:

Controls
Red button - Delete all waypoints
Orange button - Delete next waypoint
Blue button - Recentre the map on the ship
Plus button - Zoom in
Minus button - Zoom out

Features
  • Map can be zoomed in/out
  • Can store virtually infinite waypoints.
  • Add waypoints by clicking on the map
  • Remove waypoints by clicking on/near them
  • The next waypoint automatically gets removed if you come within a player-set distance (standard 50m)
  • Move the map around with dedicated buttons

I/O
  • Touchscreen (Composite, input)
  • Video (Video, output)
  • GPS X & GPS Y (Number, input)
  • Compass reading (Number, input)
  • TargetX & TargetY (Number, output) : X and Y coordinates of next waypoint
  • Waypoints (Number, output) : Number of waypoints
  • Variable WP Delete Distance (Number, input) : Distance at which the system automatically deletes the next waypoint, if properties are set properly
  • Keypad X&Y (Number, input) : X and Y coordinates from a keypad
  • Keypad Pulse (On/Off, input) : pulse output from a keypad

Properties
  • Use variable WP Delete Distance : If on, uses the input node rather than a static value
  • Static WP Delete Distance : Distance at which the system automatically deletes the next waypoint, if properties are set properly
  • Show tooltips : Show tooltips (Target X, Target Y, # of waypoints)

Planned Features
  • Correct the zoom indicator, it's a bit funny now
  • Add ability to hook up Radio RX components to show other ships using this controller on the map
Of course I'm open to suggestions, and please let me know what you think of my Waypoint Controller! I'd love to see some vehicles using it.
68 kommentarer
Jacco  [ophavsmand] 2. nov. 2022 kl. 13:07 
Cool! I don't think I'll work on this any more, cause I haven't looked at it in years now, sorry!
StraikeS Games TV 1. nov. 2022 kl. 15:50 
add a display of the distance to the end of the route
StraikeS Games TV 1. nov. 2022 kl. 15:48 
I use your map in my designs. I really like it
OMFGitsST6 15. dec. 2020 kl. 9:43 
Howdy, I really like this design, but I'm having some issues.

On a 2x2, it doesn't seem to read my touch coordinates correctly. The red/orange/blue "traffic light" buttons work, but the other controls do not and waypoints are placed at the wrong locations.

On a 5x3, the opposite is true. Waypoints are correct and map controls work, but the traffic light buttons don't do anything.
Jacco  [ophavsmand] 18. nov. 2020 kl. 14:39 
Oh sounds cool dude! Lmk when you're finished
esj94 17. nov. 2020 kl. 13:46 
@JACCO no problem, I guess I solved it. Just to let you know, I took part of your code to make a huge MC with GPS, AP, anti colision system, Radar and Compass all in one. I'll credit you in the WS page, when it is finished. btw. nice Controller
Jacco  [ophavsmand] 17. nov. 2020 kl. 8:21 
Wish I could tell you, last time I looked at this was over a year ago :p
esj94 17. nov. 2020 kl. 4:57 
What is oP1, oP2, and oP3 in your waypoint marker Lua code?
shark_has_crash 21. maj 2020 kl. 12:52 
thx
Jacco  [ophavsmand] 21. maj 2020 kl. 2:07 
Sure dude use whatever