Tutorials
Tutorial 1: Getting the car running
Turn the engine on by turning the key completely to the right
On the right side of the trunk, rotate the power button to the left
Press the power button of the IPC until you hear a sound
Turn the iPad on
Wait a few minutes until you hear a short melody coming from the IPC, indicating that the boot sequence is complete
Open the DreamView app on the iPad to control Apollo
On the top right of the screen, select either "Pandora" or "RTK Record/Replay'' then "Kia Niro" and "Gloshaugen"
Press the Setup button in the bottom left part of the screen
If you are in RTK Record/Replay mode, you can then press the RTK Record Start/Stop buttons to record a trajectory. Then, RTK Replay Start to publish this trajectory as planning. Then Start Auto to let the car drive along this trajectory
Tutorial 2: Acquiring sensors data
Acquiring Pandora data from a laptop
For convenience, we recommend using an Ubuntu laptop to acquire Pandora data. On the laptop, .
Configure the Ethernet interface to be on the Pandora’s local network. You can use network-manager to setup the manual IPv4 address 192.168.20.100.
Clone, compile and run the Pandora_ros ROS node.
You can now also run the rviz command and add PointCloud and Image viewers corresponding to the topics emitted by pandora_driver to visualize the data in real-time.
To record data, open a new terminal and type:
When you are done, just use Ctrl-C and wait for it to finish filling the file in.
Note: The same principle can be used to acquire data from the VLP16, by compiling the ROS node instead of Pandora_ros.
Note: The same principle can be used to acquire data on the IPC (eg: LIDAR+GPS+Perception output etc...), by running rosbag record from inside the Apollo Docker container or by starting the Record bag module from DreamView, while the other modules are running. The Record bag module from DreamView will record all topics on an external hard disk if connected or only the important topics on the IPC if no disk is connected.
Tutorial 3: Reinstalling the IPC
Download
Flash it on a USB stick using dd or unetbootin
Reboot the IPC and while it boots, press F12
Select the USB drive “Generic Flash Disk”
Set the language to English
Set the timezone to Other, Europe, Norway
Set the locale to United States en_US.UTF-8
Don’t detect layout, select Norwegian
Set the disk to p5p1
Set the hostname to kia-niro
Set the full name to NAP Lab
Set the username to naplab
Set the password to 123456
Accept the weak password
Do not accept disk encryption
Accept the Europe/Oslo timezone
Unmount /dev/sda
Choose Guided - use entire disk
Choose /dev/nvme0n1
Accept to write changes to disk
Leave the package manager proxy blank
Select no automatic updates
Select OpenSSH server only
Install the GRUB boot loader to the master boot record
The system clock is set to UTC
Continue and remove the USB stick
Reboot the machine, connect and run the following commands:
Edit the /etc/network/interfaces file to have this content:
Wait for the IPC to reboot...
Wait for the IPC to reboot again...
Edit /etc/rc.local using nano or vi and add before before “exit 0”:
Last updated
Was this helpful?