Challenge

Project 2

Terminal 1

$sudo modprobe

$sudo ip link add dev vcan0

$sudo ip link set up vcan0

./controls

Terminal 2

./icsim vcan0

Terminal 3

Candump –L vcan0 > “front_door.log”

Ctrl+z once right+shift A key ispressed in controls

Log files are created front_door.log

Steps:

$wc –l front_door.log(small L)

14191

$split –l 7090 front_door.log(small L)

File name xaa and xab are created

$mv xaa xaa.log

$mv xab xab.log

$canplayer -I xaa.log

$canplayer –I xab.log

Out of these twos, only one contain the command for door open

Get that and rename as first.log

$mv xaa.log first.log

Repeat the process until that command is only line inlog file

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.