Code Monkey home page Code Monkey logo

social-attention-for-traffic's Introduction

COMP0124 Coursework: Efficient Social Attention for Autonomous Decision-Making in Varing Traffic Scenarios

This repository contains the source code for coursework paper: Efficient Social Attention for Autonomous Decision-Making in Varing Traffic Scenarios. Thr experiment environment is forked from: HighwayEnv and rl-agents. We modify the code to diploy our proposed method.

Authors

He Liang,   Jianheng Liu,   Yunfan Shi

Code Directory Structure

├── cw1_team_7
│   ├── include
│   │   ├── cw3_class.h -> heading file
│   ├── launch
│   │   ├── run_solution.launch -> launch file
│   ├── src
│   │   ├── cw3_class.cpp -> methods for three tasks
│   │   ├── cw3_node.cpp -> main function
│   ├── srv
│   │   ├── example.srv -> define request and return messages
│   ├── CMakeLists.txt
│   ├── package.xml

Build and Run

Build

cd comp0129_s24_labs
catkin build
source devel/setup.bash

Run
In the same Terminal

roslaunch cw3_team_7 run_solution.launch

Open another Terminal

cd comp0129_s24_labs
source devel/setup.bash
rosservice call /task <task_id>

Note: If you try to run task 3 after running task 1 and 2 consecutively, the code may get stuck somewhere with an issue

[pcl::OrganizedNeighbor::estimateProjectionMatrix] Input dataset is not organized!

If that happens, simply press 'Ctrl C' and relaunch it

roslaunch cw3_team_7 run_solution.launch

Then open another Terminal

cd comp0129_s24_labs
source devel/setup.bash
rosservice call /task 3

Then the issue should be fixed.


Task 1

Task 2

Task 3

License

Code: MIT License

social-attention-for-traffic's People

Contributors

jianheng-liu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.