Code Monkey home page Code Monkey logo

ercole_description's Introduction

ercole_description

IF ssh: connect to host 192.168.XXX.XXX port 22: Connection refused

sudo service ssh status

sudo service ssh start

Run Raspberry Pi

$ ssh [email protected]

Run Orangepi

$ ssh [email protected]

Run VPN on Raspberry PI

sudo su

cd /etc/wireguard

wg-quick up wgo

$ ssh [email protected]

$ sudo bluetoothctl

PS4, last 4-digits 1268

$ connect A0:5A:5C:B3:3A:75

$ python3 ErcoleController.py

Run RPLIDAR

$ ros2 launch rplidar_ros rplidar_a1_launch.py

on Desktop

$ ros2 launch rplidar_ros view_rplidar_a1_launch.py

$ ros2 launch ercole_bringup base.launch.py

on rover

ros2 run rplidar_ros rplidar_composition --ros-args -p serial_port:=/dev/ttyUSB0 -p frame_id:=laser_frame -p angle_compensate:=true -p scan_mode:=Standard

on desktop

ros2 launch rplidar_ros view_rplidar_a1_launch.py

For all ROS based use cases, the zuuu_hal node must be running :

ros2 run zuuu_hal hal

or

ros2 launch zuuu_hal hal.launch.py

Control with keyboard on desktop

ros2 run teleop_twist_keyboard teleop_twist_keyboard

or a joystick on orangepi

ros2 launch zuuu_hal test_joystick.launch.py

ros2 run zuuu_hal teleop_joy

Turn off Lidar Safety Mode

ros2 service call /SetZuuuSafety zuuu_interfaces/srv/SetZuuuSafety "{safety_on: False}"

Turn on Front Lights

ros2 service call /SetFrontLights zuuu_interfaces/srv/SetFrontLights "{front_lights_on: True}"

Sets a constant speed for a given duration.

Go forward

ros2 service call /SetSpeed zuuu_interfaces/srv/SetSpeed "{x_vel: 0.11, y_vel: 0.0, rot_vel: 0.0, duration: 1.1415}"

Go backward

ros2 service call /SetSpeed zuuu_interfaces/srv/SetSpeed "{x_vel: -0.11, y_vel: 0.0, rot_vel: 0.0, duration: 1.1415}"

Right turn in place

ros2 service call /SetSpeed zuuu_interfaces/srv/SetSpeed "{x_vel: 0.0, y_vel: 0.0, rot_vel: 0.5, duration: 3.1415}"

Left turn in place

ros2 service call /SetSpeed zuuu_interfaces/srv/SetSpeed "{x_vel: 0.0, y_vel: 0.0, rot_vel: -0.5, duration: 3.1415}"

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.