Skip to content

HarderThenHarder/robomaster_s1_can_hack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DJI RoboMaster S1 ROS Bridge Package

This package contains a ROS node package and Nucleo-F767ZI firmware for controlling your RoboMaster S1 through the ROS network.

What is this?

You can control DJI RoboMaster S1 using geometry_msgs::Twist through the ROS Network. robomasters1

Preparation

You should prepare these items.

If you want to control via Wifi, please prepare these items.

PS4 Controller Key Map

  • Left Axis : Linear X and Linear Y
  • Right Axis : Gimbal Pitch and Gimbal Yaw
  • Right Axis push : Blaster
  • L2 : Enable control

How to install

Install ds4drv for PlayStation4(R) Controller

$ sudo pip install ds4drv

Install Ubuntu WiFi Access Point

$sudo apt install hostapd

$sudo vi /etc/hostapd/hostapd.conf

interface=wlp61s0

driver=nl80211

ssid=RoboMasterS1Host

hw_mode=g

channel=7

wpa=2

wpa_passphrase=robomasters1

wpa_key_mgmt=WPA-PSK

rsn_pairwise=CCMP

$ git clone --recursive https://github.com/tatsuyai713/robomaster_s1_can_hack.git

Please make symbolic link from "ros" folder to your ROS workspace.

How to make controller board

under construction...

About

DJI RoboMaster S1 CAN Hack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.4%
  • C++ 1.1%
  • Other 0.5%