Skip to content

Instantly share code, notes, and snippets.

View Micrified's full-sized avatar
🇫🇷
Collating...

Micrified

🇫🇷
Collating...
  • Rotterdam, Nederlands
View GitHub Profile
@Micrified
Micrified / ekg.links
Created November 11, 2019 23:58
EKG Links
@Micrified
Micrified / ros.txt
Last active November 11, 2019 13:55
ROS 2 Links and Material
1. https://index.ros.org/doc/ros2/
2. http://design.ros2.org/articles/why_ros2.html
3. https://en.wikipedia.org/wiki/Robot_Operating_System#Early_days_at_Stanford_(2007_and_earlier)
4. https://spectrum.ieee.org/automaton/robotics/robotics-software/wizards-of-ros-willow-garage-and-the-making-of-the-robot-operating-system
5. http://www.willowgarage.com/pages/about-us
6. http://www.willowgarage.com/pages/pr2/specs
7. http://design.ros2.org/articles/ros_on_dds.html
8. http://design.ros2.org/articles/changes.html
New Links

The following are things that were unclear, or difficulties I encountered using the guide.

  1. I was unsure whether the link in step (1) needed to be visited, or if the content underneath it (Setup Locale, etc) was the same stuff I'd find at the link. All I needed to do was visit to check this out, but it was still just a slight bit confusing at first.
  2. In "Setup Sources", command (1) has a duplicate sudo keyword
  3. In "Setup Sources", command (3) has unusual quotation marks and a unexpected newline if copy-pasted into the terminal. The newline goes into the created file and causes a parse error, and the quotation marks get posted literally instead of being interpreted as a command. Therefore, lsb_release -cs doesn't paste the current release name into the file, but just that literal text surrounded by the "fake" backticks.
  4. TODO

More coming ...

@Micrified
Micrified / socket_task.c
Created September 30, 2019 00:19
A task that manages sockets
#include "socket_task.h"
/*
*******************************************************************************
* Symbolic Constants *
*******************************************************************************
*/
@Micrified
Micrified / socket_task.c
Created September 28, 2019 12:43
FreeRTOS socket manager task
#include "socket_task.h"
/*
*******************************************************************************
* Symbolic Constants *
*******************************************************************************
*/
@Micrified
Micrified / log_file
Created September 24, 2019 22:18
Updated log file
This file has been truncated, but you can view the full file.
Python requirements from /Users/Owatch/Documents/Somnox/esp-idf/requirements.txt are satisfied.
Warn about uninitialized values.
-- Found Git: /usr/local/bin/git (found version "2.19.0")
-- Unexpected file in components directory: /Users/Owatch/Documents/Somnox/esp-idf/components/.DS_Store
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
@Micrified
Micrified / log_file
Created September 24, 2019 18:38
Log file created when running instruction after removing build and sdkconfig
This file has been truncated, but you can view the full file.
Python requirements from /Users/Owatch/Documents/Somnox/esp-idf/requirements.txt are satisfied.
Warn about uninitialized values.
-- Found Git: /usr/local/bin/git (found version "2.19.0")
-- Unexpected file in components directory: /Users/Owatch/Documents/Somnox/esp-idf/components/.DS_Store
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
-- Check for working C compiler: /Users/Owatch/Documents/Somnox/esp-idf/tools/tools/xtensa-esp32-elf/esp32-2019r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
@Micrified
Micrified / post.txt
Created September 17, 2019 14:05
Post-Request Example
POST /?serial=abcd1234 HTTP/1.1
User-Agent: PostmanRuntime/7.16.3
Accept: */*
Cache-Control: no-cache
Postman-Token: a70b6b26-a226-40bc-9648-c72721737938
Accept-Encoding: gzip, deflate
Referer: http://10.10.10.60:8080/?serial=abcd1234
Connection: keep-alive
@Micrified
Micrified / guide.md
Created September 14, 2019 22:26
ErleRobot Compilation Steps

ErleRobot Firmware Compilation

If I succeed in compiling this, the steps will be listed below. For your information, I'm running: MacOS El Capitan 10.11.6.

Brew Installations

The repository asks you run:

brew tap PX4/homebrew-px4
brew tap osrf/simulation
@Micrified
Micrified / ble.c
Created September 3, 2019 20:41
Bluetooth Driver Wrapper
/*
*******************************************************************************
* (C) Copyright 2019 Somnox *
* Created: 26/08/2019 *
* *
* Programmer(s): *
* - Charles Randolph *
* *
* Description: *